limbonaut / limboai

LimboAI - Behavior Trees and State Machines for Godot 4
https://limboai.readthedocs.io/
MIT License
1.14k stars 37 forks source link

Blackboard plan crashes #220

Open witchpiggie opened 1 week ago

witchpiggie commented 1 week ago

Godot version

v4.3.stable.official [77dcf97d8]

LimboAI version

v1.2.2

LimboAI variant

GDExtension / AssetLib

Issue description

Godot editor silently crashes when using Blackboard plans. In the editor, I will make a blackboard plan, make a few entries. Set some values on those. Then I hop over to vscode (using godot-tools) and start working. It doesn't usually take long, but I will be working and the editor will just quit. I can confirm it is the blackboard plans as far as I can tell. I don't get crashes when I don't use them. As soon as I try again, it will crash. I'm not sure if it's an issue with using an external editor or not.

How to reproduce

limbonaut commented 1 week ago

I couldn't reproduce it following those steps. It would be much easier to find the problem if we had a backtrace. When Godot crashes, it prints a backtrace to the console, however it's not very usable without debug symbols. To be able to read it, you'd need to run godot engine from a console and use a debug build of LimboAI plugin (with the debug symbols included). Can you do that? I can provide a debug build: https://github.com/limbonaut/limboai/actions/runs/10971096353 Just replace your addons/limboai folder with the one from the archive.

witchpiggie commented 2 days ago

I'll see what I can do.