Big error on Godot 4.3
Closed this issue · 19 comments
When I compile for my android I get this error:
modules/gdscript/gdscript.cpp:2203 - Condition "!named_globals.has(p_name)" is true.
modules/gdscript/gdscript.cpp:2203 - Condition "!named_globals.has(p_name)" is true.
modules/gdscript/gdscript.cpp:2203 - Condition "!named_globals.has(p_name)" is true.
modules/gdscript/gdscript.cpp:2203 - Condition "!named_globals.has(p_name)" is true.
modules/gdscript/gdscript.cpp:2203 - Condition "!named_globals.has(p_name)" is true.
modules/gdscript/gdscript.cpp:2203 - Condition "!named_globals.has(p_name)" is true.
Failed to create an autoload, script 'res://addons/GodotPlayGameServices/autoloads/sign_in_client.gd' is not compiling.
editor/editor_autoload_settings.cpp:577 - Condition "!info->node" is true. Continuing.
Failed to create an autoload, script 'res://addons/GodotPlayGameServices/autoloads/players_client.gd' is not compiling.
editor/editor_autoload_settings.cpp:577 - Condition "!info->node" is true. Continuing.
Failed to create an autoload, script 'res://addons/GodotPlayGameServices/autoloads/achievements_client.gd' is not compiling.
editor/editor_autoload_settings.cpp:577 - Condition "!info->node" is true. Continuing.
Failed to create an autoload, script 'res://addons/GodotPlayGameServices/autoloads/leaderboards_client.gd' is not compiling.
editor/editor_autoload_settings.cpp:577 - Condition "!info->node" is true. Continuing.
Failed to create an autoload, script 'res://addons/GodotPlayGameServices/autoloads/snapshots_client.gd' is not compiling.
editor/editor_autoload_settings.cpp:577 - Condition "!info->node" is true. Continuing.
Failed to create an autoload, script 'res://addons/GodotPlayGameServices/autoloads/events_client.gd' is not compiling.
editor/editor_autoload_settings.cpp:577 - Condition "!info->node" is true. Continuing.
Hi @MTGPROD I'm sorry to hear that.
I need more context to try to understand what might be happening. Did you have the plugin implemented in godot 4.2 already or this is a new project you started directly in godot 4.3? Did you follow the steps in the readme and the implementation guide inside the demo project?
Any other information you can provide will be helpful. Let's see if we can figure this out.
To be honest, I started my project in 4.2 and plugins like these were not working on it so I upgraded the project to 4.3. But I continue to struggle. I tried many many "Play Services" plugins which were all forks of the same non working plugin. So I found a fork of yours without 4.3 support, tried anyways, didn't worked, so now I installed the Godot4.3-compatible version of your plugin, and there is it.
I tried using the plugin in the ready of my first scene and nothing happened, even tho the console written "Plugin found!" in adb logcat.
So yeah I think my project is pretty unstable because of the deletion/adding of plugins multiple times.
For the why the scripts do not compile it is because it doesn't recognize the GodotPlayGameServices singleton (i guess it's a singleton)
res://addons/GodotPlayGameServices/autoloads/sign_in_client.gd:31 - Parse Error: Identifier "GodotPlayGameServices" not declared in the current scope.
res://addons/GodotPlayGameServices/autoloads/sign_in_client.gd:32 - Parse Error: Identifier "GodotPlayGameServices" not declared in the current scope.
res://addons/GodotPlayGameServices/autoloads/sign_in_client.gd:35 - Parse Error: Identifier "GodotPlayGameServices" not declared in the current scope.
res://addons/GodotPlayGameServices/autoloads/sign_in_client.gd:44 - Parse Error: Identifier "GodotPlayGameServices" not declared in the current scope.
res://addons/GodotPlayGameServices/autoloads/sign_in_client.gd:45 - Parse Error: Identifier "GodotPlayGameServices" not declared in the current scope.
res://addons/GodotPlayGameServices/autoloads/sign_in_client.gd:51 - Parse Error: Identifier "GodotPlayGameServices" not declared in the current scope.
res://addons/GodotPlayGameServices/autoloads/sign_in_client.gd:52 - Parse Error: Identifier "GodotPlayGameServices" not declared in the current scope.
res://addons/GodotPlayGameServices/autoloads/sign_in_client.gd:64 - Parse Error: Identifier "GodotPlayGameServices" not declared in the current scope.
res://addons/GodotPlayGameServices/autoloads/sign_in_client.gd:65 - Parse Error: Identifier "GodotPlayGameServices" not declared in the current scope.
modules/gdscript/gdscript.cpp:2936 - Failed to load script "res://addons/GodotPlayGameServices/autoloads/sign_in_client.gd" with error "Parse error". (User)
Failed to create an autoload, script 'res://addons/GodotPlayGameServices/autoloads/sign_in_client.gd' is not compiling.
Failed to create an autoload, script 'res://addons/GodotPlayGameServices/autoloads/sign_in_client.gd' is not compiling.
editor/editor_autoload_settings.cpp:577 - Condition "!info->node" is true. Continuing.
Theses errors spawn in the console at start of godot project.
I fought that the plugin weren't enabled but it seems to be:
Btw, the plugin version is still 1.7.0 even tough I downloaded 1.8.0
My game id is configured:
I was wondering how to implement this in my game and I found the demo project, thanks to you, but now It's the plugin that don't compile :(
I put the demo singin code and I still has theses errors:
The other scripts are not there because yesterday I deleted them from autoload, and then only added SignIn client
Hi @MTGPROD if I'm understanding it correctly, you removed code from the plugin? The plugin can't work like that, it needs all the autoloads. Why did you do it? Is there something that clashes with something else in your project? I reckon the plugin creates a bunch of autoloads. I could take another approach and put everything under the same autoload, but that would be a major change.
I will suggest to start a fresh new project and install only the plugin to test if it works there, just following the instructions in the README
. Please, try that and let me know how it goes 😃
Also, I just uploaded a patch for the plugin fixing the version number, thanks for noticing the error!
I precised that even with all autoloads enabled it gets the same error, but for each files in the autoload. For now I'll install your demo project locally and export it to try. If it works, it doesn't help me because in my project it will remain the same. But I did nothing wrong in my project I guess. (If adding and deleting plugins multiple times isn't bad behavior lol)
I just restarded my computeur and the situation seems to be fine, all autoloads are there and "working" (no errors on the console)
But when exporting the game with the SignIn code from the demo code you provided, there's no signin window in my game.
However there's this in the adb logcat -s godot
09-11 12:29:02.873 31973 31973 E godot : at: register_utility_function (core/variant/variant_utility.cpp:1656)
09-11 12:29:02.873 31973 31973 E godot : USER ERROR: Condition "utility_function_table.has(sname)" is true.
09-11 12:29:02.873 31973 31973 E godot : at: register_utility_function (core/variant/variant_utility.cpp:1656)
09-11 12:29:02.873 31973 31973 E godot : USER ERROR: Condition "utility_function_table.has(sname)" is true.
09-11 12:29:02.873 31973 31973 E godot : at: register_utility_function (core/variant/variant_utility.cpp:1656)
09-11 12:29:02.874 31973 31973 E godot : USER ERROR: Condition "utility_function_table.has(sname)" is true.
09-11 12:29:02.874 31973 31973 E godot : at: register_utility_function (core/variant/variant_utility.cpp:1656)
09-11 12:29:02.874 31973 31973 E godot : USER ERROR: Condition "utility_function_table.has(sname)" is true.
09-11 12:29:02.874 31973 31973 E godot : at: register_utility_function (core/variant/variant_utility.cpp:1656)
09-11 12:29:02.874 31973 31973 E godot : USER ERROR: Condition "utility_function_table.has(sname)" is true.
09-11 12:29:02.874 31973 31973 E godot : at: register_utility_function (core/variant/variant_utility.cpp:1656)
09-11 12:29:02.874 31973 31973 E godot : USER ERROR: Condition "utility_function_table.has(sname)" is true.
09-11 12:29:02.874 31973 31973 E godot : at: register_utility_function (core/variant/variant_utility.cpp:1656)
09-11 12:29:02.874 31973 31973 E godot : USER ERROR: Condition "utility_function_table.has(sname)" is true.
09-11 12:29:02.874 31973 31973 E godot : at: register_utility_function (core/variant/variant_utility.cpp:1656)
09-11 12:29:02.874 31973 31973 E godot : USER ERROR: Condition "utility_function_table.has(sname)" is true.
09-11 12:29:02.874 31973 31973 E godot : at: register_utility_function (core/variant/variant_utility.cpp:1656)
09-11 12:29:02.874 31973 31973 E godot : USER ERROR: Condition "utility_function_table.has(sname)" is true.
09-11 12:29:02.874 31973 31973 E godot : at: register_utility_function (core/variant/variant_utility.cpp:1656)
09-11 12:29:02.874 31973 31973 E godot : USER ERROR: Condition "utility_function_table.has(sname)" is true.
09-11 12:29:02.874 31973 31973 E godot : at: register_utility_function (core/variant/variant_utility.cpp:1656)
09-11 12:29:02.874 31973 31973 E godot : USER ERROR: Condition "utility_function_table.has(sname)" is true.
09-11 12:29:02.875 31973 31973 E godot : at: register_utility_function (core/variant/variant_utility.cpp:1656)
09-11 12:29:02.875 31973 31973 E godot : USER ERROR: Condition "utility_function_table.has(sname)" is true.
09-11 12:29:02.875 31973 31973 E godot : at: register_utility_function (core/variant/variant_utility.cpp:1656)
09-11 12:29:02.875 31973 31973 E godot : USER ERROR: Condition "utility_function_table.has(sname)" is true.
09-11 12:29:02.875 31973 31973 E godot : at: register_utility_function (core/variant/variant_utility.cpp:1656)
09-11 12:29:02.875 31973 31973 E godot : USER ERROR: Condition "utility_function_table.has(sname)" is true.
09-11 12:29:02.875 31973 31973 E godot : at: register_utility_function (core/variant/variant_utility.cpp:1656)
09-11 12:29:02.875 31973 31973 E godot : USER ERROR: Condition "utility_function_table.has(sname)" is true.
09-11 12:29:02.875 31973 31973 E godot : at: register_utility_function (core/variant/variant_utility.cpp:1656)
09-11 12:29:02.875 31973 31973 E godot : USER ERROR: Condition "utility_function_table.has(sname)" is true.
09-11 12:29:02.875 31973 31973 E godot : at: register_utility_function (core/variant/variant_utility.cpp:1656)
09-11 12:29:02.875 31973 31973 E godot : USER ERROR: Condition "utility_function_table.has(sname)" is true.
09-11 12:29:02.875 31973 31973 E godot : at: register_utility_function (core/variant/variant_utility.cpp:1656)
09-11 12:29:02.875 31973 31973 E godot : USER ERROR: Condition "utility_function_table.has(sname)" is true.
09-11 12:29:02.875 31973 31973 E godot : at: register_utility_function (core/variant/variant_utility.cpp:1656)
09-11 12:29:02.875 31973 31973 E godot : USER ERROR: Condition "utility_function_table.has(sname)" is true.
09-11 12:29:02.875 31973 31973 E godot : at: register_utility_function (core/variant/variant_utility.cpp:1656)
09-11 12:29:02.876 31973 31973 E godot : USER ERROR: Condition "utility_function_table.has(sname)" is true.
09-11 12:29:02.876 31973 31973 E godot : at: register_utility_function (core/variant/variant_utility.cpp:1656)
09-11 12:29:02.876 31973 31973 E godot : USER ERROR: Condition "utility_function_table.has(sname)" is true.
09-11 12:29:02.876 31973 31973 E godot : at: register_utility_function (core/variant/variant_utility.cpp:1656)
09-11 12:29:02.876 31973 31973 E godot : USER ERROR: Condition "utility_function_table.has(sname)" is true.
09-11 12:29:02.876 31973 31973 E godot : at: register_utility_function (core/variant/variant_utility.cpp:1656)
09-11 12:29:02.876 31973 31973 E godot : USER ERROR: Condition "utility_function_table.has(sname)" is true.
09-11 12:29:02.876 31973 31973 E godot : at: register_utility_function (core/variant/variant_utility.cpp:1656)
09-11 12:29:02.876 31973 31973 E godot : USER ERROR: Condition "utility_function_table.has(sname)" is true.
09-11 12:29:02.876 31973 31973 E godot : at: register_utility_function (core/variant/variant_utility.cpp:1656)
09-11 12:29:02.876 31973 31973 E godot : USER ERROR: Condition "utility_function_table.has(sname)" is true.
09-11 12:29:02.876 31973 31973 E godot : at: register_utility_function (core/variant/variant_utility.cpp:1656)
09-11 12:29:02.876 31973 31973 E godot : USER ERROR: Condition "utility_function_table.has(sname)" is true.
09-11 12:29:02.876 31973 31973 E godot : at: register_utility_function (core/variant/variant_utility.cpp:1656)
09-11 12:29:02.876 31973 31973 E godot : USER ERROR: Condition "utility_function_table.has(sname)" is true.
09-11 12:29:02.877 31973 31973 E godot : at: register_utility_function (core/variant/variant_utility.cpp:1656)
09-11 12:29:02.877 31973 31973 E godot : USER ERROR: Condition "utility_function_table.has(sname)" is true.
09-11 12:29:02.877 31973 31973 E godot : at: register_utility_function (core/variant/variant_utility.cpp:1656)
09-11 12:29:02.877 31973 31973 E godot : USER ERROR: Condition "utility_function_table.has(sname)" is true.
09-11 12:29:02.878 31973 31973 E godot : at: register_utility_function (core/variant/variant_utility.cpp:1656)
09-11 12:29:02.878 31973 31973 E godot : USER ERROR: Condition "utility_function_table.has(sname)" is true.
09-11 12:29:02.878 31973 31973 E godot : at: register_utility_function (core/variant/variant_utility.cpp:1656)
09-11 12:29:02.878 31973 31973 E godot : USER ERROR: Condition "utility_function_table.has(sname)" is true.
09-11 12:29:02.878 31973 31973 E godot : at: register_utility_function (core/variant/variant_utility.cpp:1656)
09-11 12:29:02.879 31973 31973 E godot : USER ERROR: Condition "utility_function_table.has(sname)" is true.
09-11 12:29:02.879 31973 31973 E godot : at: register_utility_function (core/variant/variant_utility.cpp:1656)
09-11 12:29:02.879 31973 31973 E godot : USER ERROR: Condition "utility_function_table.has(sname)" is true.
09-11 12:29:02.879 31973 31973 E godot : at: register_utility_function (core/variant/variant_utility.cpp:1656)
09-11 12:29:02.879 31973 31973 E godot : USER ERROR: Condition "utility_function_table.has(sname)" is true.
09-11 12:29:02.879 31973 31973 E godot : at: register_utility_function (core/variant/variant_utility.cpp:1656)
09-11 12:29:02.879 31973 31973 E godot : USER ERROR: Condition "utility_function_table.has(sname)" is true.
09-11 12:29:02.879 31973 31973 E godot : at: register_utility_function (core/variant/variant_utility.cpp:1656)
09-11 12:29:02.879 31973 31973 E godot : USER ERROR: Condition "utility_function_table.has(sname)" is true.
09-11 12:29:02.879 31973 31973 E godot : at: register_utility_function (core/variant/variant_utility.cpp:1656)
09-11 12:29:02.879 31973 31973 E godot : USER ERROR: Condition "utility_function_table.has(sname)" is true.
09-11 12:29:02.879 31973 31973 E godot : at: register_utility_function (core/variant/variant_utility.cpp:1656)
09-11 12:29:02.879 31973 31973 E godot : USER ERROR: Condition "utility_function_table.has(sname)" is true.
09-11 12:29:02.879 31973 31973 E godot : at: register_utility_function (core/variant/variant_utility.cpp:1656)
09-11 12:29:02.879 31973 31973 E godot : USER ERROR: Condition "utility_function_table.has(sname)" is true.
09-11 12:29:02.879 31973 31973 E godot : at: register_utility_function (core/variant/variant_utility.cpp:1656)
09-11 12:29:02.879 31973 31973 E godot : USER ERROR: Condition "utility_function_table.has(sname)" is true.
09-11 12:29:02.879 31973 31973 E godot : at: register_utility_function (core/variant/variant_utility.cpp:1656)
09-11 12:29:02.879 31973 31973 E godot : USER ERROR: Condition "utility_function_table.has(sname)" is true.
09-11 12:29:02.880 31973 31973 E godot : at: register_utility_function (core/variant/variant_utility.cpp:1656)
09-11 12:29:02.880 31973 31973 E godot : USER ERROR: Condition "utility_function_table.has(sname)" is true.
09-11 12:29:02.880 31973 31973 E godot : at: register_utility_function (core/variant/variant_utility.cpp:1656)
09-11 12:29:02.880 31973 31973 E godot : USER ERROR: Condition "utility_function_table.has(sname)" is true.
09-11 12:29:02.880 31973 31973 E godot : at: register_utility_function (core/variant/variant_utility.cpp:1656)
09-11 12:29:02.880 31973 31973 E godot : USER ERROR: Condition "utility_function_table.has(sname)" is true.
09-11 12:29:02.880 31973 31973 E godot : at: register_utility_function (core/variant/variant_utility.cpp:1656)
09-11 12:29:02.880 31973 31973 E godot : USER ERROR: Condition "utility_function_table.has(sname)" is true.
09-11 12:29:02.880 31973 31973 E godot : at: register_utility_function (core/variant/variant_utility.cpp:1656)
09-11 12:29:02.880 31973 31973 E godot : USER ERROR: Condition "utility_function_table.has(sname)" is true.
09-11 12:29:02.880 31973 31973 E godot : at: register_utility_function (core/variant/variant_utility.cpp:1656)
09-11 12:29:02.880 31973 31973 E godot : USER ERROR: Condition "utility_function_table.has(sname)" is true.
09-11 12:29:02.880 31973 31973 E godot : at: register_utility_function (core/variant/variant_utility.cpp:1656)
09-11 12:29:02.880 31973 31973 E godot : USER ERROR: Condition "utility_function_table.has(sname)" is true.
09-11 12:29:02.880 31973 31973 E godot : at: register_utility_function (core/variant/variant_utility.cpp:1656)
09-11 12:29:02.880 31973 31973 E godot : USER ERROR: Condition "utility_function_table.has(sname)" is true.
09-11 12:29:02.880 31973 31973 E godot : at: register_utility_function (core/variant/variant_utility.cpp:1656)
09-11 12:29:02.880 31973 31973 E godot : USER ERROR: Condition "utility_function_table.has(sname)" is true.
09-11 12:29:02.880 31973 31973 E godot : at: register_utility_function (core/variant/variant_utility.cpp:1656)
09-11 12:29:02.880 31973 31973 E godot : USER ERROR: Condition "utility_function_table.has(sname)" is true.
09-11 12:29:02.881 31973 31973 E godot : at: register_utility_function (core/variant/variant_utility.cpp:1656)
09-11 12:29:02.881 31973 31973 E godot : USER ERROR: Condition "utility_function_table.has(sname)" is true.
09-11 12:29:02.881 31973 31973 E godot : at: register_utility_function (core/variant/variant_utility.cpp:1656)
09-11 12:29:02.881 31973 31973 E godot : USER ERROR: Condition "utility_function_table.has(sname)" is true.
09-11 12:29:02.881 31973 31973 E godot : at: register_utility_function (core/variant/variant_utility.cpp:1656)
09-11 12:29:02.881 31973 31973 E godot : USER ERROR: Condition "utility_function_table.has(sname)" is true.
09-11 12:29:02.881 31973 31973 E godot : at: register_utility_function (core/variant/variant_utility.cpp:1656)
09-11 12:29:02.881 31973 31973 E godot : USER ERROR: Condition "utility_function_table.has(sname)" is true.
09-11 12:29:02.881 31973 31973 E godot : at: register_utility_function (core/variant/variant_utility.cpp:1656)
09-11 12:29:02.881 31973 31973 E godot : USER ERROR: Condition "utility_function_table.has(sname)" is true.
09-11 12:29:02.881 31973 31973 E godot : at: register_utility_function (core/variant/variant_utility.cpp:1656)
09-11 12:29:02.903 31973 31973 E godot : USER ERROR: Condition "singleton != nullptr" is true.
09-11 12:29:02.904 31973 31973 E godot : at: ResourceUID (core/io/resource_uid.cpp:263)
09-11 12:29:02.906 31973 31973 E godot : USER ERROR: Condition "singleton != nullptr" is true.
09-11 12:29:02.906 31973 31973 E godot : at: GDExtensionManager (core/extension/gdextension_manager.cpp:289)
09-11 12:29:02.906 31973 31973 E godot : USER ERROR: IP singleton already exist.
09-11 12:29:02.906 31973 31973 E godot : at: create (core/io/ip.cpp:335)
09-11 12:29:02.912 31973 31973 E godot : USER ERROR: Singleton in InputMap already exist.
09-11 12:29:02.913 31973 31973 E godot : at: InputMap (core/input/input_map.cpp:854)
09-11 12:29:02.913 31973 31973 E godot : USER ERROR: Instantiating a new ProjectSettings singleton is not supported.
09-11 12:29:02.913 31973 31973 E godot : at: ProjectSettings (core/config/project_settings.cpp:1415)
And since it's an error related to singleton I think it's directly related to your way of managing autoloads because in my project everything compiles wells without this plugin installed. So I'm a little confused.
I did all the google cloud things etc etc it works, even with other plugins.
Oh, sorry for the misunderstanding! For what I can see in the logs, it's complaining about a singleton named IP, that already exists. Where is this singleton coming from? What plugins are you using? I will try to install them in a project of mine to see if there's any clashes with my plugin.
Okay so, I have admob plugin, SilentWolf plugin and yours, in godot it appears like below:
Now that you say it, I think there's a potential conflict between SilentWolf and your plugin.. Since I do not need silentwolf anymore I can remove it, but if people want to add both for google play players + silentwolf ones it will be impossible...
Okay, after removing SilentWolf from my project the conflict disappeared, however I have no SignIn pop up, nothing happens at start.
Here's the logcat:
09-11 18:25:15.749 5650 5721 I godot : Godot Engine v4.3.stable.official.77dcf97d8 - https://godotengine.org
09-11 18:25:16.593 5650 5721 I godot : OpenGL API OpenGL ES 3.1 v1.r15p0-00rel0.bdd9e62cdc8c88e0610a16b5901161e9 - Compatibility - Using Device: ARM - Mali-T720
09-11 18:25:16.668 5650 5721 I godot :
09-11 18:25:38.570 5650 5721 I godot : Plugin found!
Ok, it makes sense there's a conflict between Silent Wolf and mine. They do the same things with different backends after all! Thanks a lot for bringing this to my attention, I think I'll put a warning in my plugin while I try to figure out if it's worth to fix it.
For your problem, if the plugin logs the Plugin found!
line that's good. Do you have the Google Play app installed in your phone with a user logged in there? Also, in logcat, do you see anything else filtering with this expression: package:com.jacobibanez.godot.test.game package:com.google.android.gms
?
Is there something wrong with my AndroidManifest.xml
?
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:versionCode="1"
android:versionName="1.0"
android:installLocation="auto" >
<supports-screens
android:smallScreens="true"
android:normalScreens="true"
android:largeScreens="true"
android:xlargeScreens="true" />
<uses-feature
android:glEsVersion="0x00030000"
android:required="true" />
<application
android:label="@string/godot_project_name_string"
android:allowBackup="false"
android:icon="@mipmap/icon"
android:appCategory="game"
android:isGame="true"
android:hasFragileUserData="false"
android:requestLegacyExternalStorage="false"
tools:ignore="GoogleAppIndexingWarning" >
<profileable
android:shell="true"
android:enabled="true"
tools:targetApi="29" />
<!-- Records the version of the Godot editor used for building -->
<meta-data
android:name="org.godotengine.editor.version"
android:value="${godotEditorVersion}" />
<meta-data
android:name="com.google.android.gms.ads.APPLICATION_ID"
android:value="..." />
<!-- <meta-data
android:name="com.google.android.gms.games.APP_ID"
android:value="..." />
<meta-data
android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version"/> -->
<activity
android:name=".GodotApp"
android:label="@string/godot_project_name_string"
android:theme="@style/GodotAppSplashTheme"
android:launchMode="singleInstancePerTask"
android:excludeFromRecents="false"
android:exported="true"
android:screenOrientation="landscape"
android:configChanges="orientation|keyboardHidden|screenSize|smallestScreenSize|density|keyboard|navigation|screenLayout|uiMode"
android:resizeableActivity="false"
tools:ignore="UnusedAttribute" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
I never used logcat from the console (I use android studio) so I'm not sure how you filter packages, but you should definitely be seeing something from the Google package for sure.
Also, how does your code that uses the plugin look like?
About your manifest, you don't have to manually edit it if you use the new dock that the plugin creates. I would recommend redownloading the android build template.
I used the logcat of Android studio, to find out admob plugin is deprecated lol
My godot logs on android studio
Here's the logs of the expression you provided for logcat:
2024-09-12 08:37:25.954 7271-7282 .gms.persisten com.google.android.gms.persistent I Background concurrent copying GC freed 343588(14MB) AllocSpace objects, 0(0B) LOS objects, 49% free, 14MB/28MB, paused 187us total 783.333ms
2024-09-12 08:37:30.925 7271-9123 PackageManager com.google.android.gms.persistent V [4276071b-346d-4510-bc1d-bf16c360668c] Phase1 called; posting
2024-09-12 08:37:30.925 7271-7271 PackageManager com.google.android.gms.persistent D [4276071b-346d-4510-bc1d-bf16c360668c] Phase1 request; prefix: [-2130968576, -1721069568, -1552310272, -1010991104, -703688704, -142594048, 32677888, 94052352, 145063936, 199421952, 321712128, 410742784, 946360320, 1234231296, 1512538112, 1639194624, 1675415552, 1963466752], userId: 0
2024-09-12 08:37:30.942 7271-13942 PackageManager com.google.android.gms.persistent V [d43146e0-a2b6-456c-ab27-0ffd0976b623] Phase1 called; posting
2024-09-12 08:37:30.942 7271-7271 PackageManager com.google.android.gms.persistent D [d43146e0-a2b6-456c-ab27-0ffd0976b623] Phase1 request; prefix: [-2130968576, -1823723520, -1552310272, -1327525888, -1084518400, -986521600, -744370176, -698515456, -464322560, -321957888, -285040640, -46837760, 1138610176, 1672077312, 1871794176, 1888407552], userId: 0
2024-09-12 08:37:32.437 19882-19882 BoundBrokerSvc com.google.android.gms D onBind: Intent { act=com.google.android.gms.measurement.START pkg=com.google.android.gms }
2024-09-12 08:37:32.437 19882-19882 BoundBrokerSvc com.google.android.gms D Loading bound service for intent: Intent { act=com.google.android.gms.measurement.START pkg=com.google.android.gms }
2024-09-12 08:37:32.501 19882-19882 BoundBrokerSvc com.google.android.gms D onUnbind: Intent { act=com.google.android.gms.measurement.START pkg=com.google.android.gms }
2024-09-12 08:37:37.338 19882-19882 BoundBrokerSvc com.google.android.gms D onBind: Intent { act=com.google.android.gms.measurement.START pkg=com.google.android.gms }
2024-09-12 08:37:37.338 19882-19882 BoundBrokerSvc com.google.android.gms D Loading bound service for intent: Intent { act=com.google.android.gms.measurement.START pkg=com.google.android.gms }
2024-09-12 08:37:37.395 19882-16137 AdvertisingIdClient com.google.android.gms D AdvertisingIdClient already created.
2024-09-12 08:37:37.400 19882-16137 AdvertisingIdClient com.google.android.gms I shouldSendLog 1957693545
2024-09-12 08:37:37.401 19882-16137 AdvertisingIdClient com.google.android.gms I GetInfoInternal elapse 5ms
2024-09-12 08:37:37.546 19882-19882 BoundBrokerSvc com.google.android.gms D onUnbind: Intent { act=com.google.android.gms.measurement.START pkg=com.google.android.gms }
2024-09-12 08:37:39.404 19882-19882 BoundBrokerSvc com.google.android.gms D onBind: Intent { act=com.google.android.gms.measurement.START pkg=com.google.android.gms }
2024-09-12 08:37:39.404 19882-19882 BoundBrokerSvc com.google.android.gms D Loading bound service for intent: Intent { act=com.google.android.gms.measurement.START pkg=com.google.android.gms }
2024-09-12 08:37:39.725 19882-19882 BoundBrokerSvc com.google.android.gms D onUnbind: Intent { act=com.google.android.gms.measurement.START pkg=com.google.android.gms }
2024-09-12 08:37:39.985 7271-7271 BoundBrokerSvc com.google.android.gms.persistent D onBind: Intent { act=com.google.android.gms.instantapps.START pkg=com.google.android.gms }
2024-09-12 08:37:39.985 7271-7271 BoundBrokerSvc com.google.android.gms.persistent D Loading bound service for intent: Intent { act=com.google.android.gms.instantapps.START pkg=com.google.android.gms }
2024-09-12 08:37:40.489 7271-7271 BoundBrokerSvc com.google.android.gms.persistent D onBind: Intent { act=com.google.android.gms.phenotype.service.START pkg=com.google.android.gms }
2024-09-12 08:37:40.490 7271-7271 BoundBrokerSvc com.google.android.gms.persistent D Loading bound service for intent: Intent { act=com.google.android.gms.phenotype.service.START pkg=com.google.android.gms }
2024-09-12 08:37:40.703 7271-7271 BoundBrokerSvc com.google.android.gms.persistent D onUnbind: Intent { act=com.google.android.gms.instantapps.START pkg=com.google.android.gms }
2024-09-12 08:37:40.706 7271-7271 BoundBrokerSvc com.google.android.gms.persistent D onUnbind: Intent { act=com.google.android.gms.phenotype.service.START pkg=com.google.android.gms }
2024-09-12 08:37:41.097 7271-7271 BoundBrokerSvc com.google.android.gms.persistent D onBind: Intent { act=com.google.android.gms.common.telemetry.service.START dat=chimera-action: cmp=com.google.android.gms/.chimera.PersistentApiService }
2024-09-12 08:37:41.097 7271-7271 BoundBrokerSvc com.google.android.gms.persistent D Loading bound service for intent: Intent { act=com.google.android.gms.common.telemetry.service.START dat=chimera-action: cmp=com.google.android.gms/.chimera.PersistentApiService }
2024-09-12 08:37:41.106 7271-7271 BoundBrokerSvc com.google.android.gms.persistent D onBind: Intent { act=com.google.android.gms.phenotype.service.START pkg=com.google.android.gms }
2024-09-12 08:37:41.108 7271-7271 BoundBrokerSvc com.google.android.gms.persistent D Loading bound service for intent: Intent { act=com.google.android.gms.phenotype.service.START pkg=com.google.android.gms }
2024-09-12 08:37:41.317 7271-7271 BoundBrokerSvc com.google.android.gms.persistent D onBind: Intent { act=com.google.android.gms.auth.account.workaccount.START dat=chimera-action: cmp=com.google.android.gms/.chimera.PersistentApiService }
2024-09-12 08:37:41.317 7271-7271 BoundBrokerSvc com.google.android.gms.persistent D Loading bound service for intent: Intent { act=com.google.android.gms.auth.account.workaccount.START dat=chimera-action: cmp=com.google.android.gms/.chimera.PersistentApiService }
2024-09-12 08:37:41.452 7271-13942 PackageManager com.google.android.gms.persistent V [00d113f1-3b0a-4523-ab71-8c07092d7c79] Phase1 called; posting
2024-09-12 08:37:41.452 7271-7271 PackageManager com.google.android.gms.persistent D [00d113f1-3b0a-4523-ab71-8c07092d7c79] Phase1 request; prefix: [-2130968576, -2029850624, -1948659712, -1852477440, -1552310272, -1429458944, -577855488, -191750144, -166928384, -164945920, 203276288, 539660288, 946147328, 1776422912, 1913053184, 1913876480], userId: 0
2024-09-12 08:37:41.489 7271-13945 PackageManager com.google.android.gms.persistent V [0b63d898-2bef-4396-be75-b0d6309569fb] Phase1 called; posting
2024-09-12 08:37:41.492 7271-7271 PackageManager com.google.android.gms.persistent D [0b63d898-2bef-4396-be75-b0d6309569fb] Phase1 request; prefix: [-2130968576, -1701249024, -1609068544, -1552310272, -1234538496, -1031393280, -78815232, 177192960, 336166912, 1243922432, 1486258176, 1789186048], userId: 0
2024-09-12 08:37:41.953 7271-7271 BoundBrokerSvc com.google.android.gms.persistent D onUnbind: Intent { act=com.google.android.gms.common.telemetry.service.START dat=chimera-action: cmp=com.google.android.gms/.chimera.PersistentApiService }
2024-09-12 08:37:41.955 7271-7271 BoundBrokerSvc com.google.android.gms.persistent D onUnbind: Intent { act=com.google.android.gms.phenotype.service.START pkg=com.google.android.gms }
I have the somewhat complete startup logs
2024-09-12 10:15:56.177 28838-29294 ProfileInstaller com.MelonCorp.FlappyMelon D Installing profile for com.MelonCorp.FlappyMelon
2024-09-12 10:15:56.197 28695-1418 SignInPerformer-6 com.google.android.gms I signIn(com.MelonCorp.FlappyMelon): sign-in timing strategy suppressed an interactive prompt: PromptGrantResult{comment=No grant: Cooldown since last grant}. [CONTEXT service_id=1 ]
2024-09-12 10:15:56.199 28695-1418 SignInPerformer-6 com.google.android.gms I Reporting resolvable error with suppressed resolution for [com.MelonCorp.FlappyMelon] [CONTEXT service_id=1 ]
2024-09-12 10:15:56.257 28695-1418 GamesConnectSignInOp com.google.android.gms I signIn(com.MelonCorp.FlappyMelon): Returning suppressed SIGN_IN_REQUIRED for request fbz{gamePackageName=com.MelonCorp.FlappyMelon, gameUid=10181, gamePlayServicesClientLibraryVersion=12451000, sdkVariation=2101523, requestedScopes=[], callingIdentity=CallingIdentity{uid=10181, pid=28838, packageName=com.MelonCorp.FlappyMelon, playServicesClientLibraryVersion=12451000}, requestedAccount=Optional.absent(), forceResolveAccountKey=null, requestedServiceMode=0} [CONTEXT service_id=1 ]
2024-09-12 10:15:56.869 28838-28855 orp.FlappyMelo com.MelonCorp.FlappyMelon I Background young concurrent copying GC freed 20761(1369KB) AllocSpace objects, 6(184KB) LOS objects, 35% free, 2808KB/4325KB, paused 3.247ms total 201.454ms
2024-09-12 10:15:59.166 28838-28855 orp.FlappyMelo com.MelonCorp.FlappyMelon I Background young concurrent copying GC freed 8325(801KB) AllocSpace objects, 0(0B) LOS objects, 15% free, 3661KB/4325KB, paused 2.467ms total 146.837ms
2024-09-12 10:15:59.653 28838-28855 orp.FlappyMelo com.MelonCorp.FlappyMelon I Background young concurrent copying GC freed 7849(762KB) AllocSpace objects, 0(0B) LOS objects, 15% free, 3659KB/4325KB, paused 5.015ms total 82.986ms
2024-09-12 10:16:00.120 28838-29060 Godot com.MelonCorp.FlappyMelon V OnGodotSetupCompleted
2024-09-12 10:16:00.505 28838-29060 orp.FlappyMelo com.MelonCorp.FlappyMelon I The ClassLoaderContext is a special shared library.
2024-09-12 10:16:00.533 28838-29060 orp.FlappyMelo com.MelonCorp.FlappyMelon I The ClassLoaderContext is a special shared library.
2024-09-12 10:16:00.554 28838-29060 orp.FlappyMelo com.MelonCorp.FlappyMelon I The ClassLoaderContext is a special shared library.
2024-09-12 10:16:13.975 28838-29060 orp.FlappyMelo com.MelonCorp.FlappyMelon W Verification of android.content.ContentProvider com.google.android.gms.chimera.GmsAppComponentFactory.instantiateProvider(java.lang.ClassLoader, java.lang.String) took 115.548ms
2024-09-12 10:16:14.424 28838-29060 DynamiteModule com.MelonCorp.FlappyMelon I Considering local module com.google.android.gms.ads.dynamite:0 and remote module com.google.android.gms.ads.dynamite:242402501
2024-09-12 10:16:14.453 28838-29060 DynamiteModule com.MelonCorp.FlappyMelon I Selected remote version of com.google.android.gms.ads.dynamite, version >= 242402501
2024-09-12 10:16:14.477 28838-29060 DynamitePackage com.MelonCorp.FlappyMelon D Instantiated singleton DynamitePackage.
2024-09-12 10:16:14.478 28838-29060 DynamitePackage com.MelonCorp.FlappyMelon D Instantiating com.google.android.gms.ads.ChimeraMobileAdsSettingManagerCreatorImpl
2024-09-12 10:16:14.644 28838-29086 orp.FlappyMelo com.MelonCorp.FlappyMelon W Accessing hidden method Lsun/misc/Unsafe;->compareAndSwapObject(Ljava/lang/Object;JLjava/lang/Object;Ljava/lang/Object;)Z (greylist, linking, allowed)
2024-09-12 10:16:14.709 28838-29060 Ads com.MelonCorp.FlappyMelon I Updating ad debug logging enablement.
2024-09-12 10:16:14.721 28838-29060 orp.FlappyMelo com.MelonCorp.FlappyMelon W Accessing hidden method Lsun/misc/Unsafe;->compareAndSwapObject(Ljava/lang/Object;JLjava/lang/Object;Ljava/lang/Object;)Z (greylist, linking, allowed)
2024-09-12 10:16:14.722 28838-29086 orp.FlappyMelo com.MelonCorp.FlappyMelon W Accessing hidden method Lsun/misc/Unsafe;->compareAndSwapObject(Ljava/lang/Object;JLjava/lang/Object;Ljava/lang/Object;)Z (greylist, linking, allowed)
2024-09-12 10:16:14.722 28838-29086 orp.FlappyMelo com.MelonCorp.FlappyMelon W Accessing hidden method Lsun/misc/Unsafe;->getObject(Ljava/lang/Object;J)Ljava/lang/Object; (greylist, linking, allowed)
2024-09-12 10:16:14.750 28838-29086 Ads com.MelonCorp.FlappyMelon W Update ad debug logging enablement as false
2024-09-12 10:16:14.978 28838-28855 orp.FlappyMelo com.MelonCorp.FlappyMelon I Background concurrent copying GC freed 6245(369KB) AllocSpace objects, 7(764KB) LOS objects, 65% free, 3274KB/9418KB, paused 287us total 272.947ms
2024-09-12 10:16:14.988 28838-29060 orp.FlappyMelo com.MelonCorp.FlappyMelon W Accessing hidden method Lsun/misc/Unsafe;->compareAndSwapObject(Ljava/lang/Object;JLjava/lang/Object;Ljava/lang/Object;)Z (greylist, linking, allowed)
2024-09-12 10:16:15.041 28838-29083 orp.FlappyMelo com.MelonCorp.FlappyMelon W Accessing hidden method Lsun/misc/Unsafe;->compareAndSwapObject(Ljava/lang/Object;JLjava/lang/Object;Ljava/lang/Object;)Z (greylist, linking, allowed)
2024-09-12 10:16:15.050 28838-29060 orp.FlappyMelo com.MelonCorp.FlappyMelon W Accessing hidden method Lsun/misc/Unsafe;->compareAndSwapObject(Ljava/lang/Object;JLjava/lang/Object;Ljava/lang/Object;)Z (greylist, linking, allowed)
2024-09-12 10:16:15.088 28838-29060 godot com.MelonCorp.FlappyMelon I Plugin found!
2024-09-12 10:16:15.089 28838-29060 GodotPlayGameServices com.MelonCorp.FlappyMelon D Initializing Google Play Game Services
2024-09-12 10:16:15.089 28838-29060 SignInProxy com.MelonCorp.FlappyMelon D Checking if user is authenticated
2024-09-12 10:16:15.127 28838-29060 Godot com.MelonCorp.FlappyMelon V OnGodotMainLoopStarted
2024-09-12 10:16:15.244 28838-28838 WebViewFactory com.MelonCorp.FlappyMelon I Loading com.android.webview version 93.0.4577.82 (code 457708200)
2024-09-12 10:16:15.544 28838-28838 orp.FlappyMelo com.MelonCorp.FlappyMelon W Accessing hidden method Landroid/os/Trace;->isTagEnabled(J)Z (greylist, reflection, allowed)
2024-09-12 10:16:15.545 28838-28838 orp.FlappyMelo com.MelonCorp.FlappyMelon W Accessing hidden method Landroid/os/Trace;->traceBegin(JLjava/lang/String;)V (greylist, reflection, allowed)
2024-09-12 10:16:15.545 28838-28838 orp.FlappyMelo com.MelonCorp.FlappyMelon W Accessing hidden method Landroid/os/Trace;->traceEnd(J)V (greylist, reflection, allowed)
2024-09-12 10:16:15.545 28838-28838 orp.FlappyMelo com.MelonCorp.FlappyMelon W Accessing hidden method Landroid/os/Trace;->asyncTraceBegin(JLjava/lang/String;I)V (greylist, reflection, allowed)
2024-09-12 10:16:15.545 28838-28838 orp.FlappyMelo com.MelonCorp.FlappyMelon W Accessing hidden method Landroid/os/Trace;->asyncTraceEnd(JLjava/lang/String;I)V (greylist, reflection, allowed)
2024-09-12 10:16:15.567 28838-28838 cr_WVCFactoryProvider com.MelonCorp.FlappyMelon I Loaded version=93.0.4577.82 minSdkVersion=21 isBundle=false multiprocess=true packageId=2
2024-09-12 10:16:15.745 28838-28838 cr_LibraryLoader com.MelonCorp.FlappyMelon I Successfully loaded native library
2024-09-12 10:16:15.749 28838-28838 orp.FlappyMelo com.MelonCorp.FlappyMelon W Accessing hidden field Ljava/util/Collections$SynchronizedCollection;->mutex:Ljava/lang/Object; (greylist-max-o, reflection, denied)
2024-09-12 10:16:15.749 28838-28838 orp.FlappyMelo com.MelonCorp.FlappyMelon W Accessing hidden field Ljava/util/Collections$SynchronizedCollection;->c:Ljava/util/Collection; (greylist, reflection, allowed)
2024-09-12 10:16:15.750 28838-28838 orp.FlappyMelo com.MelonCorp.FlappyMelon W Accessing hidden method Ljava/util/Collections$SynchronizedSet;-><init>(Ljava/util/Set;Ljava/lang/Object;)V (greylist-max-o, reflection, denied)
2024-09-12 10:16:15.750 28838-28838 orp.FlappyMelo com.MelonCorp.FlappyMelon W Accessing hidden method Ljava/util/Collections$SynchronizedCollection;-><init>(Ljava/util/Collection;Ljava/lang/Object;)V (greylist-max-o, reflection, denied)
2024-09-12 10:16:15.772 28838-28838 cr_CachingUmaRecorder com.MelonCorp.FlappyMelon I Flushed 7 samples from 7 histograms.
2024-09-12 10:16:15.829 28838-28838 cr_VariationsUtils com.MelonCorp.FlappyMelon I Loaded seed with age 5983s
2024-09-12 10:16:15.934 2666-2695 ActivityManager system_server I Start proc 29639:com.android.webview:sandboxed_process0:org.chromium.content.app.SandboxedProcessService0:0/u0i131 for {com.MelonCorp.FlappyMelon/org.chromium.content.app.SandboxedProcessService0:0}
2024-09-12 10:16:16.357 28838-28838 orp.FlappyMelo com.MelonCorp.FlappyMelon W Accessing hidden method Landroid/webkit/WebChromeClient;->onThemeColorChanged(Landroid/webkit/WebView;I)V (blacklist, reflection, denied)
2024-09-12 10:16:16.806 28838-28838 SignInProxy com.MelonCorp.FlappyMelon D User authenticated: false
2024-09-12 10:16:16.891 28838-29692 orp.FlappyMelo com.MelonCorp.FlappyMelon W Accessing hidden method Landroid/media/AudioManager;->getOutputLatency(I)I (greylist, reflection, allowed)
2024-09-12 10:16:16.961 28838-29692 cr_media com.MelonCorp.FlappyMelon W Requires BLUETOOTH permission
2024-09-12 10:16:18.050 28838-28838 orp.FlappyMelo com.MelonCorp.FlappyMelon W Accessing hidden method Lsun/misc/Unsafe;->compareAndSwapObject(Ljava/lang/Object;JLjava/lang/Object;Ljava/lang/Object;)Z (greylist, linking, allowed)
2024-09-12 10:16:18.063 28838-28838 Ads com.MelonCorp.FlappyMelon I JS: The jsLoaded GMSG has been sent (https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/production/sdk-core-v40-impl.html:788)
2024-09-12 10:16:18.064 28838-28838 chromium com.MelonCorp.FlappyMelon I [INFO:CONSOLE(788)] "The jsLoaded GMSG has been sent", source: https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/production/sdk-core-v40-impl.html (788)
It returns that the user is not athenticated the script below do not do anything:
Everything looks good in the code, but if the is_authenticated
parameter is false, it should call the SingInClient.sign_in()
method and then a log with Signing in
/ User signed in: true
should appear, and I don't see that.
Can you try making a call directly to the SingInClient.sign_in()
method in your ready function, outside of the lambda connecting to the signal, and see what happens? This shouldn't be done like that, because your code already does the call in the else branch of the if, but I don't know what else to try, je vais pleurer aussi 😢
Also, are you sure you are logged in in your google play account in the google play app in your phone? I remember that being necessary like the first time you run the plugin or something
So, I'm that I'm logged in the app store, it's also the same email that I use to connect on Google Play games. (I have multiple emails in my test phone).
When doing directly, SignInClient.sign_in()
it successfully shows the connexion pop-up, but when I connect nothing happens on the game.
IT FUCKING WORKS, All I did, was deleting all plugins, android build and then reinstalling it properly, I'm so dumb
I'm so glad you figured it out! 😊😊