Game Engine Crash when adding Collision Object (SOLVED)

#1

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.

0 Likes

#2

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!).

0 Likes

#3

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

0 Likes

#4

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.

0 Likes

#5

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:

0 Likes

#6

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

Going to resolve this issue. Thanks.

0 Likes

#7

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

2 Likes

#8

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

0 Likes