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
- A script cannot be attached to a GameObject when there is another script that is generic with the same name in a different folder
- Scene View drop-down fields reopen when clicking them again to close it
- Crash on UnityEngine.Rendering.RenderPipelineAsset:InternalCreatePipeline when opening a specific project
- [STW 6.1] UI Builder Inspector fields get corrupted when docked UI Builder is maximized
- Pickers and ‘+'/’-' buttons are not visible on the right side of parameter fields when the width of the "Project Settings... -> Quality" window is small
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