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
- Inconsistent behaviour when interacting with different dropdown types with pointer events on parent Visual Element
- Hidden GameObjects won't re-enable when they have call "DontDestroyOnLoad" function
- Overlay Canvas are rendered on each split-screen camera when HDR is enabled
- [Android] The Player loses focus when using UnityEngine.Handheld.StartActivityIndicator() with Facebook SDK
- Build fails with "Building Library/Bee/artifacts/MacStandalonePlayerBuildProgram/gahcy/hj9mx3z/951.0 failed with output:..." errors when Scripting Backend is set to IL2CPP
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