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
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
Add comment