I’ve done testing through test mode, uploaded on play store as internal test and everything was fine.
When I switched the mode to production mode on Unity Ad, app crashes after Ad complete.
How can I debug this situation?
Solved.
Actually Happens to be a bug in Advertisement Asset.
Known issue, and said will be solved in 4.2.0.
Meanwhile the solution is to make
IEnumerator callback{
yield return null
// do stuff after Unity Ad Event Fired
}
and then on the event you want to run callback, (in my case onWatchCompleted)
public void onWatchCompleted(){
StartCoroutine(callback());
}
this will put callback method on main thread.