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
- Prefab override popup is cropped/positioned incorrectly when more than one display is used and a higher display Scale is set
- Opening a dropdown on a small screen results in its instant closing when mouse cursor is pressed where the dropdown is going to be opened
- Only "ArgumentNullException: Value cannot be null" is displayed instead of all the actual errors when opening a project with numerous compilation errors
- MultiColumnListView and MultiColumnTreeView do not change selection on first input when focus is set by code
- SerializedProperty.DataEquals is returning false when SerializedProperty.EqualContents return true
This is a duplicate of issue #1166784