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
- URP Realtime reflection probes do not update when RenderProbe() is being called once per second
- Addressable terrain shader variants are stripped from the Player
- [iOS] Debug.Log() appears as <private> in Console app
- UI stays in the background when it is disabled in simulator
- A wrong log file is attached when project is launched with a "-logFile" command line argument
Add comment