Search Issue Tracker
Fixed in 2021.2.X
Fixed in 2020.3.X, 2021.1.X
Votes
1
Found in
2019.2.1f1
2019.3
2019.3.13f1
2020.1
2020.2
Issue ID
1246450
Regression
Yes
Reference to Animation is lost when ModelImporter.clipAnimations is set from Script for the first time after importing a model
How to reproduce:
1. Open the "SetAnimEventTest" project
2. Open "TestAnimCtrl" Animator Controller from the Assets folder
3. Select "Test" State of the Animator Controller in the Animator window
4. Press "Test" > "Open Window" in the menu bar
5. Press the "Start" button in the "Animation Clip Event Editor" window
Expected result: Motion of the "Test" State remains "idle" Animation Clip
Actual result: Motion of the "Test" State is lost and resets to None
Reproducible with: 2019.2.1f1, 2019.2.21f1, 2019.3.23f1, 2020.1.0b9, 2020.2.0a12
Not reproducible with: 2018.4.23f1, 2019.2.0f1
Notes:
-This issue occurs only when setting the clipAnimations for the first time after importing the model, on further iterations of the Script, Animation IDs don't change and references are kept.
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
- [Linux] Player consumes more CPU resources when it is running in the background
- Save process is triggered every time when prefab property values are changed by dragging
- Physics.SphereCastNonAlloc is slow when the results array is large
- Colors of GameObject are changed and the background color is green when disabling the “Intensity” of “Bloom” in “Global Volume” GameObject and enabling the “Allow Dynamic Resolution” setting in Camera
- .editorconfig files are ignored when a Roslyn analyzer is running through the Editor
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0a15
Resolution Note (fix version 2021.1):
Fixed in 2021.1.8f1
Resolution Note (fix version 2020.3):
Fixed in 2020.3.10f1