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
- Create Node Menu is not closing and “NullReferenceException: Object reference not set to an instance of an object” error is thrown when Shader Graph window is closed
- Assert error is thrown when the Editor language is set to one of the experimental ones in an HDRP project
- A BatchDrawCommand is using a pass from the shader “Universal Render Pipeline/Particles/Lit” that is not SRP Batcher compatible
- The Scene does not get rendered in the Player when MSAA is enabled and more than one Camera is used
- Crash on mono_object_get_class when generating Font Atlas of a specific font file
Add comment