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
- “FocusController has unprocessed focus events.” warnings are thrown after adding iOS, tvOS or visionOS Build Profiles
- Holes and different colors appear on default Tree Materials after applying them to the Tree GameObject and undoing changes
- Error indicating that the Text Asset Importer hasn't been disposed properly is logged when switching Importer Type in a Focused Inspector
- Documentation installation shows "Install failed: Validation Failed" when installing Android Build Support module
- Error indicating that the Package Manifest Importer hasn't been disposed properly is logged when switching Importer Type in a Focused Inspector
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