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
- Errors “RenderPass: Attachment 0 is declared as depth attachment but RGBA8 sRGB is not a valid depth format.“ and “BeginSubPass: Not inside a Renderpass“ are present when using Native RenderPass with a RenderTexture that only has depth output
- ArgumentOutOfRangeException is thrown when an empty DropdownField is clicked at runtime
- [tvOS] "EXC_BAD_ACCESS" error is thrown when Painter2D.ClosePath is called
- Bad Naming Convention in Shortcuts Window for Sprite Shape Editing
- Bad Naming Convention in Shortcuts Window for Shader Graph
Add comment