Search Issue Tracker

Fixed in 5.5.1

Votes

0

Found in

5.5.0f3

Issue ID

857037

Regression

Yes

NullRefException when undocking Asset Preview window from Inspector

Inspector Functionality

-

Right click on the Asset Preview window in the Inspector to have it undocked. The following error message is printed in the Console:
"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()"

This does not happen in Unity 5.4, so it's a regression introduced in Unity 5.5

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.