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.
↧