Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error when using the LimbHackerAgent.instance.SeverByJoint #6

Open
worbarry opened this issue Aug 15, 2021 · 1 comment
Open

error when using the LimbHackerAgent.instance.SeverByJoint #6

worbarry opened this issue Aug 15, 2021 · 1 comment

Comments

@worbarry
Copy link

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()

@SwixDevs
Copy link

SwixDevs commented Feb 8, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants