Search Issue Tracker
Not Reproducible
Votes
0
Found in
3.5.2f2
Issue ID
469840
Regression
No
Component is destroyed before deleting a CustomInspector
Steps to reproduce :
- download the unity package from the link provided
- import the package
- create a new scene and add a cube
- on the cube add the script playhavenmanager
- remove the script from the cube and notice that Unity crashes
----
OnDisable/Destroy are dangerous in CustomInspector, because the object being edited is already destroyed.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- The Scene View becomes gray and "NullReferenceException" errors are thrown when attaching the Unity Editor process to RenderDoc
- Memory usage rapidly rises when changing colors in the color wheel
- Physically Based Sky's Horizon and Zenith Tint Color Selection Bars don't have immediate access to color pickers
- EmptyAdditionalLightShadowmapTexture leaks from memory when URP quality level is changed using QualitySettings.SetQualityLevel
- Referenced ScriptableObject field does not get updated and cannot be set to "None" when there are no Objects of that type
Add comment