First of all, thank you for your plugin, on Android works pretty well.
Describe the bug
When i open the application, it crashes on test and on release version (wont load main scene or even splash screen). Only if i remove this Admob plugin, it works.
To Reproduce
- Compile
- Run
Expected behavior
Run the APP.
Screenshots
Smartphone (please complete the following information):
Tested on many devices.
Additional context
I try with many version of your plugin (manually & from Godot Asset Lib too), and also the recommended versions. The other errors on log its because it's a test, but the game works properly with that (when is not Admob plugin installed). Last version i tried is the recommended:
Godot version: 3.4
ios-template 3.4
godot-admob-ios 2.0.4
Android Editor Plugin 1.2.3
{\rtf1\ansi\ansicpg1252\cocoartf2636
\cocoatextscaling0\cocoaplatform0{\fonttbl\f0\fnil\fcharset0 Menlo-Bold;}
{\colortbl;\red255\green255\blue255;\red0\green0\blue0;\red255\green255\blue255;}
{*\expandedcolortbl;;\csgenericrgb\c0\c0\c0;\csgenericrgb\c100000\c100000\c100000;}
\paperw11900\paperh16840\margl1440\margr1440\vieww11520\viewh8400\viewkind0
\deftab593
\pard\tx593\pardeftab593\pardirnatural\partightenfactor0
\f0\b\fs24 \cf2 \cb3 *********** main.m
running app main
Path: /Users/joseguerraprado/Library/Developer/CoreSimulator/Devices/57BC649E-2FA0-4B2A-8A08-AE62F4BF44B5/data/Containers/Bundle/Application/54C9FD60-F0FC-4DCD-B1B7-0561DDD62777/exported_admob_project.app
godot_iphone /Users/joseguerraprado/Library/Developer/CoreSimulator/Devices/57BC649E-2FA0-4B2A-8A08-AE62F4BF44B5/data/Containers/Bundle/Application/54C9FD60-F0FC-4DCD-B1B7-0561DDD62777/exported_admob_project.app/exported_admob_project
cwd /Users/joseguerraprado/Library/Developer/CoreSimulator/Devices/57BC649E-2FA0-4B2A-8A08-AE62F4BF44B5/data/Containers/Bundle/Application/54C9FD60-F0FC-4DCD-B1B7-0561DDD62777/exported_admob_project.app
os created
setting data dir to /Users/joseguerraprado/Library/Developer/CoreSimulator/Devices/57BC649E-2FA0-4B2A-8A08-AE62F4BF44B5/data/Containers/Data/Application/34DDDE6F-E3F5-492C-95CE-16044E0A6941/Documents from /Users/joseguerraprado/Library/Developer/CoreSimulator/Devices/57BC649E-2FA0-4B2A-8A08-AE62F4BF44B5/data/Containers/Data/Application/34DDDE6F-E3F5-492C-95CE-16044E0A6941/Documents
setup 0
2021-12-17 10:06:37.576804-0300 exported_admob_project[1962:30761] Setting up an OpenGL ES 3.0 context. Based on Project Settings "rendering/quality/driver/driver_name"
2021-12-17 10:06:37.578040-0300 exported_admob_project[1962:30761] failed to make complete framebuffer object 8cd6
2021-12-17 10:06:37.578225-0300 exported_admob_project[1962:30761] Failed to create frame buffer!
******** setting up keyboard input view
******** adding observer for keyboard show/hide
2021-12-17 10:06:37.648967-0300 exported_admob_project[1962:30761] [plugin] AddInstanceForFactory: No factory registered for id <CFUUID 0x600001063ea0> F8BB1C28-BAE8-11D6-9C31-00039315CD46
start animation!
2021-12-17 10:06:37.667984-0300 exported_admob_project[1962:30761] ERROR: AudioOutputUnitStart failed, code: -50
2021-12-17 10:06:37.668158-0300 exported_admob_project[1962:30761] at: start (drivers/coreaudio/audio_driver_coreaudio.cpp:249) - AudioOutputUnitStart failed, code: -50
ERROR: AudioOutputUnitStart failed, code: -50
at: start (drivers/coreaudio/audio_driver_coreaudio.cpp:249) - AudioOutputUnitStart failed, code: -50
2021-12-17 10:06:37.785018-0300 exported_admob_project[1962:30761] Godot Engine v3.4.stable.official.206ba70f4 - https://godotengine.org\
Godot Engine v3.4.stable.official.206ba70f4 - https://godotengine.org\
2021-12-17 10:06:37.965888-0300 exported_admob_project[1962:30761] OpenGL ES 3.0 Renderer: Apple Software Renderer
OpenGL ES 3.0 Renderer: Apple Software Renderer
2021-12-17 10:06:37.966430-0300 exported_admob_project[1962:31203] [Client] Updating selectors failed with: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated.}
2021-12-17 10:06:37.966689-0300 exported_admob_project[1962:31203] [Client] Updating selectors after delegate addition failed with: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated.}
2021-12-17 10:06:37.966908-0300 exported_admob_project[1962:31147] [Client] Synchronous remote object proxy returned error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated.}
2021-12-17 10:06:37.967698-0300 exported_admob_project[1962:31147] [Client] Synchronous remote object proxy returned error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated.}
2021-12-17 10:06:37.967930-0300 exported_admob_project[1962:31203] [Client] Updating selectors failed with: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated.}
2021-12-17 10:06:37.969497-0300 exported_admob_project[1962:31147] [Client] Synchronous remote object proxy returned error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated.}
2021-12-17 10:06:37.969875-0300 exported_admob_project[1962:31203] [Client] Updating selectors failed with: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated.}
2021-12-17 10:06:37.970091-0300 exported_admob_project[1962:30761] OpenGL ES Batching: ON
OpenGL ES Batching: ON
2021-12-17 10:06:38.230689-0300 exported_admob_project[1962:31217] - [I-ACS025031] AdMob App ID changed. Original, new: (nil), ca-app-pub-6443337560966810~4706310500
2021-12-17 10:06:38.368068-0300 exported_admob_project[1962:30761]
2021-12-17 10:06:39.566912-0300 exported_admob_project[1962:30761] ERROR: Failed loading resource: res://Text/languages_tutorial.csv. Make sure resources have been imported by opening the project in the editor at least once.
2021-12-17 10:06:39.567109-0300 exported_admob_project[1962:30761] at: _load (core/io/resource_loader.cpp:271) - Condition "found" is true. Returned: RES()
ERROR: Failed loading resource: res://Text/languages_tutorial.csv. Make sure resources have been imported by opening the project in the editor at least once.
at: _load (core/io/resource_loader.cpp:271) - Condition "found" is true. Returned: RES()
2021-12-17 10:06:39.675975-0300 exported_admob_project[1962:30761] init admob plugin
2021-12-17 10:06:39.676215-0300 exported_admob_project[1962:30761] initialize admob
2021-12-17 10:06:39.877632-0300 exported_admob_project[1962:30761] WARNING: Font oversampling only works with the stretch modes "Keep Width", "Keep Height" and "Expand", not "Ignore". To remove this warning, disable Rendering > Quality > Dynamic Fonts > Use Oversampling in the Project Settings.
2021-12-17 10:06:39.877800-0300 exported_admob_project[1962:30761] at: _update_root_rect (scene/main/scene_tree.cpp:1133) - Font oversampling only works with the stretch modes "Keep Width", "Keep Height" and "Expand", not "Ignore". To remove this warning, disable Rendering > Quality > Dynamic Fonts > Use Oversampling in the Project Settings.
WARNING: Font oversampling only works with the stretch modes "Keep Width", "Keep Height" and "Expand", not "Ignore". To remove this warning, disable Rendering > Quality > Dynamic Fonts > Use Oversampling in the Project Settings.
at: _update_root_rect (scene/main/scene_tree.cpp:1133) - Font oversampling only works with the stretch modes "Keep Width", "Keep Height" and "Expand", not "Ignore". To remove this warning, disable Rendering > Quality > Dynamic Fonts > Use Oversampling in the Project Settings.
2021-12-17 10:06:40.778313-0300 exported_admob_project[1962:30761] SCRIPT ERROR: Parse Error: The class "AdMob" shadows a native class.
2021-12-17 10:06:40.778511-0300 exported_admob_project[1962:30761] at: GDScript::load_byte_code (res://admob-lib/admob.gdc:4) - Parse Error: The class "AdMob" shadows a native class.
SCRIPT ERROR: Parse Error: The class "AdMob" shadows a native class.
at: GDScript::load_byte_code (res://admob-lib/admob.gdc:4) - Parse Error: The class "AdMob" shadows a native class.
2021-12-17 10:06:40.778681-0300 exported_admob_project[1962:30761] ERROR: Method failed. Returning: ERR_PARSE_ERROR
2021-12-17 10:06:40.778874-0300 exported_admob_project[1962:30761] at: load_byte_code (modules/gdscript/gdscript.cpp:750) - Method failed. Returning: ERR_PARSE_ERROR
ERROR: Method failed. Returning: ERR_PARSE_ERROR
at: load_byte_code (modules/gdscript/gdscript.cpp:750) - Method failed. Returning: ERR_PARSE_ERROR
2021-12-17 10:06:40.779069-0300 exported_admob_project[1962:30761] ERROR: Cannot load byte code from file 'res://admob-lib/admob.gdc'.
2021-12-17 10:06:40.779227-0300 exported_admob_project[1962:30761] at: load (modules/gdscript/gdscript.cpp:2173) - Condition "err != OK" is true. Returned: RES()
ERROR: Cannot load byte code from file 'res://admob-lib/admob.gdc'.
at: load (modules/gdscript/gdscript.cpp:2173) - Condition "err != OK" is true. Returned: RES()
2021-12-17 10:06:40.779492-0300 exported_admob_project[1962:30761] ERROR: Failed loading resource: res://admob-lib/admob.gdc. Make sure resources have been imported by opening the project in the editor at least once.
2021-12-17 10:06:40.779643-0300 exported_admob_project[1962:30761] at: _load (core/io/resource_loader.cpp:271) - Condition "found" is true. Returned: RES()
ERROR: Failed loading resource: res://admob-lib/admob.gdc. Make sure resources have been imported by opening the project in the editor at least once.
at: _load (core/io/resource_loader.cpp:271) - Condition "found" is true. Returned: RES()
2021-12-17 10:06:40.783635-0300 exported_admob_project[1962:30761] ERROR: res://Scenes/AdMob_long.tscn:3 - Parse Error: [ext_resource] referenced nonexistent resource at: res://admob-lib/admob.gd
2021-12-17 10:06:40.783784-0300 exported_admob_project[1962:30761] at: poll (scene/resources/resource_format_text.cpp:412) - res://Scenes/AdMob_long.tscn:3 - Parse Error: [ext_resource] referenced nonexistent resource at: res://admob-lib/admob.gd
ERROR: res://Scenes/AdMob_long.tscn:3 - Parse Error: [ext_resource] referenced nonexistent resource at: res://admob-lib/admob.gd
at: poll (scene/resources/resource_format_text.cpp:412) - res://Scenes/AdMob_long.tscn:3 - Parse Error: [ext_resource] referenced nonexistent resource at: res://admob-lib/admob.gd
2021-12-17 10:06:40.783938-0300 exported_admob_project[1962:30761] ERROR: Failed to load resource 'res://Scenes/AdMob_long.tscn'.
2021-12-17 10:06:40.784077-0300 exported_admob_project[1962:30761] at: load (core/io/resource_loader.cpp:206) - Condition "err != OK" is true. Returned: RES()
ERROR: Failed to load resource 'res://Scenes/AdMob_long.tscn'.
at: load (core/io/resource_loader.cpp:206) - Condition "err != OK" is true. Returned: RES()
2021-12-17 10:06:40.784415-0300 exported_admob_project[1962:30761] ERROR: Failed loading resource: res://Scenes/AdMob_long.tscn. Make sure resources have been imported by opening the project in the editor at least once.
2021-12-17 10:06:40.784587-0300 exported_admob_project[1962:30761] at: _load (core/io/resource_loader.cpp:271) - Condition "found" is true. Returned: RES()
ERROR: Failed loading resource: res://Scenes/AdMob_long.tscn. Make sure resources have been imported by opening the project in the editor at least once.
at: _load (core/io/resource_loader.cpp:271) - Condition "found" is true. Returned: RES()
2021-12-17 10:06:40.784767-0300 exported_admob_project[1962:30761] ERROR: res://Scenes/AdMob.tscn:4 - Parse Error: [ext_resource] referenced nonexistent resource at: res://Scenes/AdMob_long.tscn
2021-12-17 10:06:40.784925-0300 exported_admob_project[1962:30761] at: poll (scene/resources/resource_format_text.cpp:412) - res://Scenes/AdMob.tscn:4 - Parse Error: [ext_resource] referenced nonexistent resource at: res://Scenes/AdMob_long.tscn
ERROR: res://Scenes/AdMob.tscn:4 - Parse Error: [ext_resource] referenced nonexistent resource at: res://Scenes/AdMob_long.tscn
at: poll (scene/resources/resource_format_text.cpp:412) - res://Scenes/AdMob.tscn:4 - Parse Error: [ext_resource] referenced nonexistent resource at: res://Scenes/AdMob_long.tscn
2021-12-17 10:06:40.785106-0300 exported_admob_project[1962:30761] ERROR: Failed to load resource 'res://Scenes/AdMob.tscn'.
2021-12-17 10:06:40.785245-0300 exported_admob_project[1962:30761] at: load (core/io/resource_loader.cpp:206) - Condition "err != OK" is true. Returned: RES()
ERROR: Failed to load resource 'res://Scenes/AdMob.tscn'.
at: load (core/io/resource_loader.cpp:206) - Condition "err != OK" is true. Returned: RES()
2021-12-17 10:06:40.785889-0300 exported_admob_project[1962:30761] ERROR: Failed loading resource: res://Scenes/AdMob.tscn. Make sure resources have been imported by opening the project in the editor at least once.
2021-12-17 10:06:40.786121-0300 exported_admob_project[1962:30761] at: _load (core/io/resource_loader.cpp:271) - Condition "found" is true. Returned: RES()
ERROR: Failed loading resource: res://Scenes/AdMob.tscn. Make sure resources have been imported by opening the project in the editor at least once.
at: _load (core/io/resource_loader.cpp:271) - Condition "found" is true. Returned: RES()
2021-12-17 10:06:40.786597-0300 exported_admob_project[1962:30761] ERROR: res://Scenes/game.tscn:24 - Parse Error: [ext_resource] referenced nonexistent resource at: res://Scenes/AdMob.tscn
2021-12-17 10:06:40.786961-0300 exported_admob_project[1962:30761] at: poll (scene/resources/resource_format_text.cpp:412) - res://Scenes/game.tscn:24 - Parse Error: [ext_resource] referenced nonexistent resource at: res://Scenes/AdMob.tscn
ERROR: res://Scenes/game.tscn:24 - Parse Error: [ext_resource] referenced nonexistent resource at: res://Scenes/AdMob.tscn
at: poll (scene/resources/resource_format_text.cpp:412) - res://Scenes/game.tscn:24 - Parse Error: [ext_resource] referenced nonexistent resource at: res://Scenes/AdMob.tscn
2021-12-17 10:06:40.787386-0300 exported_admob_project[1962:30761] ERROR: Failed to load resource 'res://Scenes/game.tscn'.
2021-12-17 10:06:40.787828-0300 exported_admob_project[1962:30761] at: load (core/io/resource_loader.cpp:206) - Condition "err != OK" is true. Returned: RES()
ERROR: Failed to load resource 'res://Scenes/game.tscn'.
at: load (core/io/resource_loader.cpp:206) - Condition "err != OK" is true. Returned: RES()
2021-12-17 10:06:40.788753-0300 exported_admob_project[1962:30761] ERROR: Failed loading resource: res://Scenes/game.tscn. Make sure resources have been imported by opening the project in the editor at least once.
2021-12-17 10:06:40.788924-0300 exported_admob_project[1962:30761] at: _load (core/io/resource_loader.cpp:271) - Condition "found" is true. Returned: RES()
ERROR: Failed loading resource: res://Scenes/game.tscn. Make sure resources have been imported by opening the project in the editor at least once.
at: _load (core/io/resource_loader.cpp:271) - Condition "found" is true. Returned: RES()
2021-12-17 10:06:40.789178-0300 exported_admob_project[1962:30761] ERROR: res://Scenes/mainmenu.tscn:20 - Parse Error: [ext_resource] referenced nonexistent resource at: res://Scenes/game.tscn
2021-12-17 10:06:40.789565-0300 exported_admob_project[1962:30761] at: poll (scene/resources/resource_format_text.cpp:412) - res://Scenes/mainmenu.tscn:20 - Parse Error: [ext_resource] referenced nonexistent resource at: res://Scenes/game.tscn
ERROR: res://Scenes/mainmenu.tscn:20 - Parse Error: [ext_resource] referenced nonexistent resource at: res://Scenes/game.tscn
at: poll (scene/resources/resource_format_text.cpp:412) - res://Scenes/mainmenu.tscn:20 - Parse Error: [ext_resource] referenced nonexistent resource at: res://Scenes/game.tscn
2021-12-17 10:06:40.790172-0300 exported_admob_project[1962:30761] ERROR: Failed to load resource 'res://Scenes/mainmenu.tscn'.
2021-12-17 10:06:40.790418-0300 exported_admob_project[1962:30761] at: load (core/io/resource_loader.cpp:206) - Condition "err != OK" is true. Returned: RES()
ERROR: Failed to load resource 'res://Scenes/mainmenu.tscn'.
at: load (core/io/resource_loader.cpp:206) - Condition "err != OK" is true. Returned: RES()
2021-12-17 10:06:40.893415-0300 exported_admob_project[1962:30761] ERROR: Failed loading resource: res://Scenes/mainmenu.tscn. Make sure resources have been imported by opening the project in the editor at least once.
2021-12-17 10:06:40.893588-0300 exported_admob_project[1962:30761] at: _load (core/io/resource_loader.cpp:271) - Condition "found" is true. Returned: RES()
ERROR: Failed loading resource: res://Scenes/mainmenu.tscn. Make sure resources have been imported by opening the project in the editor at least once.
at: _load (core/io/resource_loader.cpp:271) - Condition "found" is true. Returned: RES()
2021-12-17 10:06:40.893759-0300 exported_admob_project[1962:30761] ERROR: Failed loading scene: res://Scenes/mainmenu.tscn
2021-12-17 10:06:40.893894-0300 exported_admob_project[1962:30761] at: start (main/main.cpp:1998) - Condition "!scene" is true. Returned: false
ERROR: Failed loading scene: res://Scenes/mainmenu.tscn
at: start (main/main.cpp:1998) - Condition "!scene" is true. Returned: false
2021-12-17 10:06:40.904398-0300 exported_admob_project[1962:30761] DrawView: 501 error
2021-12-17 10:06:46.079421-0300 exported_admob_project[1962:31567] - [I-ACS023007] Analytics v.80901000 started
2021-12-17 10:06:46.102558-0300 exported_admob_project[1962:31567] - [I-ACS023008] To enable debug logging set the following application argument: -APMAnalyticsDebugEnabled (see http://goo.gl/RfcP7r)\
2021-12-17 10:06:49.903233-0300 exported_admob_project[1962:31567] - [I-ACS800023] No pending snapshot to activate. SDK name: app_measurement
2021-12-17 10:06:54.798931-0300 exported_admob_project[1962:31203] - [I-ACS023012] Analytics collection enabled
}