parent object crashes the game if destoyed while child "boomerangs" remain active.

in my game, i made an enemy that throws fans with a “boomerang” in-flight behaviour. however, upon killing this enemy the game crashes out and closes the game. it took me time to realize that it was the “bullets” that causes the crash. what happend is that if the “boomerang” fans remaing “active” while the parent object (the enemy white mosue) is removed, then it proceeds to crash out (not sure why).

but, if the parent dies AND the bullets are destroyed (had to add an HP variable condition) then nothing happens the game proceeds like normal. yes i fxed my problem, just wanted to report this if anyone else is having the same issue.

Out of curiosity, if the bullet ‘Spawn as Child’ setting is not checked, will it also crash if the enemy dies? I wonder if the bullet even needs to be a child in this case.

yes actually, i was checking if unchecking that option could help, it still gave the same results. maybe it could be the boomerang option. if the parent dies, where could it possibly go now? the proyectile doesnt has a object to reach now.

p.s.: i added the option to spawn as child to have the same scale size

This sounds about right, I’ll try to replicate it. Thanks for the report!

1 Like

I have confirmed this issue. As Rob-posa suspected, it seems to crash while searching for the launch source. I will report this as a bug.

2 Likes

great to hear that! if there is anything else i find, i will post it here!

We have fixed this issue in the version 1.3.4 released today.

1 Like