Search Issue Tracker
Fixed in 2020.1.X
Votes
0
Found in
2019.3.0b2
2019.3.0b7
2020.1.0a2
Issue ID
1192459
Regression
Yes
[IMGUI] NullReferenceException error is thrown on opening the Player Settings window
NullReferenceException error is thrown on opening the Player Settings window.
Steps to repro:
1. Create a new Project.
2. File > Build Settings > Player Settings.
Actual Result:
NullReferenceException error is thrown in the console.
Expected Result:
No error in the console.
Reproducible on:
2020.1.0a9, 2020.1.0a2, 2019.3.0b7.
Working Fine in:
2020.1.0a1, 2019.3.0b1.
Environment:
Only on Windows 10.
Stack trace:
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.EditorGUI.HasKeyboardFocus (System.Int32 controlID) (at <2a08bc3d8f9c4796ba99475f6f6c6a6b>:0)
UnityEditor.EditorGUI.DoTextField (UnityEditor.EditorGUI+RecycledTextEditor editor, System.Int32 id, UnityEngine.Rect position, System.String text, UnityEngine.GUIStyle style, System.String allowedletters, System.Boolean& changed, System.Boolean reset, System.Boolean multiline, System.Boolean passwordField) (at <2a08bc3d8f9c4796ba99475f6f6c6a6b>:0)
UnityEditor.EditorGUI.ToolbarSearchField (System.Int32 id, UnityEngine.Rect position, System.String text, System.Boolean showWithPopupArrow) (at <2a08bc3d8f9c4796ba99475f6f6c6a6b>:0)
UnityEditor.EditorGUI.ToolbarSearchField (System.Int32 id, UnityEngine.Rect position, System.String[] searchModes, System.Int32& searchMode, System.String text) (at <2a08bc3d8f9c4796ba99475f6f6c6a6b>:0)
UnityEditor.EditorGUI.ToolbarSearchField (UnityEngine.Rect position, System.String[] searchModes, System.Int32& searchMode, System.String text) (at <2a08bc3d8f9c4796ba99475f6f6c6a6b>:0)
UnityEditor.EditorGUILayout.ToolbarSearchField (System.String text, UnityEngine.GUILayoutOption[] options) (at <2a08bc3d8f9c4796ba99475f6f6c6a6b>:0)
UnityEditor.SettingsWindow.DrawToolbar () (at <2a08bc3d8f9c4796ba99475f6f6c6a6b>:0)
UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Boolean eventIsPropagatedFromNonFocusableVisualElement) (at <f1698e07cca745e5a5c14af33687b6fc>:0)
UnityEditor.UIElements.Tooltip:SetTooltip(Single, Single)
Comments (1)
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
- ProBuilder Tool item appears twice in the overlay when editing in Vertex/Edge/Face context
- Error “Unable to add Renderer to the Scene after Culling.“ is present when Non-draw instanced Terrain is rendering in a camera within the rendering callbacks of another camera in Built-In Render Pipeline
- UGUI Pointer Enter/Exit does not always trigger when hovering quickly over it
- Longer Add Component submenu labels obscure UI and are not truncated
- Scripts submenu of the Add Component Menu can be scrolled horizontally
adifrank
Nov 28, 2019 09:11
Scope was not disposed! You should use the 'using' keyword or manually call Dispose.
UnityEngine.Scope:Finalize() (at C:/buildslave/unity/build/Modules/IMGUI/GUI.cs:1704)