Quantcast
Channel: Questions in topic: "ads"
Viewing all articles
Browse latest Browse all 1416

AdMob RewardBasedVideoAd, App crash after reward video closed (Android)

$
0
0
Hi I'm working on Android game, and i want add AdMob Ads to my game. i have added Banner and interstitial Views but the problem in RewardBasedVideoAd specifically on OnAdRewarded event, when user close the video return to game to earn his reward game crash immediately. after many tries, i found the code which crash the game, gameObject.SetActive(true) And gameObject.SetActive(false) are the problem, when i deactive game panel UI and active reward panel UI game crash immediately. so what is the solution of this problem ?, and why game crash when i use gameObject.SetActive ? sorry if my english language is not clear.

Viewing all articles
Browse latest Browse all 1416

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>