Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

White screen when showing ads on iOS

Discussion in 'Unity Ads & User Acquisition' started by beocat, Aug 30, 2017.

  1. beocat

    beocat

    Joined:
    Oct 3, 2016
    Posts:
    1
    I get a white screen (no ui - no video) on some reward videos on iOS.
    The video starts, but after a few seconds i get the white screen while the audio continues to play. So i guess the video is still playing. There are no buttons, and it never recovers. I don't think it ever happens on the first video, but it happens on the 2nd or the 3rd.

    Data:
    iOS: 9.3.5
    Device: iPad 3
    Unity Ads version: 2.1.1
    Location: Copenhagen, Denmark
    Example ad: Family Farm

    Any ideas?
     
  2. thomas231

    thomas231

    Joined:
    Aug 18, 2016
    Posts:
    4
    We have the same problem. Happens only on old devices. Have you found the reason?
    We use Unity 5.6 with UnityAds 2.1.0
     
    Last edited: Jan 26, 2018
  3. mikaisomaa

    mikaisomaa

    Unity Technologies

    Joined:
    Sep 14, 2015
    Posts:
    365
    Hi @thomas231 - can you post a support ticket at unityads-support@unity3d.com with logs and any possible details (screenshot of the build information screen from Ads, Adb logcat logs, Unity Ads integration method, Charles logs if possible)
     
  4. roberto_sc

    roberto_sc

    Joined:
    Dec 13, 2010
    Posts:
    144
    I'm having this too. It seems related to RAM memory usage in low end devices.

    I made a special build with low resolution textures to lower memory usage and the bug never happens. When I go back to my normal build which uses over 700MB of RAM the problem happens all the time.

    Same results when testing with devices with more/less RAM.

    Code (CSharp):
    1. 2018-09-13 18:34:13.944575+1200 xxx[21209:2458222] I/UnityAds: +[UADSApiSdk WebViewExposed_logInfo:callback:] (line:59) :: Requesting ad plan from https://auction.unityads.unity3d.com/v4/games/1713367/requests?advertisingTrackingId=33C013ED-68B5-4F7C-8736-14883871A553&limitAdTracking=false&deviceModel=iPad4%2C4&platform=ios&sdkVersion=2100&stores=apple&osVersion=11.4.1&screenScale=2&test=true&screenWidth=768&screenHeight=1024&connectionType=wifi&networkType=0
    2. 2018-09-13 18:34:18.207068+1200 xxx[21209:2458222] I/UnityAds: +[UADSApiSdk WebViewExposed_logInfo:callback:] (line:59) :: AdPlan received with 1 campaigns and refreshDelay 0
    3. 2018-09-13 18:34:18.233266+1200 xxx[21209:2458222] I/UnityAds: +[UADSApiSdk WebViewExposed_logInfo:callback:] (line:59) :: Closing Unity Ads ad unit
    4. 2018-09-13 18:34:22.571602+1200 xxx[21209:2458222] I/UnityAds: +[UnityAds show:placementId:] (line:116) :: Unity Ads opening new ad unit for placement rewardedVideo
    5. 2018-09-13 18:34:23.097249+1200 xxx[21209:2458222] I/UnityAds: +[UADSApiSdk WebViewExposed_logInfo:callback:] (line:59) :: Opening performance ad with orientation PORTRAIT
    6. 2018-09-13 18:34:23.856910+1200 xxx[21209:2458222] Could not request view controller: Error Domain=_UIViewServiceInterfaceErrorDomain Code=0 "(null)" UserInfo={OriginalError=Error Domain=FBSOpenApplicationServiceErrorDomain Code=3 "The request to open "com.apple.ios.StoreKitUIService" failed." UserInfo={BSErrorCodeDescription=ProcessExited, NSLocalizedDescription=The request to open "com.apple.ios.StoreKitUIService" failed., NSLocalizedFailureReason=The process did launch, but has since exited or crashed.}}
    7. 2018-09-13 18:34:24.263492+1200 xxx[21209:2458222] [Application] -[UIApplication endIgnoringInteractionEvents] called without matching -beginIgnoringInteractionEvents. Ignoring.
    8. 2018-09-13 18:34:27.907594+1200 xxx[21209:2463908] [ProcessSuspension]  0x1184b7470 - ProcessAssertion() Unable to acquire assertion for process with PID 21218
    9. 2018-09-13 18:34:57.921731+1200 xxx[21209:2458222] Could not signal service com.apple.WebKit.WebContent: 113: Could not find specified service
    10.  
    I'm using Unity 2018.1.7 and iOS devices.

    Using Ads 2.0.8, the Package Manager doesn't show the update button but I see the version in the store is higher, so... ...???
     
    Last edited: Sep 13, 2018
  5. DenisasK

    DenisasK

    Unity Technologies

    Joined:
    Oct 13, 2016
    Posts:
    89
    Hello @roberto_sc. Please, can you fill out a bug report via BugReporter. For me, it sounds like a bug on the Unity Engine side.
     
  6. fox

    fox

    Joined:
    Jan 14, 2009
    Posts:
    118
    @DenisasK @roberto_sc
    Bug report sent, case number 1084863.
     
  7. roberto_sc

    roberto_sc

    Joined:
    Dec 13, 2010
    Posts:
    144
    @DenisasK I want to add that I've updated the plugin from 2.0.8 to 2.3.0 and the problem still happens (it's the same project that fox sent in the bug, we work together).

    I tried to replicate the problem in another project that allocates over 700MB of RAM but the problem doesn't happen. Nonetheless, I'm absolute sure the problem happens proportionally to the amount of RAM is used, the more we use the more often it happens.
     
  8. roberto_sc

    roberto_sc

    Joined:
    Dec 13, 2010
    Posts:
    144
    By the way, why does the Package Manager provide a much older version of the plugin? (2.0.8 vs 2.3.0)
     
  9. Nolex

    Nolex

    Joined:
    Dec 10, 2010
    Posts:
    115
    Same problem.
    White screen after watching video (AppLovin Max: UnityAds adapter: 3.4.2.1).

    Code (CSharp):
    1.   May 28 14:55:57 HC-iPhone-6 xxxx[264] <Warning>: [AppLovin MAX] Invoking event: System.Action`1[System.String]. Param: xxxxxxxxxxxxxxxxx
    2.     MaxSdkCallbacks:InvokeEvent(Action`1, T)
    3.     MaxSdkCallbacks:ForwardEvent(String)
    4.    
    5.     (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
    6.   May 28 14:55:57 HC-iPhone-6 xxxx[264] <Warning>: I/UnityAds: +[USRVApiSdk WebViewExposed_logInfo:callback:] (line:67) :: Unity Ads event: sending start event to https://publisher-event.unityads.unity3d.com/events/v2/video/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    7.   May 28 14:56:03 HC-iPhone-6 xxxx[264] <Warning>: I/UnityAds: +[USRVApiSdk WebViewExposed_logInfo:callback:] (line:67) :: Requesting ad plan from https://auction.unityads.unity3d.com/v6/games/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    8.   May 28 14:56:05 HC-iPhone-6 xxxx[264] <Warning>: I/UnityAds: +[USRVApiSdk WebViewExposed_logInfo:callback:] (line:67) :: Unity Ads event: sending first_quartile event to https://publisher-event.unityads.unity3d.com/events/v2/video/first_quartile/xxxxxxxxxxxxxxxxxxxxxx
    9.   May 28 14:56:07 HC-iPhone-6 com.apple.WebKit.WebContent[277] <Notice>: 1   0x18690e5cc <redacted>
    10. May 28 14:56:07 HC-iPhone-6 com.apple.WebKit.WebContent[277] <Notice>: 2   0x18690e50c <redacted>
    11.   May 28 14:56:07 HC-iPhone-6 com.apple.WebKit.WebContent[277] <Notice>: 3   0x182a59794 <redacted>
    12. May 28 14:56:07 HC-iPhone-6 com.apple.WebKit.WebContent[277] <Notice>: 4   0x182a59438 <redacted>
    13.   May 28 14:56:07 HC-iPhone-6 com.apple.WebKit.WebContent[277] <Notice>: 5   0x182a56b4c <redacted>
    14.   May 28 14:56:07 HC-iPhone-6 com.apple.WebKit.WebContent[277] <Notice>: 6   0x182980c50 CFRunLoopRunSpecific
    15. May 28 14:56:07 HC-iPhone-6 com.apple.WebKit.WebContent[277] <Notice>: 7   0x183390cfc <redacted>
    16.   May 28 14:56:07 HC-iPhone-6 com.apple.WebKit.WebContent[277] <Notice>: 8   0x1833e6030 <redacted>
    17.   May 28 14:56:07 HC-iPhone-6 com.apple.WebKit.WebContent[277] <Notice>: 9  
    More info: https://github.com/AppLovin/AppLovin-MAX-Unity-Plugin/issues/29

    @DenisasK any news?
     
  10. Nolex

    Nolex

    Joined:
    Dec 10, 2010
    Posts:
    115
    Bug report sent.
    Case 1251629 (reference case - 1084863)