II just started Unity and my English is not very good. Sorry about that. Although I do everything according to Unity’s tutorials. After writing the code in Visual Studio, it gives this error when I press the play button in Unity. And it doesn’t run the code I wrote. How do I fix this and what’s the problem? I get an error like this:
NullReferenceException: SerializedObject of SerializedProperty has been Disposed.
UnityEditor.SerializedProperty.set_objectReferenceValue (UnityEngine.Object value) (at :0)
UnityEngine.InputSystem.Editor.PlayerInputEditor+<>c__DisplayClass6_0.b__0 () (at Library/PackageCache/com.unity.inputsystem@1.0.1/InputSystem/Plugins/PlayerInput/PlayerInputEditor.cs:285)
UnityEditor.EditorApplication.Internal_CallDelayFunctions () (at :0)