+1 vote

Hello,

The android modules does not work when I use my custom build/templates (latest master 3.1), the modules load well, but singletons are not created, and I can't figure why

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;

Do you have any idea? Thanks !

asked Oct 10, 2018 in Engine by The Trope (17 points)

I have exactly the same problem in the latest build with the exact same modules. I have a build from July this year which works fine and I can't find any difference in configuration between them.

1 Answer

0 votes

I think this is a genuine bug recently introduced. See https://github.com/godotengine/godot/issues/22859

answered Oct 13, 2018 by wombatwingdings (14 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.