Search Issue Tracker
Duplicate
Votes
1
Found in [Package]
0.2.10-preview
Issue ID
1164144
Regression
No
[Editor] When Preference window is open, exiting Playmode generates NullReferenceException.
Github: https://github.com/Unity-Technologies/InputSystem/issues/681
Repro:
1. Download package and project at: https://github.com/Unity-Technologies/InputSystem
2. Open Preferences window (Edit -> Preferences...)
3. With the Preferences window open, enter then exit Playmode
4. Observe Console window
Actual: When Preferences window is open, exiting Playmode with ISX generates exception.
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.SettingsProvider.Repaint () (at C:/buildslave/unity/build/Editor/Mono/Settings/SettingsProvider.cs:123)
UnityEngine.InputSystem.Editor.InputSettingsProvider.OnSettingsChange () (at Packages/com.unity.inputsystem/InputSystem/Editor/Settings/InputSettingsProvider.cs:307)
UnityEngine.InputSystem.InputManager.ApplySettings () (at Packages/com.unity.inputsystem/InputSystem/InputManager.cs:2178)
UnityEngine.InputSystem.InputSettings.OnChange () (at Packages/com.unity.inputsystem/InputSystem/InputSettings.cs:301)
UnityEngine.InputSystem.InputSystem.OnPlayModeChange (UnityEditor.PlayModeStateChange change) (at Packages/com.unity.inputsystem/InputSystem/InputSystem.cs:1671)
UnityEngine.InputSystem.LowLevel.NativeInputRuntime.OnPlayModeStateChanged (UnityEditor.PlayModeStateChange value) (at Packages/com.unity.inputsystem/InputSystem/NativeInputRuntime.cs:223)
UnityEditor.EditorApplication.Internal_PlayModeStateChanged (UnityEditor.PlayModeStateChange state) (at C:/buildslave/unity/build/Editor/Mono/EditorApplication.cs:302)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Shader transparency, discard, and clip are not working when using the Player
- Error is thrown when clicking on warning in the console
- Long IL2CPP build time when project has a .ufbx library wrapper
- Cursor doesn't change to the resizing when using the Rect Tool and the Sprite is too close to the bottom of the Scene View
- InvalidOperationException exception is thrown when Editor Default Text Rendering Mode is set to "Bitmap" and Editor Font is set to "System Font" and an array is expanded in the Inspector Window
This is a duplicate of issue #1166784