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

Godot do not initialize Android Modules singletons (Latest 3.1) #22932

Closed
TheTrope opened this issue Oct 11, 2018 · 2 comments
Closed

Godot do not initialize Android Modules singletons (Latest 3.1) #22932

TheTrope opened this issue Oct 11, 2018 · 2 comments
Labels

Comments

@TheTrope
Copy link

Hello,

The android modules does not work when I use the latest build/templates (latest master 3.1), the modules load well (so I guess correctly configured), but singletons are not created

Even GodotPayment is not available, I added a print to dislay all the current singletons in engine.cpp:

When using

Engine.get_singleton('GodotPayments')

I get

Failed to retrieve non-existent singleton 'GodotPayments'

adb logcat :

10-10 21:28:40.975 20132 20179 I godot   : Loading module: org/godotengine/godot/GodotPaymentV3
10-10 21:28:40.976 20132 20179 I godot   : Loading module: org/godotengine/godot/FireBase
10-10 21:28:40.976 20132 20179 I godot   : Loading module: org/godotengine/godot/SQLBridge
10-10 21:28:41.151 20132 20179 I godot   : OpenGL ES 3.0 Renderer: Mali-T830
10-10 21:28:43.462 20132 20179 E godot   : **ERROR**: Failed to retrieve non-existent singleton 'GodotPayments' in:JavaScript;ClassDB;Marshalls;JSON;PhysicsServer;Physics2DServer;ProjectSettings;InputMap;VisualServer;Input;AudioServer;Geometry;ResourceLoader;ResourceSaver;OS;Engine;ARVRServer;IP;TranslationServer;Performance;JavaClassWrapper;

So the only singletons available are :

JavaScript;ClassDB;Marshalls;JSON;PhysicsServer;Physics2DServer;ProjectSettings;InputMap;VisualServer;Input;AudioServer;Geometry;ResourceLoader;ResourceSaver;OS;Engine;ARVRServer;IP;TranslationServer;Performance;JavaClassWrapper

GodotPayments is not existing there
Do you have any idea? Thanks !

Godot version:
Latest master (3.1) Custom build/templates
Android live debug work, except for android modules. I correctly set the android modules path because they are loading

OS/device including version:
Windows 10 editor: Live debug w/ Huawei p20 lite android 8

@samuelpedrajas
Copy link
Contributor

I think this is related to this one: #22859

@Chaosus
Copy link
Member

Chaosus commented Oct 12, 2018

Closed as duplicate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants