Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Trying to add DistanceConstraint for my TearableCloth but getting IndexOutOfRange
#16
(08-08-2022, 09:31 PM)snowtv Wrote: Hi, I switched the backend from Burst to Oni, and I'm not getting errors anymore, and I can also see the colon sewn shut.



Thank you very much!

Hi,

By "disabling Burst" I meant disabling the Burst compiler, not switching to another backend.

(08-08-2022, 09:31 PM)snowtv Wrote: Is there a way to debug while enabling Burst?

This is exactly what disabling Burst accomplishes. The Burst backend and the Burst compiler are two different things. The "Burst" backend is named that way because it makes use of Unity's Burst compiler to compile its code. Disabling the Burst compiler will allow Unity to provide full stack traces for the error, which will make debugging much easier - as the error message itself suggests to do.

To disable Burst, go to Jobs->Burst->Enable compilation and untick "Enable compilation".
See: https://docs.unity3d.com/Packages/com.un...index.html

kind regards,
Reply


Messages In This Thread
RE: Trying to add DistanceConstraint for my TearableCloth but getting IndexOutOfRange - by josemendez - 09-08-2022, 07:23 AM