Open Lucky0710 opened 5 years ago
The logs in detail:
2019-02-27 16:12:13.492216+0100 Collide[1383:258166] GodotAdmob Module already initialized
2019-02-27 16:12:13.492264+0100 Collide[1383:258166] Calling loadRewardedVideo
2019-02-27 16:12:13.497362+0100 Collide[1383:258166]
and the app freeze totally
Is it related to #72?
having the same issue. using the templates you provided. everything works perfectly on the android side of the house. game loads and freezes on showbanner(). using godot 3.1.1. xcode debug logs below:
2019-08-08 18:27:13.094604-0600 adsplode_mvp[6564:2787201] [DYMTLInitPlatform] platform initialization successful
*** main.m
running app main
Path: /var/containers/Bundle/Application/9218873E-4B87-4089-9C20-5D16636B0018/adsplode_mvp.app
godot_iphone /var/containers/Bundle/Application/9218873E-4B87-4089-9C20-5D16636B0018/adsplode_mvp.app/adsplode_mvp
cwd /private/var/containers/Bundle/Application/9218873E-4B87-4089-9C20-5D16636B0018/adsplode_mvp.app
os created
setting data dir to /var/mobile/Containers/Data/Application/E26F86D7-F9CD-4FEF-BB7E-9004E5382CEC/Documents from /var/mobile/Containers/Data/Application/E26F86D7-F9CD-4FEF-BB7E-9004E5382CEC/Documents
setup 0
after init super 0x10291af00
2019-08-08 18:27:13.261941-0600 adsplode_mvp[6564:2787064] Metal GPU Frame Capture Enabled
2019-08-08 18:27:13.262455-0600 adsplode_mvp[6564:2787064] Metal API Validation Enabled
2019-08-08 18:27:13.369780-0600 adsplode_mvp[6564:2787064] Setting up an OpenGL ES 3 context. Based on Project Settings "rendering/quality/driver/driver_name"
**** screen size 1125, 2436
after init gles 0x10291af00
**** adding observer for sound routing changes
**** adding observer for keyboard show/hide
cadisaplylink: 1start animation!
**** screen size 1125, 2436
2019-08-08 18:27:13.502981-0600 adsplode_mvp[6564:2787064] +[CATransaction synchronize] called within transaction
2019-08-08 18:27:13.504815-0600 adsplode_mvp[6564:2787064] +[CATransaction synchronize] called within transaction
2019-08-08 18:27:13.509281-0600 adsplode_mvp[6564:2787064] +[CATransaction synchronize] called within transaction
2019-08-08 18:27:13.512877-0600 adsplode_mvp[6564:2787208] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles
2019-08-08 18:27:13.514167-0600 adsplode_mvp[6564:2787208] [MC] Reading from public effective user settings.
2019-08-08 18:27:13.518112-0600 adsplode_mvp[6564:2787064] OpenGL ES 3.0 Renderer: Apple A11 GPU
2019-08-08 18:27:13.843545-0600 adsplode_mvp[6564:2787064] ERROR: Condition ' instance != __null ' is true.
2019-08-08 18:27:13.843590-0600 adsplode_mvp[6564:2787064] At: modules/admob/ios/src/godotAdmob.mm:12:GodotAdmob() - Condition ' instance != __null ' is true.
2019-08-08 18:27:13.880056-0600 adsplode_mvp[6564:2787198] [NetworkInfo] Signal strength query returned error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied", descriptor: <CTServiceDescriptor 0x2805cd4c0, domain=1, instance=1>
2019-08-08 18:27:13.943680-0600 adsplode_mvp[6564:2787064] WARNING: Font oversampling only works with the resize modes 'Keep Width', 'Keep Height', and 'Expand'.
2019-08-08 18:27:13.943710-0600 adsplode_mvp[6564:2787064] At: scene/main/scene_tree.cpp:1158:_update_root_rect() - Font oversampling only works with the resize modes 'Keep Width', 'Keep Height', and 'Expand'.
2019-08-08 18:27:13.958967-0600 adsplode_mvp[6564:2787064] ERROR: Error opening file: res://art_assets/icon.png
2019-08-08 18:27:13.959021-0600 adsplode_mvp[6564:2787064] At: core/io/image_loader.cpp:56:load_image() - Error opening file: res://art_assets/icon.png
2019-08-08 18:27:13.959500-0600 adsplode_mvp[6564:2787064] Calling loadBanner
2019-08-08 18:27:13.961097-0600 adsplode_mvp[6564:2787064]
@Lucky0710 this issue still persists?
@Lucky0710 Create to new node file on Autoload, checked singleton.
OS target (Android/iOS): iOS
Godot version: 3.06
Issue description: I'm using Godot 3.0.6 and using an iPhone 7
My game works fine exported from Godot without the Admob Module. So I recompiled the iOS export template with admob module, exported my game from Godot with my new export templates, followed all the Readme of the Admob module. When I run my game on my iPhone with Xcode:
everything works fine, admob is initialised. But when i make a request for a rewarded video ad, the game crashes. I get this from Xcode:
I precise that my game works perfectly fine on an android with admob, so it is not my code. Maybe i messed up things during the export for iOS with the admob module, i'm very new to Xcode so i am a bit confused, but i think i've done everything the tutorial said.