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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0a1