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

Asset - Database

-

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

  1. 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

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.