Search Issue Tracker
Fixed in 2022.1.X
Votes
0
Found in
2021.2
2021.2.5f1
Issue ID
1387563
Regression
No
Crash when undoing changes made by a custom asset
Reproduction steps:
1. Open the user's attached project
2. Select all the 'tree' children from the 'Test 7 -> Trees' GameObject
3. Tap tilde (~) to open up the MonKey console
4. Type in 'SC' and press Enter twice
5. Tap tilde to open up the MonKey console again
6. Type in 'RS' and press Enter
7. In the opened menu, type in and select 'Beautiful Tree' and tap Enter until the menu is closed
8. Undo changes with CTRL + Z
Expected result: The changes are undone
Actual result: The Editor crashes
Reproducible with: 2021.2.8f1
Not reproducible with: 2022.1.0a1, 2022.2.0a2
Couldn't test with: 2019.4.34f1, 2020.3.26f1 (Downgrading issues, the MonKey menu doesn't work)
Notes:
1. If the GameObjects do not get replaced after the 7th step, redo the process from step 2
2. Errors thrown before the crash:
Transform has 'gColliderHierarchyChangeHandle' hierarchy interests present when destroying the hierarchy. Interests must be deregistered in Deactivate.
Transform has 'gColliderChangeHandle_S|gColliderChangeHandle_TR' change interests present when destroying the hierarchy. Interests must be deregistered in
Deactivate.
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 Graph Asset icon is not shown on creation unless you confirm the name
- APV Sky occlusion doesn't consider the terrain
- [iOS] "EXC_BAD_ACCESS" Player crash when Script Debugging is enabled
- Cursor skips input fields when tabbing between two sets of input fields
- "Shader error redefinition of 'Varyings'" error appears when selecting the shader
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0a1