Hi, we are trying to migrate to new version of Unity, and everything works from the editor - the game runs properly, but when we build an APK file and launch it on the phone it crashes with attached log.
The cause is null pointer dereference and the only useful line that I see in the logs is:
/data/app/com.distillgames.raceduels-HSHViyjijabkBazKU7Xsmg==/lib/arm64/libunity.so (UnityAdsSettings_Get_Custom_PropTestMode()+44) (BuildId: d915ad471ca47dbe07aa874a318b1d62c0871111)
We are using the Advertisement package and the only lines that are called in the scene that is crashing are:
Advertisement.Initialize (gameId, gameplaySettings.advertisementTestMode);
Advertisement.AddListener(this);
Is this related to Advertisement at all, or is there some other issue?
If anyone faces the same issue - we fixed this by configuring Unity Ads in the Editor Window “Services” - looks like it somehow got lost when migrating between Unity versions.
Thank the Maker for you sir, I can’t believe the setting to enable Ads got auto switched off. Been banging my head on this for days and just ran across this and it’s stopped the torture. =)
Hi Hope you all are good is there any Possibility to run unity ads on mobile without active the services ads Panel in the unity If anyone knows please share his/her Knowledge Please