저번 포스트를 통해서 애니메이션을 고쳐서 사용하기 위해서 리깅작업을 진행하고 애니메이션을 수정하였다.
문제는 오늘 스킬을 모두 만든 다음에 타임라인으로 만들었더니 실제 적용에서 문제가 발생하였다.
문제발생 에러코드
System.InvalidOperationException: The TransformStreamHandle cannot be resolved.
This Exception was thrown from a job compiled with Burst, which has limited exception support.
0x00007ff86ffe1b71 (d24e6d7eed83536b3489bb2a4e4a262) UnityEngine.Animations.Rigging.AnimationRuntimeUtils.PassThrough (at D:/UnityProject/Unity_Final/Library/PackageCache/com.unity.burst@1.8.11/.Runtime/Library/PackageCache/com.unity.animation.rigging@1.2.1/Runtime/Utils/AnimationRuntimeUtils.cs:395)
0x00007ff86fff02a9 (d24e6d7eed83536b3489bb2a4e4a262) UnityEngine.Animations.ProcessAnimationJobStruct1<UnityEngine.Animations.Rigging.OverrideTransformJob>.Execute(ref UnityEngine.Animations.Rigging.OverrideTransformJob data, System.IntPtr animationStreamPtr, System.IntPtr methodIndex, ref Unity.Jobs.LowLevel.Unsafe.JobRanges ranges, int jobIndex) -> void_0eb99775c032cc315e6735763e8d52b6 from UnityEngine.AnimationModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null (at D:/UnityProject/Unity_Final/Library/PackageCache/com.unity.burst@1.8.11/.Runtime/unknown/unknown:0) 0x00007ff86ffefd06 (d24e6d7eed83536b3489bb2a4e4a262) 0c6ccfd2bba93d68e31208c014c56d05 0x00007ff767eb4de0 (Unity) ExecuteJobWithSharedJobData 0x00007ff7686f8143 (Unity) AnimationScriptPlayable::ProcessAnimation 0x00007ff7686f7fd9 (Unity) AnimationPlayable::ProcessAnimation 0x00007ff7686f805b (Unity) AnimationScriptPlayable::ProcessAnimation 0x00007ff7686f7fd9 (Unity) AnimationPlayable::ProcessAnimation 0x00007ff7686f805b (Unity) AnimationScriptPlayable::ProcessAnimation 0x00007ff7686f7fd9 (Unity) AnimationPlayable::ProcessAnimation 0x00007ff7686f805b (Unity) AnimationScriptPlayable::ProcessAnimation 0x00007ff768685fc9 (Unity) anonymous namespace'::ProcessPlayableGraph
0x00007ff768685bcb (Unity) Animator::ProcessAnimationsStep
0x00007ff7686a16e8 (Unity) UnityEngine::Animation::BlockRangeJob<Animator::AnimatorJob>::Job
0x00007ff767eb18ae (Unity) ujob_execute_job
0x00007ff767eb0a0d (Unity) lane_guts
0x00007ff767eb33f4 (Unity) worker_thread_routine
0x00007ff7680de756 (Unity) Thread::RunThreadWrapper
0x00007ff904487374 (KERNEL32) BaseThreadInitThunk
0x00007ff9047bcc91 (ntdll) RtlUserThreadStart
에러코드가 생전처음보는 코드라 잘 이해가 안가지만 확실한 것은 애니메이션 리깅에서 문제가 생겼다는 것이다. 문제해결을 위해서 구글링을 해보자.

위의 문제에서 2번의 경우를 생각해보았다. 애니메이션 클립에 Rigging을 제어하는 부분이 없는 일반 애니메이션의 경우에 rigging이 잘못설정되어있으면 문제가 발생할 수 도 있을거란 생각이 들어, 애니메이션 리깅위치를 다시 잡아보았다.
그런데 문제를 확인해버렸다.
1.
....? 캐릭터가 T포즈가 기본자세가 아니라 애니메이션을 수정하던 과정의 동작이 저장되어있는 듯하다. 이게 문제가 될 수 있을 가능성이 높으므로 수정해보자.