Author Topic: Third Party Character Controller error  (Read 51 times)

floatingMan

  • Newbie
  • *
  • Posts: 4
    • View Profile
Third Party Character Controller error
« on: November 07, 2020, 09:57:54 PM »
Hello its me again, ended up purchasing the asset. I have wrote my own third person controller that works fine but I get a weird error when I check the box that allows me to use it. Everything ingame seems to work fine when I have this checked (voxel highlighting, crosshair, ect) but the error below pops up when I hover over anything in the Inspector.


Code
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.EditorGUILayout.IsChildrenIncluded (UnityEditor.SerializedProperty prop) (at <4dfeb7acf9f44dd0adc2a4f68156471c>:0)
UnityEditor.EditorGUILayout.PropertyField (UnityEditor.SerializedProperty property, UnityEngine.GUILayoutOption[] options) (at <4dfeb7acf9f44dd0adc2a4f68156471c>:0)
VoxelPlay.VoxelPlayThirdPersonControllerEditor.OnInspectorGUI () (at Assets/Voxel Play/Editor/VoxelPlayThirdPersonControllerEditor.cs:58)
UnityEditor.UIElements.InspectorElement+<>c__DisplayClass58_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <4dfeb7acf9f44dd0adc2a4f68156471c>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)

Kronnect

  • Administrator
  • Hero Member
  • *****
  • Posts: 6345
    • View Profile
Re: Third Party Character Controller error
« Reply #1 on: November 08, 2020, 11:31:08 PM »
Thank you - I'll check that and get back to you. Can you specify which Unity version are you using?

floatingMan

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Third Party Character Controller error
« Reply #2 on: November 08, 2020, 11:33:27 PM »
2020.1.1f1

Kronnect

  • Administrator
  • Hero Member
  • *****
  • Posts: 6345
    • View Profile
Re: Third Party Character Controller error
« Reply #3 on: November 09, 2020, 09:13:37 AM »
Fixed in 8.2.2 (on the Asset Store).

floatingMan

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Third Party Character Controller error
« Reply #4 on: November 09, 2020, 08:50:03 PM »
The error is gone now, thank you for such quick work.