I can reproduce this bug 100% of the time.
I have a game that runs in portrait. I am testing on iOS.
When I open a video ad, if I continue to view the ad in portrait (do not rotate my device), then close the ad when it’s finished, then things are all good!
BUT. If I:
- View an ad
- Rotate the device to landscape to actually watch the ad.
Then, when the ad is finished, the app will go back to portrait, but will constantly flip (several times a second) between upwards oriented and downwards oriented portrait. This cannot be stopped without fully quitting the app. In other words, the app is constantly flipping 180º, so is completely unusable. This is just as bad as a crash.
How do I fix this? I am doing nothing but:
if ( Advertisement.isReady() ) {Advertisement.Show();}
I have the latest Unity (5.1.0f3). I only just yesterday downloaded the ad framework from the asset store.