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
- Foldout arrow indent is misaligned in the Inspector when used in Custom Type
- [Android] The Player screen turns black when playing a video under certain conditions
- Search window icons at the bottom are cut off when Search window is resized vertically
- "Try something else?" text label is cut off when searching for a long text in the Search window
- Rendering Debugger window sections do not have a minimum width set when resizing with the slider in the middle of the window
This is a duplicate of issue #1166784