BUG: The game crashes after eliminating the target.

I created an object in a scene and loaded a piece of code into it to implement a function. When its HP <= 0, the object disappears on its own. This code causes a crash as soon as it’s written in. (I wrote a hit test where pressing the spacebar reduces HP by 1. This works fine, but when HP reaches 0, a bug appears.)

P.S. As a new user, I can’t upload project files, so I can only provide screenshots.

bug reproduction.rar (220.9 KB)

After testing, it was confirmed that this issue can be reproduced.

Steps

  1. Download the project and press F5 to test.
  2. Press the spacebar to reduce HP by 1.
  3. Continuously press the spacebar; the game crashes at the moment HP reaches zero → BUG
1 Like

Fixed in 1.0.15

1 Like

Yes, this BUG has been fixed! Thank you!

1 Like