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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
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.