Playmaker Forum
PlayMaker Help & Tips => Unity Services => Topic started by: Orjax on May 13, 2017, 10: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,
-
here is a couple screenshots
-
and of the not supported event.
-
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
-
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.
-
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,
-
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
-
Hi,
Excellent. The Unity service is sometime capricious indeed.
Bye,
Jean