bitbrain / beehave

🐝 behavior tree AI for Godot Engine
https://bitbra.in/beehave
MIT License
1.85k stars 116 forks source link

Calling queue_free on the actor will produce errors #308

Closed alextkd2003 closed 6 months ago

alextkd2003 commented 7 months ago

Godot version: 4.2.1

Describe the bug Calling queue_free on the actor will produce errors in the Debugger

"E 0:00:03:0960 beehave_tree.gd:290 @ _get_debugger_data(): Cannot get path of node as it is not in a scene tree. <C++ Error> Condition "!is_inside_tree()" is true. Returning: NodePath() <C++ Source> scene/main/node.cpp:2071 @ get_path()

beehave_tree.gd:290 @ _get_debugger_data() beehave_tree.gd:299 @ _get_debugger_data() beehave_tree.gd:299 @ _get_debugger_data() beehave_tree.gd:299 @ _get_debugger_data() beehave_tree.gd:299 @ _get_debugger_data() beehave_tree.gd:299 @ _get_debugger_data() beehave_tree.gd:152 @ () " **To Reproduce** Steps to reproduce the behavior: 1. Calling queue_free on the actor **Expected behavior** A clear and concise description of what you expected to happen. **Screenshots** If applicable, add screenshots to help explain your problem. ![bug](https://github.com/bitbrain/beehave/assets/50635357/1e842641-1b37-4caf-90fe-f10b67d648fd) **Desktop (please complete the following information):** - OS: Win 11
alextkd2003 commented 6 months ago

Latest update fixed this issue!!

Thanks