Search Issue Tracker
Not Reproducible
Votes
0
Found in
2019.2.10f1
Issue ID
1192195
Regression
Yes
Error of NullReferenceException and black screen appears when opening new project in 2019.2.10f1 version
To reproduce:
1. Create new project in 2019.2.10f1
Actual result: There is a black screen and error when project opens
Expected result: There should be no error and no black screen
Reproduced in: 2019.2.10f1
Not reproduced in: 2019.2.9f1; 2019.3.0a2
Error:
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.HostView.DeregisterSelectedPane (System.Boolean clearActualView, System.Boolean sendEvents) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:429)
UnityEditor.HostView.SetActualViewInternal (UnityEditor.EditorWindow value, System.Boolean sendEvents) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:38)
UnityEditor.HostView.set_actualView (UnityEditor.EditorWindow value) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:31)
UnityEditor.DockArea.OnEnable () (at C:/buildslave/unity/build/Editor/Mono/GUI/DockArea.cs:155)
UnityEditorInternal.InternalEditorUtility:LoadSerializedFileAndForget(String)
UnityEditor.WindowLayout:LoadDefaultWindowPreferences() (at C:/buildslave/unity/build/Editor/Mono/GUI/WindowLayout.cs:40)
Workaround: change layout of editor
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
goldgold098123
Aug 11, 2020 16:51
A debt of gratitude is in order for the workaround. Got this issue when was having NSubstitute.
https://apkgreat.com/fifa-14-apk/
MrTruth0
Jul 10, 2020 20:27
To reproduce the Bug, Use Linux (I'm using Ubuntu 20.04) and Start a new Project with URP after that, there will be the error "NullReference..." (Mine is on different Lines: https://pastebin.com/vFMPhDVG) This is a big problem btw (Sorry for my orrible english)
lPVDl
Feb 27, 2020 14:19
Thanks for workaround. Got this issue when was having NSubstitute.dll in project and package com.unity.2d.ik was loaded which refers to some unity code which also contains NSubstitute.dll