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
- Redoing creation of Sub Scenes and Cube GameObjects in Hierarchy throws “Assertion failed on expression: 'targetScene != nullptr’” error in Console window
- Selecting “New Sub Scene” after assigning “New Scene” in Sub Scene Script Component throws “Destroying GameObjects immediately is not permitted” in the Console window
- Shader Graph "Zoom Step Size" can be set to 0 even though the zoom still works
- Enabling/Disabling the Deprecated Nodes doesn't apply to the opened Shader Graph unless any Variable is added to the Blackboard
- Group Selection title text size is smaller in renaming than the actual font size
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