Search Issue Tracker
Fixed in 5.5.0
Votes
0
Found in
5.5.0b8
Issue ID
846156
Regression
Yes
Right-clicking on preview window's header to undock it throws NulllReferenceException
Steps to reprorduce:
1. Open attached project "846156.zip"
2. Open scene "repro"
3. In hierarchy, select "Cube" and double click on its mesh field to preview mesh
4. Right click on preview window's header to undock it
5. Window is undocked but additionally NullReferenceException is thrown
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.PreviewWindow.CreateTracker () (at C:/buildslave/unity/build/Editor/Mono/Inspector/PreviewWindow.cs:31)
UnityEditor.InspectorWindow.OnEnable () (at C:/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:108)
UnityEditor.PreviewWindow.OnEnable () (at C:/buildslave/unity/build/Editor/Mono/Inspector/PreviewWindow.cs:18)
UnityEditor.DockArea:OnGUI()
Reproduced with: 5.5.0b8, 5.5.0b11
Not reproducible: 5.4.2p4, 5.5.0b7
Regression introduced in: 5.5.0b8
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Enabling “Editor Extension Authoring” in UI Builder doesn’t dirty the document and saving with shortcut doesn’t persist the state
- WebRequest.Create() function fails with "URI prefix is not recognized" errors when the project is built for Linux Standalone or Windows Dedicated Server
- “GUIStyle” and “NullReferenceException” errors thrown in the Console when opening Object Field during script compilation
- Reflections are visible on objects without Recursive Rendering when viewed through transparent parts of another object with Recursive Rendering and Alpha Clipping enabled
- Visual artifacts appear when using "clip" method in custom shader and running on GLES
Add comment