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
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)
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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
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