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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
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