Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug / Crash  Destroying GameObjects immediately is not permitted during physics trigger/contact
#6
(17-09-2024, 02:13 PM)Alexander34 Wrote: Yes cashing bool and use it in update was helpful, thank's.


You're welcome Guiño

(17-09-2024, 02:13 PM)Alexander34 Wrote: But perhaps, we can unload rope more safe?

Not really. Unloading the last rope in the scene causes the destruction of the collision system, which must be done using DestroyImmediate(). Doing this in response to a collision/trigger is forbidden by Unity.

kind regards,
Reply


Messages In This Thread
RE: Destroying GameObjects immediately is not permitted during physics trigger/contact - by josemendez - 17-09-2024, 02:25 PM