Search Issue Tracker
Fixed in 2017.2.0f3
Votes
0
Found in
2017.1.0f3
Issue ID
931885
Regression
Yes
UIElements exceptions after upgrade from Unity 5.6 to Unity 2017.1 and black editor windows as a result
- Download the Inventory Pro (by DevDog) package from the Asset Store in Unity 5.6 (you will see a pop-up window with some information about this package, don't close this window)
- Close the project and reopen it in Unity 2017.1 to force an update
- Find any script in the project, right click on it in the Project Browser and select Reimport to force a script recompilation
Actual: the pop-up window renders all black and the following exception is printed in the console:
```NullReferenceException: Object reference not set to an instance of an object
at UnityEngine.Experimental.UIElements.VisualContainer.LoadStyleSheetsFromPaths () [0x00074] in C:\buildslave\unity\build\Runtime\UIElements\Managed\VisualContainer.cs:302
at UnityEditor.GUIView.get_panel () [0x0008b] in C:\buildslave\unity\build\Editor\Mono\GUIView.cs:43
at UnityEditor.GUIView.get_visualTree () [0x00002] in C:\buildslave\unity\build\Editor\Mono\GUIView.cs:53
at UnityEditor.DockArea.OnEnable () [0x0009c] in C:\buildslave\unity\build\Editor\Mono\GUI\DockArea.cs:120 ```
Expected: no errors and all editor windows still render correctly
This is a regression introduced in Unity 2017.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
- 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
jessejarvis
Aug 04, 2017 17:45
I have the same problem with QuestSystemPro from the Asset Store.
kblood
Jul 25, 2017 20:53
A Fix is in review? So next Unity 2017 editor update this will likely be fixed?
It is pretty annoying as I cannot find any way of closing these black editor windows. I can only move them around a bit by resizing them.