playMaker

Author Topic: UnityAds action error [SOLVED]  (Read 4952 times)

jongkook

  • Playmaker Newbie
  • *
  • Posts: 34
UnityAds action error [SOLVED]
« on: September 02, 2017, 02:37:00 AM »
Updated to unity ads 2.01.
However, the following error occurs.

Assets / PlayMaker Custom Actions / UnityAds / UnityAdsShowAd.cs (108,34): error CS0433: The imported type `UnityEngine.Advertisements.ShowResult 'is defined multiple times
« Last Edit: September 30, 2017, 10:59:31 PM by djaydino »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: UnityAds action error
« Reply #1 on: September 04, 2017, 02:32:14 AM »
Hi,

 - How do you update the ads framework?
 - What version of Unity?

Bye,

 Jean
 

persabersa

  • Playmaker Newbie
  • *
  • Posts: 9
Re: UnityAds action error
« Reply #2 on: September 28, 2017, 02:12:53 AM »
Hiya,

I have the same problem. I can't seem to build with the old ads anymore, I get an failed build in xcode complaining about ads.
Importing the unity ads 2.1.1 from the asset store and I get that same error message. Im on unity 5.4.3f1

Per

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: UnityAds action error
« Reply #3 on: September 28, 2017, 03:11:50 AM »
Hi,

 ok, let me check.

 Bye,

 Jean

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: UnityAds action error
« Reply #4 on: September 28, 2017, 04:44:55 AM »
Hi,

 ok, the PlayMaker support for UnityAds is only for the built in version, starting in Unity 5.5.

Any reasons to stick to Unity 5.4?

 Bye,

 Jean

persabersa

  • Playmaker Newbie
  • *
  • Posts: 9
Re: UnityAds action error
« Reply #5 on: September 28, 2017, 08:23:52 AM »
Ah I see,
No not really. Just always spooky updating unity :)
I'll give it a try, thanks!

Per

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: UnityAds action error
« Reply #6 on: September 29, 2017, 02:45:55 AM »
Hi,

 simply back up, and try on a copy, once you have the process guaranteed you can execute it on the real project.

 Bye,

 Jean

persabersa

  • Playmaker Newbie
  • *
  • Posts: 9
Re: UnityAds action error
« Reply #7 on: September 30, 2017, 05:03:59 AM »
Sorry, I don't mean to hijack this thread. But I can't get the update to work.
I installed unity 5.5.4f1, removed the old unity ads and imported 2.2.1 again and I get the same error message. Tried uninstalling and installing playmaker again(and only updating), but then I get these new error messages:

Assets/PlayMaker/Actions/Physics2d/SmoothLookAt2d.cs The namespace 'HutongGames.PlayMaker.Actions' already contains a definition for 'SmoothLookAt2d'

Same for GetAtan2FromVector2, GetVector2XY, Vector2RotateTowards

Deleting those scripts removes the warning atleast but I still get the unityAdsIsShowing and all the other ecosystem unity ad stuff showing up the defined multiple times.

I was using playmaker 1.8.3f4 before with the unity ads in the eco system and the older unity ads system and that worked fine a while ago.

Thanks for your help and time!

Per


persabersa

  • Playmaker Newbie
  • *
  • Posts: 9
Re: UnityAds action error
« Reply #8 on: September 30, 2017, 05:04:15 PM »
Hiya again,

Got it working now. It was the old ads frameworl that was messing things up, worked fine when disabling the ads and then uninstalling ads with the package uninstaller, and after that enabling ads again.

Per