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
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
Add comment