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
- UI Toolkit 'background-size' property is not fully animatable
- Moving the Scrollbar via clicking no longer works after the first-click when page size is too small
- Elements in UI Builder Viewport are displayed incorrectly when Editor UI Scaling is set to 125%
- Prefab referencing a script is not shown in the Search window's Project tab when using "Find References In Project"
- Scroll view sensitivity remains unchanged when modifying the "--unity-metrics-single_line-height" value
This is a duplicate of issue #1166784