Search Unity

Resolved Animation Rigging Package -> The TransformStreamHandle cannot... Nesting Constraint Objects [solved]

Discussion in 'Animation' started by pachermann, Jun 2, 2023.

  1. pachermann

    pachermann

    Joined:
    Dec 18, 2013
    Posts:
    133
    If you nest a Game object in a Humanoid Character and TwoBone IK constrain or in whatever combiniattion.
    -> the nested Object needs a Rig Transform Component, so the RIG Knows it is part of the Rig, otherwise it's shooting Errors an it won't work at all.
    This is a so minimal detail but it caused me a lot of time to figure out, i hope this will help others!

    Code (CSharp):
    1. System.InvalidOperationException: The TransformStreamHandle cannot be resolved.
    2. This Exception was thrown from a job compiled with Burst, which has limited exception support.
    3. 0x00007fffd5cc4514 (cc00d602a010cff43d7551c2537b319) [unknown:0] UnityEngine.Animations.TransformStreamHandle::UnityEngine.Animations.TransformStreamHandle.SetLocalTRS
     
  2. TSRajesh

    TSRajesh

    Joined:
    Jun 19, 2013
    Posts:
    69
    Can you please post a screenshot or something to explain the exact error condition it solved?.
    Much appreciated.
     
  3. pachermann

    pachermann

    Joined:
    Dec 18, 2013
    Posts:
    133
    What solves it is if you add the Rig Transform Component to the GameObject that needs to be contraint to the IK Rig.
    Example your weapon root needs the Rig Transform Component before you nest it into the Shoulder GameObject for example.

    You do it before you nest it, or before you go on play or activate a animation on Timeline (you can use Mute track) on timline first.