Search Issue Tracker
Duplicate
Votes
0
Found in
Issue ID
852522
Regression
Yes
NullReferenceException when un-docking preview window
Un-docking (RMB-click on previewer bar) generates an error in the console...
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.PreviewWindow.CreateTracker () (at /Users/builduser/buildslave/unity/build/Editor/Mono/Inspector/PreviewWindow.cs:31)
UnityEditor.InspectorWindow.OnEnable () (at /Users/builduser/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:108)
UnityEditor.PreviewWindow.OnEnable () (at /Users/builduser/buildslave/unity/build/Editor/Mono/Inspector/PreviewWindow.cs:18)
UnityEditor.DockArea:OnGUI()
repro1:
-add attached or any fbx with a model and/or animation to your project
-select fbx and in the Inspector, RMB-click the preview bar to un-dock preview window... error.
repro2:
-RMB-click in the Hierarchy and create a Particle System
-in the Inspector, click the pull-down arrow of the Start Lifetime and select Curve
(curve should be visible at the bottom of the Inspector)
-RMB-click the preview bar to un-dock preview window... error.
this is a regression from 5.5.0b7 (bd91e53964bc)
bug appeared in 5.5.0b8 (dfbb819d6cdb)
Add comment
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
This is a duplicate of issue #846156