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
- The terrain appears darker when "Per-pixel Normal" is enabled
- [Linux] Editor assertion causes Test Runner to fail when executing it in Batch Mode
- Color selection by the mouse cursor is still enabled when the "Esc" button is pressed
- Game view becomes black and the Scene window becomes grey, “ArgumentOutOfRangeException” errors and “Render Pipeline error” warnings appear after changing the name or deleting URP/HDRP global settings file
- Transform Component is not accessible inside the Player when RuntimeInitializeOnLoadMethod is used
Add comment