Rewarded Ad Causes Screen Resolution Shift and UI Distortion
[REQUIRED] Step 1: Describe your environment
- Unity version: 2022.3.55f1
- Google Mobile Ads Unity plugin version: v9.5.0
- Plugin installation method: Unity package manager
- Platform: iOS
- Platform OS version: iOS 18
- Any specific devices issue occurs on: iPhone 14 (most likely will happen on any new iPhone)
- Mediation ad networks used, and their versions: unity-ads:4.12.5 ironsource:8.6.1.0 applovin:13.0.1.0 facebook:6.18.0.0
[REQUIRED] Step 2: Describe the problem
Steps to reproduce:
In the video below, you can see that the ad messes up the screen resolution. Watch it carefully and you'll notice that as soon as the playable ad starts, the screen shifts down a little bit. After the video finishes, the game UI is also affected.
I suspect that this issue is related to #3722
https://github.com/user-attachments/assets/c002e78a-077b-42d7-822b-9156b2463b30
Hey David,
The following information might aid our investigation: Does this happen with all ads or mostly with playables / or a subset of ads? Have you been able to reproduce this behavior with our sample app using your ad units? Are you using a canvas for showing these objects? Is this happening on Android too?
Hey David,
The following information might aid our investigation: Does this happen with all ads or mostly with playables / or a subset of ads? Have you been able to reproduce this behavior with our sample app using your ad units? Are you using a canvas for showing these objects? Is this happening on Android too?
Does this happen with all ads, or mostly with playables or a specific type of ad? I can’t say for sure, but I suspect it’s caused by Applovin playables.
Have you been able to reproduce this behavior using our sample app with your ad units? No. It’s unlikely that the issue will show up with the default ads. You should try testing with Applovin playables specifically.
Are you using a canvas to display these objects? I’m using Unity UI, and there’s also a script that handles the UI safe area to add padding for things like the iPhone notch. Here's the link: https://assetstore.unity.com/packages/tools/gui/safe-area-helper-130488
The UI bug might be related to the "safe area" script. The script itself works correctly, but it’s possible that your SDK is changing some of the values it relies on, which could be breaking the UI.
Is this happening on Android too? No, I haven't seen something like that on Android
Hi, I am looking into this issue. This issue looks like it is specifically playable ads. Have you raised this issue with Applovin or tried temporarily removing them from the chain?
Hi, I am looking into this issue. This issue looks like it is specifically playable ads. Have you raised this issue with Applovin or tried temporarily removing them from the chain?
Hello, No I haven't raised this issue with Applovin because I use Admob SDK as a mediator and I think it is more related to this repo. And no I haven't removed Applovin from the mediation.
Super strange issue,
Let me run this by my team. Any additional steps or a sample we could run would be great.