Search Issue Tracker
Fixed in 2021.2.X
Fixed in 2019.4.X, 2020.3.X, 2021.1.X
Votes
0
Found in
2018.4
2019.4
2019.4.13f1
2020.1
2020.2
2021.1
2021.2
Issue ID
1304259
Regression
No
[Playable] AnimationClipPlayable's speed parameter can't be adjusted when setting speed with AnimatorControllerPlayable SetSpeed
How to reproduce:
1. Open the user's attached "960418-2019.4.13f1.zip" project
2. Open the "SampleScene" Scene
3. Enter Play Mode
4. Press the "SetSpeed(0.1)" button in the Game view
5. Observe the Game view
Expected result: 0.1 speed is applied to both the "Cube" and the "Capsule" GameObjects
Actual result: 0.1 speed is applied only to the "Capsule" GameObject
Reproducible with: 2018.4.30f1, 2019.4.18f1, 2020.1.17f1, 2020.2.2f1, 2021.1.0b2, 2021.2.0a1
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
- Crash on PrepareDrawShadowsCommandStep1 when entering the Play Mode in a specific project
- Physics Layer Collision Matrix's Layer names, checkboxes and hover highlights become misaligned when the Editor's UI Scaling gets changed
- Light/shadow information on an edge of a Terrain tile creates a seam with an adjacent Terrain tile when baking a LightMap
- "Missing types referenced from component UniversalRenderPipelineGlobalSettings on game object UniversalRenderPipelineGlobalSettings..." warning is thrown after switching the Platform to tvOS
- “Metal: Error creating pipeline state (Universal Render Pipeline/2D/Sprite-Lit-Default): Vertex attribute BLENDINDICES0(5) of type uint4 cannot be read using MTLAttributeFormatFloat2 (null)“ when setting GPU Skinning to GPU after opening the project
Resolution Note (fix version 2021.2):
More info on the case to avoid confusion as to why the bug reported is not a bug, but that there was still a bug fixed.
The expected result should not be that the cube has its speed changed. The reason being that the SetSpeed function is applied to a different playable graph than the cube animator graph. It is only applied to the cylinder playable graph.
There was a bug, just not the one reported in the steps. Applying a set speed to the animator controller playable should affect the speed of the animation clip, which is not the case in our current build. This can be seen by changing the weight in the script component of the cylinder. When having a weight of 1, meaning the animator controller is used, applying a speed does nothing. This was fixed.
Another info : We cannot apply a speed modifier to any child of the animator controller. They will just be ignored. The speed can only be applied to the animator controller playable.
Resolution Note (fix version 2021.1):
Fixed in: 2021.1.0b8
Resolution Note (fix version 2020.3):
Fixed in: 2020.3.4f1
Resolution Note (fix version 2019.4):
Fixed in: 2019.4.21f1