bitbrain / beehave

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

Better error message when a node doesn't return a value #327

Open liamflannery opened 5 months ago

liamflannery commented 5 months ago

Right now if you forget to add a return statement to a node, and then click into the Beehave debugging tree you get this error message:

image

If it's your first time running into that error it can take ages to figure out what's going on. The stack trace also often doesn't actually link back to that node.