LimbHacker icon indicating copy to clipboard operation
LimbHacker copied to clipboard

error when using the LimbHackerAgent.instance.SeverByJoint

Open worbarry opened this issue 3 years ago • 1 comments

InvalidOperationException: EnsureRunningOnMainThread can only be called from the main thread UnityEngine.Object.EnsureRunningOnMainThread () (at :0) UnityEngine.Object.GetInstanceID () (at :0) UnityEngine.Object.IsNativeObjectAlive (UnityEngine.Object o) (at :0) UnityEngine.Object.CompareBaseObjects (UnityEngine.Object lhs, UnityEngine.Object rhs) (at :0) UnityEngine.Object.op_Inequality (UnityEngine.Object x, UnityEngine.Object y) (at :0) NobleMuffins.LimbHacker.Guts.ThreadSafeHack.Slice (NobleMuffins.LimbHacker.Guts.JobSpecification jobSpec, NobleMuffins.LimbHacker.Guts.MeshSnapshot snapshot, System.Collections.Generic.ICollection1[T] alfaBuilder, System.Collections.Generic.ICollection1[T] bravoBuilder) (at Assets/Imported/LimbHacker-master/Guts/ThreadSafeHack.cs:370) NobleMuffins.LimbHacker.Guts.ThreadSafeHack.Slice (NobleMuffins.LimbHacker.Guts.JobState jobState) (at Assets/Imported/LimbHacker-master/Guts/ThreadSafeHack.cs:71) NobleMuffins.LimbHacker.Guts.ThreadSafeHack.Slice (System.Object _jobState) (at Assets/Imported/LimbHacker-master/Guts/ThreadSafeHack.cs:49) UnityEngine.Debug:LogException(Exception) NobleMuffins.LimbHacker.Guts.ThreadSafeHack:Slice(Object) (at Assets/Imported/LimbHacker-master/Guts/ThreadSafeHack.cs:57) System.Threading._ThreadPoolWaitCallback:PerformWaitCallback()

worbarry avatar Aug 15 '21 19:08 worbarry

@worbarry Did you happen to find a fix for this? I'm running into the same exact issue.

SwixDevs avatar Feb 08 '23 19:02 SwixDevs