playMaker

Author Topic: untiy ads fail event - 2018.4  (Read 122 times)

IIKII

  • Junior Playmaker
  • **
  • Posts: 83
  • Lonely developer
    • View Profile
    • Patreon
untiy ads fail event - 2018.4
« on: November 27, 2019, 01:27:00 AM »
Hi, i am using unity 2018.4.

My rewardedvideo ads plays fine but at the end of it when I exit the ads, it will show me the 'failed event'.

If I remove checking for any failed event, I will get a success event.

Is there something wrong with the unity show ads action for this version of unity? I already contacted unity service and it seems that they may not know why.
Support me on Patreon for free adventure games and development insights - https://www.patreon.com/koexstudio

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 4613
    • View Profile
    • jinxtergames
Re: untiy ads fail event - 2018.4
« Reply #1 on: November 27, 2019, 03:15:18 AM »
Hi.
Are you testing on a build for Ios/Android?

if in editor it will always give a failed event, it will also show a log in the console :
"UnityAds only supported on IOS and Android Platforms"

IIKII

  • Junior Playmaker
  • **
  • Posts: 83
  • Lonely developer
    • View Profile
    • Patreon
Re: untiy ads fail event - 2018.4
« Reply #2 on: November 27, 2019, 03:50:12 AM »
yeah i tested it on a apk file and also from a google play install. Both gives me a failed event after watching the 30 seconds ads. But it will trigger success if I don't check for fail.

In my editor, it actually works perfectly.

Updated: if you are referring to the console, no fail or success message appear.
« Last Edit: November 27, 2019, 06:03:08 AM by IIKII »
Support me on Patreon for free adventure games and development insights - https://www.patreon.com/koexstudio

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14684
  • Official Playmaker Support
    • View Profile
Re: untiy ads fail event - 2018.4
« Reply #3 on: November 27, 2019, 06:09:12 AM »
Hi,

 Are you using the package from the Ecosystem?

Bye,

 Jean

IIKII

  • Junior Playmaker
  • **
  • Posts: 83
  • Lonely developer
    • View Profile
    • Patreon
Re: untiy ads fail event - 2018.4
« Reply #4 on: November 27, 2019, 07:54:31 AM »
My unity ads actions are from the ecosystem but they are downloaded separately, not as a package.
Support me on Patreon for free adventure games and development insights - https://www.patreon.com/koexstudio

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14684
  • Official Playmaker Support
    • View Profile
Re: untiy ads fail event - 2018.4
« Reply #5 on: November 28, 2019, 11:09:16 PM »
Hi,

uhm... it's tricky because the action is very simple, it simply throw a fail event because the Unity Ad API tells the action it is so...

 I would enquire with Unity by writing a bug report, as well as asking on Unity forum for possible tips on that. It could be your ads setup, or something in the way you have published the app on android, these things are tricky sometimes.

but as far as the action itself, there is not much room for a potential bug inside it as is.  have you properly initialized the ads system, things like that?

use UnityAdsSetDebugLevel to output more infos, maybe it will tell you something. you need that on android, not in Unity editor for it to be giving useful infos.

Bye,

 Jean

IIKII

  • Junior Playmaker
  • **
  • Posts: 83
  • Lonely developer
    • View Profile
    • Patreon
Re: untiy ads fail event - 2018.4
« Reply #6 on: November 29, 2019, 01:28:49 AM »
I see. I tested on a new project and it also gives me the fail event but once in a while it will fire the success event. :-\



Here's my setup, i am just using this one 'show ad' action without any other unity ads actions. Using ads version 2.0.8. I am doing it correctly right?

How do i see the infos from using UnityAdsSetDebugLevel?

Support me on Patreon for free adventure games and development insights - https://www.patreon.com/koexstudio

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14684
  • Official Playmaker Support
    • View Profile
Re: untiy ads fail event - 2018.4
« Reply #7 on: November 29, 2019, 06:41:31 AM »
Hi,

 logs is outputed in the console, and on mobile, you can either check the logcat for android or xcode console on IOS.

 I use in game console like : https://assetstore.unity.com/packages/tools/gui/in-game-debug-console-68068

this is easiest and most direct for me.

Bye,

 Jean

IIKII

  • Junior Playmaker
  • **
  • Posts: 83
  • Lonely developer
    • View Profile
    • Patreon
Re: untiy ads fail event - 2018.4
« Reply #8 on: November 29, 2019, 07:51:30 AM »
I used that plugin asset but when i tested it on my phone, no errors came out.

hmm.. then i dont know what's really causing the fail event..
Support me on Patreon for free adventure games and development insights - https://www.patreon.com/koexstudio

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14684
  • Official Playmaker Support
    • View Profile
Re: untiy ads fail event - 2018.4
« Reply #9 on: December 02, 2019, 01:04:59 AM »
Hi,

 can you double check that you have indeed set the debug level properly? maybe it's not.

Bye,

 Jean

IIKII

  • Junior Playmaker
  • **
  • Posts: 83
  • Lonely developer
    • View Profile
    • Patreon
Re: untiy ads fail event - 2018.4
« Reply #10 on: December 03, 2019, 07:58:02 AM »
It is just drag and drop the prefab into the scene and it shows me nothing even if i play the ads.

But I tried it on another scene where it has iap and it is showing the iap process. So it must be working correctly.
Support me on Patreon for free adventure games and development insights - https://www.patreon.com/koexstudio