Search Issue Tracker
Fixed in 2021.3.24f1
Fixed in 2021.3.X, 2022.2.X, 2023.1.X, 2023.2.X, 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
- 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
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment