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
- UI elements become unusable due to Object and Text Fields being set to empty/"0" when clicking "Reset" on their Components
- Scene Asset is not attached to a Lighting Data Asset for a URP Package Sample Scene
- Gizmos are not rendered for the Base Camera when using Camera Stacking
- UI Mask Component does not apply correctly when Canvas Render Mode is set to Screen Space - Camera
- UI Toolkit Dropdown list elements use default color instead of USS color override when hovering mouse over them
Add comment