Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Bug Animation Rigging is not working

Discussion in 'Animation' started by Nikunj_Goyal, May 12, 2021.

  1. Nikunj_Goyal

    Nikunj_Goyal

    Joined:
    Jan 21, 2021
    Posts:
    6
    When I click play, Console shows this error:

    InvalidOperationException: The TransformStreamHandle cannot be resolved.
    UnityEngine.Animations.TransformStreamHandle.CheckIsValidAndResolve (UnityEngine.Animations.AnimationStream& stream) (at <ad0a7939819048a0a161f66558c98867>:0)
    UnityEngine.Animations.TransformStreamHandle.SetLocalTRS (UnityEngine.Animations.AnimationStream stream, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation, UnityEngine.Vector3 scale, System.Boolean useMask) (at <ad0a7939819048a0a161f66558c98867>:0)
    UnityEngine.Animations.Rigging.RigSyncSceneToStreamJob+TransformSyncer.Sync (UnityEngine.Animations.AnimationStream& stream) (at Library/PackageCache/com.unity.animation.rigging@1.0.3/Runtime/AnimationJobs/RigSyncSceneToStreamJob.cs:49)
    UnityEngine.Animations.Rigging.RigSyncSceneToStreamJob.ProcessAnimation (UnityEngine.Animations.AnimationStream stream) (at Library/PackageCache/com.unity.animation.rigging@1.0.3/Runtime/AnimationJobs/RigSyncSceneToStreamJob.cs:117)
    UnityEngine.Animations.ProcessAnimationJobStruct`1[T].Execute (T& data, System.IntPtr animationStreamPtr, System.IntPtr methodIndex, Unity.Jobs.LowLevel.Unsafe.JobRanges& ranges, System.Int32 jobIndex) (at <ad0a7939819048a0a161f66558c98867>:0)
    UnityEngine.GUIUtility:processEvent(Int32, IntPtr, Boolean&)



    Error.png


    Here is The Right Hand IK

    it is also showing :Could not resolve 'Player1/MP7' because it is not a child Transform in the Animator hierarchy.
    Could not resolve 'Player1/Rig Layer/Right_HandIK' because it is not a child Transform in the Animator hierarchy.
    Could not resolve 'Player1/Rig Layer' because it is not a child Transform in the Animator
    hierarchy.

    Error2 but 13.png Error3.png Error1.png


    What should I do???
     
  2. alti

    alti

    Joined:
    Jan 8, 2014
    Posts:
    93
    for me this happened because i had a nested prefab in the heirarchy. jobs didn't like it i guess. Think back to the latest thing you added to the main object, and try to use less nested prefabs. It baffled me that this happened, but it made my rigs work again. If you remove the rig component, your stuff will work. If you leave it on, you have to find the nested prefab the animation rigging component doesn't like.