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
- Icon section shows incomplete message and unusable check box in Build Profiles and Player Settings window instead of “Not applicable for this platform” for Dedicated Server Platform
- "Editor unavailable" message is displayed when navigating to "Get set up" tab in Unity Hub
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
- [Windows] No minimum “Select” window size
Add comment