Hello!
I have build a game for Android and iOS, the first version is public in the Play Store and in the App Store. On Play Store I published with “Project Settings → Player → Product Name → PokerTowerDefense” and on App Store I published with “Project Settings → Player → Product Name → Poker TD”. Until now everything works fine and the ads are working on both published versions.
Now I wanted to release an update for it. When i am building for Android and test it, the App crashes when I want to show an ad. But only if I have the settings at “Project Settings → Player → Product Name → PokerTowerDefense”. If I have “Project Settings → Player → Product Name → Poker TD” the ads are working.
I want to build with “PokerTowerDefense”, because the App also uses Application.persistentDataPath for saving Data, but the path changes if I use “Poker TD”.
Here is a Log from the crash:
12-04 11:32:58.091: I/UnityAds(1489): com.unity3d.services.ads.UnityAdsImplementation.show() (line:222) :: Unity Ads opening new ad unit for placement ChangeCardColor
12-04 11:32:58.202: I/UnityAds(1489): com.unity3d.services.core.api.Sdk.logInfo() (line:82) :: Opening performance ad unit with orientation LANDSCAPE, hardware acceleration enabled
12-04 11:32:58.275: I/Unity(1489): windowFocusChanged: false
12-04 11:32:58.275: I/Unity(1489): onPause
12-04 11:32:58.384: W/google-breakpad(1489): ### ### ### ### ### ### ### ### ### ### ### ### ###
12-04 11:32:58.384: W/google-breakpad(1489): Chrome build fingerprint:
12-04 11:32:58.384: W/google-breakpad(1489): 0.2
12-04 11:32:58.384: W/google-breakpad(1489): 2
12-04 11:32:58.384: W/google-breakpad(1489): ### ### ### ### ### ### ### ### ### ### ### ### ###
12-04 11:32:58.386: E/CRASH(1489): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0000000000000028
12-04 11:32:58.386: E/CRASH(1489): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
12-04 11:32:58.386: E/CRASH(1489): Build type 'Development', Scripting Backend 'il2cpp', CPU 'arm64-v8a'
12-04 11:32:58.386: E/CRASH(1489): Build fingerprint: 'HONOR/FRD-L19/HWFRD:7.0/HUAWEIFRD-L19/C432B405:user/release-keys'
12-04 11:32:58.386: E/CRASH(1489): Revision: '0'
12-04 11:32:58.386: E/CRASH(1489): pid: 1489, tid: 1532, name: UnityMain >>> com.TesiGames.PokerTowerDefense <<<
12-04 11:32:58.386: E/CRASH(1489): x0 0000000000000028 x1 0000000000000000 x2 0000007ce6a7b010 x3 f97d71eccafe551e
12-04 11:32:58.386: E/CRASH(1489): x4 0000007cd322124c x5 00000000ffffffff x6 00000000ffffffff x7 000000000000004d
12-04 11:32:58.387: E/CRASH(1489): x8 0000007cc2192900 x9 f97d71eccafe551e x10 0000007ce257fa88 x11 0000000000000000
12-04 11:32:58.387: E/CRASH(1489): x12 0000000000000000 x13 00000000375509ec x14 00000000000048a8 x15 00000000000046e8
12-04 11:32:58.387: E/CRASH(1489): x16 0000007cd4876948 x17 0000007ce6a1d22c x18 0000007cdc23df72 x19 0000000000000028
12-04 11:32:58.387: E/CRASH(1489): x20 0000007cd4874000 x21 0000007ce257fa80 x22 0000007cc74c4530 x23 0000007ce25814e8
12-04 11:32:58.387: E/CRASH(1489): x24 0000000000000004 x25 f97d71eccafe551e x26 0000007cd96e1a98 x27 0000000000000000
12-04 11:32:58.387: E/CRASH(1489): x28 0000000000000001 x29 0000007ce257fc28 x30 0000007cd32213b8
12-04 11:32:58.387: E/CRASH(1489): sp 0000007ce257f9a0 pc 0000007ce6a1d22c pstate 0000000060000000
12-04 11:32:58.387: E/CRASH(1489): backtrace:
12-04 11:32:58.764: I/HwCust(1710): Constructor found for class android.app.HwCustActivityImpl
12-04 11:32:58.767: I/HwCust(1710): Constructor found for class android.app.HwCustHwWallpaperManagerImpl
12-04 11:32:58.772: E/UnityAds(1710): com.unity3d.services.ads.adunit.AdUnitActivity.onCreate() (line:61) :: Unity Ads web app is null, closing Unity Ads activity from onCreate
I have tried building on a Mac and on a Windows machine. The Problem happens on both.
I’m looking forward for any help!
Edit: In the Editor also everything is working fine.