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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
This is a duplicate of issue #846156