{"action":"created","issue":{"url":"https://api.github.com/repos/googleads/googleads-mobile-unity/issues/748","repository_url":"https://api.github.com/repos/googleads/googleads-mobile-unity","labels_url":"https://api.github.com/repos/googleads/googleads-mobile-unity/issues/748/labels{/name}","comments_url":"https://api.github.com/repos/googleads/googleads-mobile-unity/issues/748/comments","events_url":"https://api.github.com/repos/googleads/googleads-mobile-unity/issues/748/events","html_url":"https://github.com/googleads/googleads-mobile-unity/issues/748","id":352825930,"node_id":"MDU6SXNzdWUzNTI4MjU5MzA=","number":748,"title":"Slow Rendering Android","user":{"login":"Wolar","id":6131648,"node_id":"MDQ6VXNlcjYxMzE2NDg=","avatar_url":"https://avatars0.githubusercontent.com/u/6131648?v=4","gravatar_id":"","url":"https://api.github.com/users/Wolar","html_url":"https://github.com/Wolar","followers_url":"https://api.github.com/users/Wolar/followers","following_url":"https://api.github.com/users/Wolar/following{/other_user}","gists_url":"https://api.github.com/users/Wolar/gists{/gist_id}","starred_url":"https://api.github.com/users/Wolar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wolar/subscriptions","organizations_url":"https://api.github.com/users/Wolar/orgs","repos_url":"https://api.github.com/users/Wolar/repos","events_url":"https://api.github.com/users/Wolar/events{/privacy}","received_events_url":"https://api.github.com/users/Wolar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-08-22T06:59:22Z","updated_at":"2018-10-26T17:41:42Z","closed_at":null,"author_association":"NONE","body":"We are basically facing same issue that is mentioned here https://github.com/googleads/googleads-mobile-unity/issues/557 but since this issue appeared we experienced >95% drop in downloads so it seems that Android Vitals team are punishing us for this.\r\n\r\nWe have: \r\nUnity 2018.2.0 (we have tried 2018.2.4 as well with same results)\r\nAdMob 3.15.0\r\n\r\nThe problem is that Android Vitals are not tracking OpenGL content, so that means that the only thing they track are Ads. The problem is that for some Ads we get over 70% janky frames (Interstitial and Reward based ads). \r\n\r\nWhat is also strange is that it appears that if we take better device, we get more janky frames which is really strange. It also depends on the Ad itself where some of the are quire okish while others not.\r\n\r\nThis is for example Samsung S8 after playing few ads:\r\nStats since: 223959798464063ns\r\nTotal frames rendered: 6875\r\nJanky frames: 3500 (50.91%)\r\n50th percentile: 16ms\r\n90th percentile: 24ms\r\n95th percentile: 26ms\r\n99th percentile: 34ms\r\nNumber Missed Vsync: 21\r\nNumber High input latency: 0\r\nNumber Slow UI thread: 720\r\nNumber Slow bitmap uploads: 7\r\nNumber Slow issue draw commands: 2613\r\n\r\nWhen profiling this in Android studio, CPU usage is around 0-5% and memory usage is stable.\r\n\r\nWe have also tried to create empty project with just AdMob integrated. And while slightly better we still got over 50% janky frames for some ads on high end devices.\r\n\r\nWe have one more app with older versions of Unity (2018.1.4) and AdMob (3.13.1) plugin where the issue appears as well but is not as bad as with out other app. \r\n\r\nSteps to reproduce:\r\n- Create empty Unity project\r\n- Integrate AdMob \r\n- Enable GPU profiling on device\r\n- Deploy to device\r\n- Display AdMob banner\r\n- Play AdMob Interstial or reward ad\r\n- Run adb shell dumpsys gfxinfo <packageId>\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/googleads/googleads-mobile-unity/issues/comments/433487896","html_url":"https://github.com/googleads/googleads-mobile-unity/issues/748#issuecomment-433487896","issue_url":"https://api.github.com/repos/googleads/googleads-mobile-unity/issues/748","id":433487896,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzQ4Nzg5Ng==","user":{"login":"rampara","id":11047881,"node_id":"MDQ6VXNlcjExMDQ3ODgx","avatar_url":"https://avatars0.githubusercontent.com/u/11047881?v=4","gravatar_id":"","url":"https://api.github.com/users/rampara","html_url":"https://github.com/rampara","followers_url":"https://api.github.com/users/rampara/followers","following_url":"https://api.github.com/users/rampara/following{/other_user}","gists_url":"https://api.github.com/users/rampara/gists{/gist_id}","starred_url":"https://api.github.com/users/rampara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rampara/subscriptions","organizations_url":"https://api.github.com/users/rampara/orgs","repos_url":"https://api.github.com/users/rampara/repos","events_url":"https://api.github.com/users/rampara/events{/privacy}","received_events_url":"https://api.github.com/users/rampara/received_events","type":"User","site_admin":false},"created_at":"2018-10-26T17:41:42Z","updated_at":"2018-10-26T17:41:42Z","author_association":"CONTRIBUTOR","body":"@Wolar as this plugin does not perform any of the ad rendering (handled by the Android Google Mobile Ads SDK), there's not much this plugin can do for improvement. I have reached out to the Android SDK team and they are prioritizing performance improvements. However,  you reach out on the [Google Mobile Ads Technical Support Forum](https://groups.google.com/forum/#!forum/google-admob-ads-sdk) for further support."}}
{"actor":{"display_login":"rampara"}}