- Home /
Problem with Animator.playableGraph
Hi, I tried to follow the manual: https://docs.unity3d.com/Manual/Playables-Examples.html and to test GraphVisualizer: https://github.com/Unity-Technologies/graph-visualizer , but I found the graph showed in the visualizer is not as what showed in the manual.
After further digging, I noticed that even after this line: var playableOutput = AnimationPlayableOutput.Create(playableGraph, "Animation", GetComponent()); , the value of the property playableGraph of the animator is not equal to the local variable playableGraph. And since the visualizer was getting the playableGraph from the Animator instances it scanned in the scene, the graph it showed was just not the one we created in the script.
It seems the root cause is in the implementation of AnimationPlayableOutput.Create() which doesn't set the graph to the playableGraph property of the animator.
Is it really a bug or maybe I just misunderstand the relationship between Animator and PlayableGraph?
Thanks.
Your answer
Follow this Question
Related Questions
Blender Walk Cycle in Unity not going down slope? 0 Answers
Using a sprite sheet in a 3d enviroment? 0 Answers
Interaction with object after animation 0 Answers
In Profiler: What is "Animator.SendTransformChanged" 0 Answers
2D Animation does not start 1 Answer