I’m modifying some animation clips by keyframing constraints. I accidentally added some keys to a TwoBoneIKConstraint Settings. Turns out it runs fine in the editor, but when it runs on Android it crashes the application. I’m running 2019.4.5f1 and Animation Rigging 0.2.7
Hi, can you log a bug report for that using the Unity bug reporter?
I can’t reproduce this issue with my local setup.
Unity usually offers to log a bug report when the application crashes. This will also bundle the crash call stack in the bug report and provides additional information that can help us.
It only crashes on Android, not the editor. I’m building for Quest.
I’ll work on creating a bug report.
Logcat spams this message when burst is turned off. If burst is turned on it crashes.
InvalidOperationException: The PropertyStreamHandle cannot be resolved.
08-25 08:58:54.364 9086 9107 E Unity : at UnityEngine.Animations.NotKeyableAttribute..ctor () [0x00000] in <00000000000000000000000000000000>:0
08-25 08:58:54.364 9086 9107 E Unity : at UnityEngine.Animations.NotKeyableAttribute..ctor () [0x00000] in <00000000000000000000000000000000>:0
08-25 08:58:54.364 9086 9107 E Unity : at UnityEngine.Animations.Rigging.TwoBoneIKConstraint..ctor () [0x00000] in <00000000000000000000000000000000>:0
08-25 08:58:54.364 9086 9107 E Unity : at UnityEngine.Animations.ProcessAnimationJobStruct`1[T].Execute (T& data, System.IntPtr animationStreamPtr, System.IntPtr methodIndex, Unity.Jobs.LowLevel.Unsafe.JobRanges& ranges, System.Int32 jobIndex) [0x00000] in <00000000000000000000000000000000>:0
08-25 08:58:54.364 9086 9107 E Unity : at UnityEngine.Animations.ProcessAnimationJobStruct`1+ExecuteJobFunction[T].Invoke (T& data, System.IntPtr animationStreamPtr, System.IntPtr unusedPtr, Unity.Jobs.LowLevel.Unsafe.JobRanges& ranges, System.Int32 jobIndex) [0x00000] in <00000000000000000000000000000000>:0
If burst is on this is what I get before it crashes
Unable to find internal function `UnityEngine.Animations.TransformStreamHandle::SetGlobalTRInternal_Injected`
08-25 09:16:03.118 15360 15374 E Unity : (Filename: Line: 400)
08-25 09:16:03.118 15360 15374 E Unity :
08-25 09:16:03.118 15360 15374 E Unity : Unable to find internal function `UnityEngine.Animations.TransformSceneHandle::GetLocalRotationInternal_Injected`
08-25 09:16:03.118 15360 15374 E Unity : (Filename: Line: 400)
08-25 09:16:03.118 15360 15374 E Unity :
08-25 09:16:03.118 15360 15374 E Unity : Unable to find internal function `UnityEngine.Animations.PropertyStreamHandle::GetIntInternal_Injected`
08-25 09:16:03.118 15360 15374 E Unity : (Filename: Line: 400)
08-25 09:16:03.118 15360 15374 E Unity :
08-25 09:16:03.118 15360 15374 E Unity : Unable to find internal function `UnityEngine.Animations.TransformStreamHandle::SetGlobalTRInternal_Injected`
08-25 09:16:03.118 15360 15374 E Unity : (Filename: Line: 400)
08-25 09:16:03.118 15360 15374 E Unity :
08-25 09:16:03.118 15360 15374 E Unity : Unable to find internal function `UnityEngine.Animations.PropertyStreamHandle::GetBoolInternal_Injected`
08-25 09:16:03.118 15360 15374 E Unity : (Filename: Line: 400)
08-25 09:16:03.118 15360 15374 E Unity :
08-25 09:16:03.119 15360 15374 E Unity : Unable to find internal function `UnityEngine.Animations.TransformStreamHandle::SetPositionInternal_Injected`
08-25 09:16:03.119 15360 15374 E Unity : (Filename: Line: 400)
08-25 09:16:03.119 15360 15374 E Unity :
08-25 09:16:03.119 15360 15374 E Unity : Unable to find internal function `UnityEngine.Animations.AnimationStream::GetDeltaTime_Injected`
08-25 09:16:03.119 15360 15374 E Unity : (Filename: Line: 400)
08-25 09:16:03.119 15360 15374 E Unity :
08-25 09:16:03.119 15360 15374 E Unity : Unable to find internal function `UnityEngine.Animations.TransformStreamHandle::SetGlobalTRInternal_Injected`
08-25 09:16:03.119 15360 15374 E Unity : (Filename: Line: 400)
08-25 09:16:03.119 15360 15374 E Unity :
08-25 09:16:03.395 15360 15374 E Unity : DllNotFoundException: Unable to load DLL 'SRanipal': The specified module could not be found.
08-25 09:16:03.395 15360 15374 E Unity : at ViveSR.anipal.Eye.SRanipal_Eye.IsViveProEye () [0x00000] in <00000000000000000000000000000000>:0
08-25 09:16:03.395 15360 15374 E Unity : at ViveSR.anipal.Eye.SRanipal_Eye_Framework.StartFramework () [0x00000] in <00000000000000000000000000000000>:0
08-25 09:16:03.395 15360 15374 E Unity :
08-25 09:16:03.395 15360 15374 E Unity : (Filename: currently not available on il2cpp Line: -1)
08-25 09:16:03.395 15360 15374 E Unity :
08-25 09:16:04.054 15360 15382 E Unity : System.InvalidOperationException: The PropertyStreamHandle cannot be resolved.
08-25 09:16:04.054 15360 15382 E Unity : Thrown from job: UnityEngine.Animations.Rigging.OverrideTransformJob
08-25 09:16:04.054 15360 15382 E Unity : This Exception was thrown from a job compiled with Burst, which has limited exception support. Turn off burst (Jobs -> Burst -> Enable Compilation) to inspect full exceptions & stacktraces. In this standalone build configuration burst will now abort the Application.
08-25 09:16:04.054 15360 15382 E Unity : (Filename: Line: 53)
The offending keyframes are on these properties
LeftArm: Two Bone IK Constraint.Data.Hint Weight = 0
LeftArm: Two Bone IK Constraint.Data.Target Position Weight = 0
RightArm: Two Bone IK Constraint.Data.Hint Weight = 0
RightArm: Two Bone IK Constraint.Data.Target Position Weight = 0
Case 1273055
I couldn’t upload the project, it’s way too big, but I include all the files that should be necessary to reproduce it. Let me know if you need anything or have trouble reproducing it. Thanks!