Hello! 🙂

This is my first post on these forums 🙂

I've created an Android plugin, but I'm having a hard time getting it to work in my game. The plugin's name is Steps Plugin.

Godot detects the plugin, and I have it enabled:

In my game's Game.gd file, I have some code that tries to load the plugin and call a function on it:

func _ready():
	var stepsPlugin = Engine.get_singleton("StepsPlugin")

When I run my game on my phone, via Android Studio, the game mostly works fine, but I get an error saying that the plugin couldn't be loaded:

V/FullScreenGodotApp: Creating new Godot fragment instance.
(....)
D/libMEOW: applied 0 plugin for [com.godot.game].
(...)
D/libMEOW: applied 0 plugin for [com.godot.game].
(...)
I/godot: Godot Engine v3.4.4.stable.official.419e713a2 - https://godotengine.org
E/godot: ERROR: Failed to retrieve non-existent singleton 'StepsPlugin'.
E/godot:    at: get_singleton_object (core/engine.cpp:202) - Condition "!E" is true. Returned: nullptr

Any ideas, or suggestions for how to debug this? 🙂

Thanks! ^_^

Hmm.... maybe I'm specifying the wrong path to my plugin's .aar file? Am I supposed to place the .aar file next to the .gdap file, directly in android/plugins/?