beehave icon indicating copy to clipboard operation
beehave copied to clipboard

Debugger bubbles not animated in Godot 4.1

Open bitbrain opened this issue 2 years ago • 2 comments
trafficstars

Godot version: 4.1 Beehave Version: 2.7.6

Describe the bug When running the debugger in Godot 4.1, it works and appears correctly but the bubbles do not seem to show/animate.

bitbrain avatar Oct 14 '23 13:10 bitbrain

I'm not sure if it's related but my debug tree hasn't worked properly since 4.0 but it's probably something I've done to the files or configuration. I've also written some custom behavior leafs that might be causing issues. I'm not sure.

image

./core/variant/variant_utility.cpp:905 - Can't find Beehave Plugin res://addons/beehave/debug/graph_node.gd:53 - Invalid get index 'empty' (on base: 'Nil').

This is the initial error that's spammed maybe 10-15 times and then the other error spams.. many more times :)

peterpants2 avatar Oct 24 '23 00:10 peterpants2

Same issue here and I may have a bit more info on how to reproduce and fix:

I am using the Debug Draw 3D plugin installed from the AssetLib. Without this plugin, this method in utils.gd works fine and the debugger works flawlessly.

static func get_plugin() -> EditorPlugin:
	var tree: SceneTree = Engine.get_main_loop()
	return tree.get_root().get_child(0).get_node_or_null("BeehavePlugin")

But with Debug Draw 3D installed it seems that get_child(0) doesn't point to the correct node anymore so BeehavePlugin cannot be found. Replacing get_child(0) with get_child(1) in my case seems to work but it's probably duct-tape.

LRP500 avatar Nov 11 '23 14:11 LRP500

Fixed by #345

bitbrain avatar Jun 26 '24 19:06 bitbrain