Search Issue Tracker

Fixed in 4.5.X

Votes

0

Found in

4.6.0b3

Issue ID

592822

Regression

Yes

Unity crashes if a script containing a custom inspector class is deleted

Inspector Functionality

-

If a file containing a custom inspector class is deleted from the file system while an object in the editor is currently drawing the custom inspector (i.e. the object remains selected), then Unity will crash consistently.

To reproduce:
1. Open the attached project
2. Select the material and make sure the Inspector tab is visible
3. Open your file system and delete the material asset
4. Unity crashes

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.