Unity 5.5.1p3
Unity ads from the store 2.0.8
Xcode 8.2.1
Tested on iOS 10, 9, and 8.
Today we were pushing out a new build. Testing on the ads showed no issues on Android, however, iOS suddenly doesn’t work. The button becomes active, but then when tapped on it looks like it’s trying to load the ad, but then doesn’t. Using log viewer, we see the message “video failed to play”. After one attempt at playing an ad, the ad button never turns back on to show a video is ready again.
Note everything is working fine on Android. Just iOS is suddenly not working (has been working fine previously).
I’m using the following for the ad button
void Update()
{
if (_button == null) return;
_button.interactable = (
Advertisement.isInitialized &&
Advertisement.IsReady(placementId) &&
PlayerData.myAdViews.adViews < GameData.instance.getAdCountAllowed()
);
}
Currently we’re trying to track down what may be the issue, was just trying to get some feedback in case anybody else has run into this issue or may know what is creating the problem.
Thank you in advance for any help you can provide.
Edit: I just saw this message in another post
“The issue with Ads code being stripped in iOS .ipa builds in Unity 5.5.1 has been fixed in Unity 5.5.2. Have you upgraded? Also works in 5.6.0f1, which I have used for submitting game to Apple App Store.” Is this the issue we are getting?