Game Engine Crash when adding Collision Object (SOLVED)

Dear Defold Team,

I experienced a crash when adding a collision object to one of my collections. Is it the problem of the game engine or the error that I made myself?

Any suggestions would be highly appreciated, thanks.

It’s not good that it crashed, but based on the error message I’d say that the Box shape is either too large or very small (check the scale and size!).

Alright, thanks for your reply. I will try to scale the box to see whether the error happen again.

I have tried several times just now and the behavior is very strange.
The collision object can only be created when it is included in a game object, otherwise, it will be crashed.


Meanwhile, the collision message didn’t broadcast even I configure the group and mask name. I will double-check my setting again.

I turn on the debug mode for the physic engine but the collision message didn’t broadcast to any of the game object scripts at all:thinking:

Find out that it didn’t world because of the collection proxy. https://defold.com/manuals/collection-proxy/

Going to resolve this issue. Thanks.

Could you share the setup in a small project for me to try?

2 Likes

Sure man. Let me come back to you a few days later. Anyway, thanks for your reply.