Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug Animation Rigging One Frame Behind

Discussion in 'Animation' started by joshuacwilde, Apr 8, 2021.

  1. joshuacwilde

    joshuacwilde

    Joined:
    Feb 4, 2018
    Posts:
    725
    We have an arms rig (with an Animator component) that we are using IK (Animation Rigging Package) to keep the hands connected to a gun rig. The gun rig is being animated, and we have animation parameters that control how the gun should move. If we change the gun parameters in LateUpdate the IK works great. If we change it in Update, the IK is one frame behind. So LateUpdate works, but the problem is that it means our animator is always one frame behind as far as parameters go.

    This appears to be a bug. Is there anyone that knows more about Animation Rigging that can help? Do we need to change some priority somewhere maybe?

    Any help would be very much appreciated. We are on a tight deadline to get this solved right now
     
    WeeborWeed likes this.
  2. WeeborWeed

    WeeborWeed

    Joined:
    Aug 31, 2020
    Posts:
    6
    Same problem here, anyone resolved this yet?
     
  3. WeeborWeed

    WeeborWeed

    Joined:
    Aug 31, 2020
    Posts:
    6
    I figured it out, Calling it by fixed update solved my issue. The timeline for the updates is FixedUpdate->Update->LateUpdate