Search Issue Tracker
Not Reproducible
Votes
0
Found in
2019.3.0a1
2019.3.0b1
2020.1.0a1
Issue ID
1180044
Regression
No
Cannot read non-solved IK position when using GetGoalPosition
How to reproduce:
1. Open the user's project
2. Press Play
Expected result: Ray is drawn where the foot would be if an animation was enabled
Actual result: Ray is drawn at the same spot where the foot is
Reproducible with - 2019.3.0b7, 2020.1.0a9
Could not test with - 2019.2.10f1 and earlier (Playable Graph errors)
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
- [Linux] Cannot reorder GameObjects in the Hierarchy when the AI Assistant package is installed
- [iOS] Text Input field stops receiving changes when the "Cancel" button is used on the soft keyboard
- [WebGPU] URP RenderGraph RenderPass doesn't clear textures
- Query Builder items display raw code style names instead of human readable labels in search field
- “+” button does nothing and has no functionality when clicked in Human Template "Bone Template" list
Resolution Note (2019.3.X):
I can't repro the bug locally as I don't have the tools (blender) to import the project.
The only place valid to call an IK method is from OnAnimatorIK/OnStateIK or from an animation job.
In OnAnimatorIK if all your states don't have foot IK enabled or all yours AnimationClipPlayable doesn't set ApplyFootIK or ApplyPlayableIK On you should be able to retrieve the goals.
You can also get them from an animation job ProcessAnimation method. Of course, this job needs to be connected as an output of a ClipPlayable to get the non-solved IK goal position.
You can also get them from an animation job ProcessAnimation method. Of course, this job needs to be connected as an output of a ClipPlayable to get the non-solved IK goal position.