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
- VFX Graph particles are not culled when using URP and Frustum Culling is enabled on VFX Mesh Output
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0a1