Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

address plugin load issues #244

Merged
merged 3 commits into from
Nov 13, 2023
Merged

address plugin load issues #244

merged 3 commits into from
Nov 13, 2023

Conversation

bitbrain
Copy link
Owner

@bitbrain bitbrain commented Nov 13, 2023

There were some instances with beehave not loading correctly. This PR aims to solve that.

Bonus: bumped gdUnit4 to latest

Addressed issues

@@ -7,8 +7,8 @@ var frames: RefCounted

func _init():
name = "BeehavePlugin"
add_autoload_singleton("BeehaveGlobalMetrics", "./metrics/beehave_global_metrics.gd")
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this does not quite work always, as Godot reads this as res://addons/beehave/./metrics/beehave_global_metrics.gd which can confuse the engine.

@@ -20,5 +20,3 @@ func _enter_tree() -> void:

func _exit_tree() -> void:
remove_debugger_plugin(editor_debugger)
editor_debugger.free()
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

those are RefCounted - you should never call .free() on RefCounted

@bitbrain bitbrain merged commit fbf4b65 into godot-4.x Nov 13, 2023
@bitbrain bitbrain deleted the address-plugin-load-issues branch November 13, 2023 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Weighting test occasionally fails
1 participant