Search Issue Tracker

By Design

Votes

0

Found in

2018.4

2019.3.0f1

2020.2

Issue ID

1220865

Regression

No

AnimationStream returns a value only when using the first initialized PropertyStreamHandle

Animation

-

How to reproduce:
1. Open the attached project's Scene labeled "SampleScene"
2. Enter the Play Mode
3. In the Console Window, inspect the "RightFootIK" and "LeftFootIK" values

Expected result: Both values are changing
Actual result: Only the first initialized PropertyStreamHandle returns a changing value

Reproducible with: 2018.4.18f1, 2019.3.4f1, 2020.1.0a25, 2020.2.0a1
Couldn't test with: 2017.4.37f1 (Package Manager does not exist)

  1. Resolution Note:

    This is the expected behaviour of this setup. There are some things that can be changed in the sample code to make it work:

    1) Construct a single chain of playable that connects the clip to each animated property playable in turn, then connect to a single output.
    2) If multiple outputs are desired, you can use the experimental API to force the previous output to be used as input to the next. See https://docs.unity3d.com/ScriptReference/Experimental.Animations.AnimationPlayableOutputExtensions.SetAnimationStreamSource.html

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.