Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

[Solved] Unity Ads restarts whenever attempting to play rewardedVideo ad

Discussion in 'Unity Ads & User Acquisition' started by KJZ2, Nov 1, 2016.

  1. KJZ2

    KJZ2

    Joined:
    Oct 11, 2016
    Posts:
    4
    Hello guys,

    Currently my project is near completion but I am having issues with Unity Ads. My current test device is a Samsung Galaxy Note 2. The ads functionality works on the editor but when I build and run the test on my android device, the app will crash and restart itself whenever it attempts to play the video ad. I used the code similar to here https://unity3d.com/services/ads/quick-start-guide . I have no idea how to fix this issue. Anyone else facing similar problems??
     
  2. rasmus-unity

    rasmus-unity

    Moderator

    Joined:
    Aug 15, 2014
    Posts:
    1,312
    Please send us device log, either here or in private message.

    Thanks,
    Rasmus
     
  3. KJZ2

    KJZ2

    Joined:
    Oct 11, 2016
    Posts:
    4
    Here's the logcat from the device.
     

    Attached Files:

    • log.txt
      File size:
      0 bytes
      Views:
      994
  4. rasmus-unity

    rasmus-unity

    Moderator

    Joined:
    Aug 15, 2014
    Posts:
    1,312
    Zero bytes log file?
     
  5. KJZ2

    KJZ2

    Joined:
    Oct 11, 2016
    Posts:
    4
    Terribly sorry about that. I will reupload the log again once I can access my PC
     
  6. KJZ2

    KJZ2

    Joined:
    Oct 11, 2016
    Posts:
    4
    @rasmus-unity Sorry but I found the fix.

    Guys, apparently I managed to resolved this issue by going into Developer Options , and then unchecking the option "Do not keep activities" under the apps section of the Developer Options. Makes sense now that there was a possibilty that the application activity was closed when the app was attempting to show
     
    hichamhaddadi04 likes this.