Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

Bug animator with nested character handles root motion from child causing it to offset the child

Discussion in 'Timeline' started by LezCT, Apr 12, 2021.

  1. LezCT

    LezCT

    Joined:
    Nov 15, 2014
    Posts:
    55
    I set up characters by parenting the character to the main controller - the root,
    then move the child character's animator component to the root.

    if I try to use animations with root motion on the timeline, the child character's local position will offset based on the root motion's delta position. But the real root is moving normally.

    This character structure works perfectly on 2018.3.x versions but broken from 2019.x up to the latest version 2021.1.2f1.

    I also already reported the bug months prior, but the support emailed me that this is a duplicate bug and apparently already marked it as "solved" on the issue tracker.
    Unity Issue Tracker - Nested Avatar teleports when moving it in the Timeline (unity3d.com)
    Unity Issue Tracker - GameObject position changes during transitions in Timeline preview (unity3d.com)

    update:
    I used position constraint to avoid the child character from offsetting it's local position; while i found a workaround to keep the child's local position to zero, i still think it's a bug that needs to be fixed.
     
    Last edited: Apr 12, 2021