playMaker

Author Topic: Unity ads not supported in editor [SOLVED]  (Read 1970 times)

Orjax

  • Playmaker Newbie
  • *
  • Posts: 21
  • Father/son team, self taught, love learning
    • View Profile
Unity ads not supported in editor [SOLVED]
« on: May 13, 2017, 07:16:15 PM »
Unity ads do not work in editor, stuck in "show ad" state.
In my game I set it up just like the tutorial, (I have another game and they work fine)   

It gets stuck in the "show ad" state,  it does not give a failed or not ready event.
So I started with a "is ad ready" then move to show ad,  It got stuck there too, no event is sent.

So then I put a "Is supprted" action,  and it sends not supported event. (see screenshots)

when I enabled ads it auto gave me IDs for android and IOS, I am in Android build platform.  Test build is enabled, not sure why the test ad doesn't show.

I downloaded the unity ads asset from the store, (then watched a tutorial saying not to)  It didnt work, so I deleted the plugin in project (android and IOS ads)
still didnt work,  Deleted Unity ads in project.  still no. Tried all the settings I can think of.  Researched, didn't find what I need. 

The only event I can get is "not supported" but not sure why.
Please help,  thank you, :-)

Cant attach screenshots,
« Last Edit: May 16, 2017, 12:39:23 PM by Orjax »

Orjax

  • Playmaker Newbie
  • *
  • Posts: 21
  • Father/son team, self taught, love learning
    • View Profile
Re: Unity ads not supported in editor
« Reply #1 on: May 13, 2017, 07:28:23 PM »
here is a couple screenshots

Orjax

  • Playmaker Newbie
  • *
  • Posts: 21
  • Father/son team, self taught, love learning
    • View Profile
Re: Unity ads not supported in editor
« Reply #2 on: May 13, 2017, 07:29:34 PM »
and of the not supported event.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14388
  • Official Playmaker Support
    • View Profile
Re: Unity ads not supported in editor
« Reply #3 on: May 14, 2017, 11:40:10 PM »
Hi,

 It's likely a problem of setup, another member mentionned some issues with the project not turning on UnityAds in the services.

 Can you try on a fresh project with the latest version of Unity and PlayMaker? Also make sure you are on android or IOS platform ( I can see from the screenshot you are, but don't forget on your fresh project)

Bye,

 Jean

Orjax

  • Playmaker Newbie
  • *
  • Posts: 21
  • Father/son team, self taught, love learning
    • View Profile
Re: Unity ads not supported in editor
« Reply #4 on: May 16, 2017, 09:22:05 AM »
I made a fresh project, put to android, and it worked.  Added a FPS deleted old camera,  and did everything else I did in original project,  I could not repeat the problem i'm having.  Not sure what is wrong, or why it doesnt' work in my project.

Maybe I should copy my stuff to a new project.  I've put a lot of work into it.  Which folders do I copy? Assets, project settings, library?

I dont want to copy whatever setup is wrong though.  thanks for the help.

Orjax

  • Playmaker Newbie
  • *
  • Posts: 21
  • Father/son team, self taught, love learning
    • View Profile
Re: Unity ads not supported in editor
« Reply #5 on: May 16, 2017, 11:05:13 AM »
So i copied assets, project settings and and library to a new project.  Still had the same problem. I started messing with my new copied project.

When I removed the "project settings" folder and opened project again, then the ads worked, but it messed up some other stuff. 

Which file in project settings can I remove to reset the ads stuff? And not affect other stuff?

Thank you,

Orjax

  • Playmaker Newbie
  • *
  • Posts: 21
  • Father/son team, self taught, love learning
    • View Profile
Re: Unity ads not supported in editor (SOLVED)
« Reply #6 on: May 16, 2017, 12:38:26 PM »
After messing around a lot, I found it.

I went to my original project   ProjectSettings folder and deleted the
UnityConnectSettings.asset   when I opened my project I enabled ads and it works.

Not sure what happened when I turned on ads the first time,...  but resetting the projectsettings unityconnectsettings.asset worked for me!

Ok back to my game,    Thank you jeanfabre 

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14388
  • Official Playmaker Support
    • View Profile
Re: Unity ads not supported in editor [SOLVED]
« Reply #7 on: May 16, 2017, 11:14:26 PM »
Hi,

 Excellent. The Unity service is sometime capricious indeed.

 Bye,

 Jean