question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The UMP consent popup has terrible performance on Android due to hardware acceleration being disabled

See original GitHub issue
  • Unity version: 2022.3.3f1
  • Google Mobile Ads Unity plugin version: 8.3.0
  • Platform: Android
  • Platform OS version: Android 12
  • Any specific devices issue occurs on: All, but particularly slow on a Samsung S21
  • Mediation ad networks used, and their versions: None

Unity forces android:hardwareAccelerated to be set to false on the main player activity, causing the UMP popup to be extremely slow on some devices, as bad as 1-2 FPS on a Samsung S21, after scrolling for a few seconds. Likely because the UMP SDK uses a WebView to display the popup, which has notoriously bad performance without hardware acceleration.

Setting hardware acceleration to true (with a post-process script) makes the consent popup smooth and fixes the problem. But this is a very bad workaround as setting it to true can cause huge performance drops in-game.

Proposed solution by Unity is to display the WebView in a separate activity that is hardware accelerated. Is this something you can implement? As, currently, it makes the UMP SDK for Unity unusable on some devices.

Issue Analytics

  • State:closed
  • Created 2 months ago
  • Reactions:4
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Nyankoocommented, Aug 8, 2023

@vavakadopano The issue was fixed in the latest AdMob release for Android, but as stated here (#2853), the Unity release will be somewhere in this quarter.

0reactions
NVentimigliacommented, Aug 9, 2023

Fix included with 8.5

Please reopen if you run into this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

TIP - If you have a 5700/XT, disable hardware acceleration ...
3 was bugged that it did not popup. So i was able to record using either method which i prefer since I was...
Read more >
Android Consent Popup UMP SDK won't show popup
UMP SDK is updated to new version check out latest implementation here is simple example to show consent form and then banner
Read more >
View | Android Developers
With hardware-acceleration, intermediate cache layers are largely unnecessary and can easily result in a net loss in performance due to the cost of...
Read more >
Huge performance improvement post tweaks!
A hands-down best ASIO improvement for me has been (finally) upgrading my graphics card. I've always thought that the graphic performance had nothing...
Read more >
VLC Hardware Acceleration: How to Use GPU to Play ...
How to use VLC hardware acceleration for video playing and converting? Is GPU decoding able to fix video lagging issue in VLC, esp....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found