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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment