Search Issue Tracker

Not Reproducible

Votes

0

Found in

3.5.2f2

Issue ID

469840

Regression

No

Component is destroyed before deleting a CustomInspector

Inspector Functionality

-

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.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.