Search Issue Tracker
Fixed in 2018.1.X
Fixed in 2017.3.X
Votes
0
Found in
2017.3.0b11
2018.1.0a2
Issue ID
962075
Regression
Yes
[MacOS] Null Reference Exception with the DockArea OldOnGUI
By Clicking on Play Button in the Editor with "Maximise On Play" Mode ON got the following Exception in the Console window.
Steps:
1. Create a new Project in Unity3D
2. Click on "Maximise On Play" button in "Game View"
3. Click on "Play" The Exception will be displayed in the Console Window.
OR
1. Create a new Project in Unity3D or launch Unity using '-force-opengl'
2. Download and Import the "Sample UI " asset from the Asset Store (the same applies to any asset imported from the Asset Store).
3. Open "Controls" Scene
4. Make sure the Asset Store window has been opened/focused once.
5. Click on "Maximise On Play" button in "Game View"
6. Click on "Play"
The Exception will be displayed in the Console Window.
STACK TRACE:
<pre>
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.DockArea.OldOnGUI () (at /Users/jonathans/work/bugfix/Editor/Mono/GUI/DockArea.cs:307)
UnityEngine.Experimental.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt) (at /Users/jonathans/work/bugfix/Modules/UIElements/IMGUIContainer.cs:186)
UnityEditor.WebView:DestroyWebView()
UnityEditor.WebView:OnDestroy() (at /Users/jonathans/work/bugfix/artifacts/generated/common/editor/WebViewBindings.gen.cs:29)
UnityEngine.Object:DestroyImmediate(Object, Boolean)
UnityEngine.Object:DestroyImmediate(Object) (at /Users/jonathans/work/bugfix/artifacts/generated/common/runtime/UnityEngineObjectBindings.gen.cs:92)
UnityEditor.AssetStoreWindow:OnDestroy() (at /Users/jonathans/work/bugfix/Editor/Mono/AssetStore/AssetStoreWindow.cs:211)
UnityEngine.Object:DestroyImmediate(Object, Boolean)
UnityEditor.DockArea:OnDestroy() (at /Users/jonathans/work/bugfix/Editor/Mono/GUI/DockArea.cs:90)
UnityEngine.Object:DestroyImmediate(Object, Boolean)
UnityEditor.View:OnDestroy() (at /Users/jonathans/work/bugfix/Editor/Mono/View.cs:185)
UnityEngine.Object:DestroyImmediate(Object, Boolean)
UnityEditor.View:OnDestroy() (at /Users/jonathans/work/bugfix/Editor/Mono/View.cs:185)
UnityEngine.Object:DestroyImmediate(Object, Boolean)
UnityEditor.View:OnDestroy() (at /Users/jonathans/work/bugfix/Editor/Mono/View.cs:185)
UnityEngine.Object:DestroyImmediate(Object, Boolean)
UnityEditor.WindowLayout:MaximizePrepare(EditorWindow) (at /Users/jonathans/work/bugfix/Editor/Mono/GUI/WindowLayout.cs:445)
UnityEditor.EditorApplicationLayout:InitPlaymodeLayout() (at /Users/jonathans/work/bugfix/Editor/Mono/GUI/EditorApplicationLayout.cs:60)
</pre>
Reproducible on :
Unity 2017.3.0f1, Unity 2017.3.0b11, Unity 2018.1.0a1, Unity 2018.1.0a2, Unity 2018.1.0a3,Unity 2018.1.0a4,Unity 2018.1.0a5.
Not Reproducible on :
Unity 2018.1.0a6, Unity 2017.3.0b10
Environment Details.
OS : Mac OSX (10.12)
Unity Version : Unity 2017.3.0f1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on nvoglv64.dll when opening a project
- [RenderGraph] [CameraStacking] Passes are failing when CameraStacking and RG are enabled
- Physics and Raycast have different behavior when enum is exposed in the Editor
- TextField's text is mixed up and overlapping when "Noto Sans-Display" font is used
- TutorialManager Warnings are thrown when creating Test Track, LEGO or 2D Platform microgame template projects
Add comment