Search Issue Tracker
Won't Fix
Votes
1
Found in
2020.2.0a10
2020.3
2021.1
2021.2
2021.2.0a18
Issue ID
1335691
Regression
No
Editor crashes when executing Undo action after Audio Source component is added to Prefab
Reproduction steps:
1. Open the attached project ("1335691R.zip")
2. Open the "Cube" prefab
3. Add Audio Source component to prefab
4. Execute undo action (CTRL + Z)
-- Observe the crash
Reproducible with: 2020.2.0a10, 2020.3.9f1, 2021.1.8f1, 2021.2.0a18
Not reproducible with: 2018.4.34f1, 2019.4.26f1, 2020.2.0a9
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Action can't be undone after changing the base Controller on the Animator Controller
- The Axes Gizmo is wiggling around when moving around the Scene View with enabled Physical Camera and Isometric View
- The script can be dragged and dropped before it is compiled
- Double clicking script field no longer opens it in the external script editor
- [Android] Build fails with built-in PAD custom asset(s) when using sample Addressable
Resolution Note:
The user is using Undo API in an Asset Postprocessor which has undefined behavior. Fixing this would require us to block the Undo API from Asset Postprocessors but this is currently not supported by the Editor