Search Issue Tracker
Fixed in 5.0.1
Votes
0
Found in
5.0.0f4
Issue ID
681486
Regression
Yes
[DestroyImmediate] Deleting scripts from editor code crashes the editor
Steps to reproduce this issue:
1. Open the attached project
2. Open scene Main
3. Add a second CrashTest script to Main Camera
4. Notice the Editor crashes
There is CrashTestEditor script, deletes any instances of 'CrashTest' after the first one found.
Worked as expected in 4.6
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Error when adding valid MonoBehaviour script to Prefab in Project window
- Editor Launch Screen will close when Enter is pressed on it
- ObjectPool's pool is destroyed when entering Play Mode without reloading Domain
- [Android] Permission window is not shown when using a Build App Bundle (Google Play) with Minify set to Release
- NullReferenceException errors appear in the Console and Inspector window turns black when dragging .cs and .uxml files to another directory
Add comment