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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0a1