Search Issue Tracker
Fixed in 2020.1.X
Votes
0
Found in
2020.1.0a10
Issue ID
1193020
Regression
Yes
[IMGUI] NullReferenceException error is thrown on changing layout to saved layout where the Package Manager window is docked
NullReferenceException error is thrown on changing layout to saved layout where the Package Manager window is docked.
Steps to repro:
1. Create a new Project.
2. Windows > Package Manager > Dock it.
3. Save the layout as "PackmanLayout".
4. Change layout to any other layout.
5. Change layout to "PackmanLayout".
Actual Result:
NullReferenceException error in the console.
Expected Result:
No error in the console.
Reproducible on:
2020.1.0a10 (deed8847c343).
Working Fine in:
2020.1.0a9, 2019.3.0b8.
Environment:
Windows 10 & Mac 10.14.
Stack trace:
NullReferenceException:Object reference not set to an instance of an object
UnityEditor.DockArea:OnEnable()
UnityEditorInternal.InternalEditorUtility:LoadSerializedFileAndForget(String)
UnityEditor.<>c__DisplayClass34_0:<ReloadWindowLayoutMenu>b__2()
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Multiple exceptions are thrown after exiting Play mode when Layout Group component is displayed in Debug Inspector and Padding section is expanded
- ScrollView elements are not restored to their original positions after removing a Layout Group with Undo action
- "Assembly with name already exists" errors are thrown when two packages with different technical names resolve to the same namespace
- A Select Scene Entry is added to Undo History when Deleting while a Scene is selected in the Hierarchy
- The Add Component Menu's back arrow accumulates phantom levels when the Menu is repeatedly opened into a Category and closed without selecting
Add comment