ios 带有Google Admob的Unity游戏在启动时崩溃

dzhpxtsq  于 9个月前  发布在  iOS
关注(0)|答案(1)|浏览(161)

我在Unity中制作了一个游戏,并使用Google Admob在我的游戏中显示广告。去年它工作得很好。现在有一段时间(我每天都不检查iOS上的游戏),游戏一开始就崩溃了。我已经将我的iPhone连接到XCode。控制台中显示了以下内容。你能从中看出问题是什么吗?可能是什么问题?
如果你需要其他日志,请告诉我在Xcode或其他地方可以找到它们,因为我对Xcode不太熟悉。

2024-01-01 22:31:18.212416+0100 Tolf[5750:687721] UnityIAP UnityEarlyTransactionObserver: Created
2024-01-01 22:31:18.213225+0100 Tolf[5750:687721] UnityIAP UnityEarlyTransactionObserver: Registered for lifecycle events
2024-01-01 22:31:18.509487+0100 Tolf[5750:687721] Built from '2022.3/release' branch, Version '2022.3.12f1 (4fe6e059c7ef)', Build type 'Release', Scripting Backend 'il2cpp'
2024-01-01 22:31:18.510322+0100 Tolf[5750:687721] MemoryManager: Using 'Default' Allocator.
[UnityMemory] Configuration Parameters - Can be set up in boot.config
    "memorysetup-allocator-temp-initial-block-size-main=262144"
    "memorysetup-allocator-temp-initial-block-size-worker=262144"
    "memorysetup-bucket-allocator-granularity=16"
    "memorysetup-bucket-allocator-bucket-count=8"
    "memorysetup-bucket-allocator-block-size=4194304"
    "memorysetup-bucket-allocator-block-count=1"
    "memorysetup-main-allocator-block-size=16777216"
    "memorysetup-thread-allocator-block-size=16777216"
    "memorysetup-gfx-main-allocator-block-size=16777216"
    "memorysetup-gfx-thread-allocator-block-size=16777216"
    "memorysetup-cache-allocator-block-size=4194304"
    "memorysetup-typetree-allocator-block-size=2097152"
    "memorysetup-profiler-bucket-allocator-granularity=16"
    "memorysetup-profiler-bucket-allocator-bucket-count=8"
    "memorysetup-profiler-bucket-allocator-block-size=4194304"
    "memorysetup-profiler-bucket-allocator-block-count=1"
    "memorysetup-profiler-allocator-block-size=16777216"
    "memorysetup-profiler-editor-allocator-block-size=1048576"
    "memorysetup-temp-allocator-size-main=4194304"
    "memorysetup-job-temp-allocator-block-size=2097152"
    "memorysetup-job-temp-allocator-block-size-background=1048576"
    "memorysetup-job-temp-allocator-reduction-small-platforms=262144"
    "memorysetup-temp-allocator-size-background-worker=32768"
    "memorysetup-temp-allocator-size-job-worker=262144"
    "memorysetup-temp-allocator-size-preload-manager=262144"
    "memorysetup-temp-allocator-size-nav-mesh-worker=65536"
    "memorysetup-temp-allocator-size-audio-worker=65536"
    "memorysetup-temp-allocator-size-cloud-worker=32768"
    "memorysetup-temp-allocator-size-gfx=262144"
-> applicationDidFinishLaunching()
[Physics::Module] Initialized MultithreadedJobDispatcher with 5 workers.
2024-01-01 22:31:18.868387+0100 Tolf[5750:687721] UnityIAP UnityEarlyTransactionObserver: Added to the payment queue
GfxDevice: creating device client; threaded=1; jobified=0
Initializing Metal device caps: Apple A12 GPU
Initialize engine version: 2022.3.12f1 (4fe6e059c7ef)
-> applicationDidBecomeActive()
2024-01-01 22:31:19.429237+0100 Tolf[5750:687971]  - <Google>[I-ACS025031] AdMob App ID changed. Original, new: (nil), ca-app-pub-8024607594252244~7980677582
2024-01-01 22:31:19.429399+0100 Tolf[5750:687971]  - <Google>[I-ACS023007] Analytics v.71100000 started
2024-01-01 22:31:19.429779+0100 Tolf[5750:687971]  - <Google>[I-ACS023008] To enable debug logging set the following application argument: -APMAnalyticsDebugEnabled (see XXX_WEBSITE_XXX)
2024-01-01 22:31:19.481588+0100 Tolf[5750:687970]  - <Google>[I-ACS800023] No pending snapshot to activate. SDK name: app_measurement
2024-01-01 22:31:19.521723+0100 Tolf[5750:687970]  - <Google>[I-ACS023012] Analytics collection enabled
UnloadTime: 3.780042 ms
2024-01-01 22:31:22.062981+0100 Tolf[5750:687721] <Google> To get test ads on this device, set: GADMobileAds.sharedInstance.requestConfiguration.testDeviceIdentifiers = @[ @"0547383af6c0b80194e582328a10bfd0" ];
2024-01-01 22:31:22.147804+0100 Tolf[5750:687721] <Google> Note that test device identifiers may be reset when uninstalling and reinstalling the application.
2024-01-01 22:31:22.493641+0100 Tolf[5750:687721] [Security] This method should not be called on the main thread as it may lead to UI unresponsiveness.
2024-01-01 22:31:22.493698+0100 Tolf[5750:687721] [Security] This method should not be called on the main thread as it may lead to UI unresponsiveness.
2024-01-01 22:31:22.537797+0100 Tolf[5750:687970] <Google> <Google:HTML> You are currently using version 7.69.0 of the SDK, which is deprecated. Please consider updating your SDK to the most recent SDK version (10.12.0) to get the latest features and bug fixes. The latest SDK can be downloaded from XXXWebsiteXXX. More information about the SDK deprecation schedule is available at https://developers.google.com/admob/ios/deprecation.
HandleRewardedAdFailedToLoad event received with message: Failed to receive ad with error: Request Error: No ad to show.
X3VideoAd:HandleRewardedAdFailedToLoad(Object, AdErrorEventArgs)
GoogleMobileAds.iOS.RewardedAdClient:RewardedAdDidFailToReceiveAdWithErrorCallback(IntPtr, String)

libc++abi: terminating with uncaught exception of type Il2CppExceptionWrapper

字符串
我怀疑我需要以某种方式更新Unity中的SDK。但我不知道这是否是真实的问题。我还没有找到更新它的方法。在给定的链接下,我只找到Android和Apple的不同SDK。最初我有一个SDK用于两个系统。

kuarbcqp

kuarbcqp1#

你收到日志“未能接收广告与错误:请求错误:没有广告显示.”这意味着广告是没有准备好从服务器端,如果你的应用程序崩溃了几次,那么你应该调用广告与尝试捕捉模式,这将保存观众和减少崩溃!希望它应该工作!Mujuem!

相关问题