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

Inspector Functionality

-

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

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.