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
- Editor crashes when starting a new game session using Direct3D12 Graphics API
- Play on awake does not work with an audio random container when instantiating a game object
- Play on awake does not work with an audio random container when loading a scene
- Prefab components are not rendered correctly in the Inspector Window when "HideFlags.HideInInspector" is used
- The "Editor.CreateInspectorGUI" method is being called twice when the Console and the Inspector windows are in the same panel
This is a duplicate of issue #846156