Search Issue Tracker
Fixed
Fixed in 2021.3.24f1, 2022.2.18f1, 2023.1.0b15, 2023.2.0a17
Votes
0
Found in
2021.3.16f1
2022.1.24f1
2022.2.2f1
2023.1.0a24
2023.2.0a12
Issue ID
UUM-21916
Regression
Yes
Crash on SerializeObjectAndAddToRecording when adding animation to object without animator
Reproduction steps:
1. Open the attached project “CrashRepro“
2. Open “Scenes/SampleScene.unity“ Scene
3. Select “Cube“ Prefab in the Project window
4. Remove the Animator Component in the Inspector window
5. Drag “Anima“ Animation into the Inspector
Expected result: Animation Component gets added
Actual result: Editor crashes
Reproducible with: 2021.2.0b12, 2021.2.19f1, 2021.3.16f1, 2022.1.0a4, 2022.1.24f1, 2022.2.2f1, 2023.1.0a24
Not reproducible with: 2020.3.42f1, 2021.2.0b11, 2022.1.0a1, 2022.1.0a3
Reproducible on: Windows 10
First lines of the stack trace:
0x00007ff656ee603a (Unity) SerializeObjectAndAddToRecording
0x00007ff656eead6f (Unity) PropertyUndoManager::RecordObjects
0x00007ff656eeb006 (Unity) RecordUndoDiff
0x00007ff656a1f9e9 (Unity) HandleAnimationClipOnAnimator
0x00007ff656a1fdb8 (Unity) HandleAnimationOnGameObject
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
Add comment