appsinacup / godot-box2d

Godot Box2D – C++ Godot Extension that integrates the Box2D physics engine.
MIT License
329 stars 15 forks source link

I encountered an error when queue_free objects #99

Closed Az-qianchen closed 9 months ago

Az-qianchen commented 9 months ago

Describe the bug I got the following error when I deleted the physical object

E 0:00:11:0896 Box2DArea2D::on_body_exit: Condition "foundIt == detected_bodies.end()" is true. <C++ 源文件> src\bodies\box2d_area_2d.cpp:63 @ Box2DArea2D::on_body_exit()

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Project If applicable, add a reproducible project to help explain your problem.

Versions (please complete the following information):