Search Unity

[Unity 5.2] The imported type `UnityEngine.Advertisements.ShowResult' is defined multiple times

Discussion in 'Unity Ads' started by elmar1028, Sep 8, 2015.

  1. Dhiru

    Dhiru

    Joined:
    Sep 6, 2014
    Posts:
    1
    Hi Guys,
    Please on the services.It will work then.
     
  2. iterreno

    iterreno

    Joined:
    Dec 25, 2016
    Posts:
    1
    I removed and it works thanks!
     
  3. goodseller

    goodseller

    Joined:
    Aug 25, 2016
    Posts:
    2
    Thanks! This works for me.
     
    quann likes this.
  4. AndriuVGA

    AndriuVGA

    Joined:
    May 4, 2016
    Posts:
    1
    Hi mates !!

    PROBLEM: I got stuck in one problem similar to this. I was using several UnityServices like Collaborate, Unity Ads and Unity Purchasing (and of course Analitycs) and one day all stopped working, Services tab didn load at all, and i cant upload or download, after downloading the entire project again from zero, in a new cloud project, it worked better but still with errors.

    SOLUTION: I don't know if this solution may work for all of you but the thing i did is (after making a backup), deleting the folders Asstes/UnityAds and Assets/Plugins/UnityPurchasing from explorer, with the unity editor closed. After doing that, i started the editor and it loaded services again, so i can reactivate services correctly and with no errors.

    Hope it helps you !!
     
  5. Addyarb

    Addyarb

    Joined:
    Mar 2, 2014
    Posts:
    41
    My problem arose while transferring my project from Mac to PC. My errors were that 'Unity.Advertisements' was not defined, so I'm guessing I had a different version of the UnityAds on that project. My solution was, in order:

    1. Disable UnityAds from the services window (Window>Services)
    2. Download the latest UnityAds plugin from the Asset Store
    3. Now all of the scripts will compile, and should work
    4. Delete all UnityAds files (Search Ads in the inspector.. the ones in the UnityAds package should be obvious)
    5. Head to Window>Services and re-enable Ads
     
  6. quann

    quann

    Joined:
    Dec 5, 2016
    Posts:
    1
    This solution works for me too...
     
  7. AppDeveloperAnalytics

    AppDeveloperAnalytics

    Joined:
    Aug 15, 2017
    Posts:
    3
    services window>ads>disable ads ..........it will work
     
  8. alphadogware

    alphadogware

    Joined:
    Nov 15, 2017
    Posts:
    66
    If anyone is still having this issue and have tried some of the above solutions and still no luck. Here is what worked for me:

    Disable ads in unity
    Remove folder : Pluging\UnityAds in your project folder
    Restart Unity
    Enable Ads
    (may require another restart to work)
     
  9. misunerstoodGoodGuy

    misunerstoodGoodGuy

    Joined:
    Mar 26, 2017
    Posts:
    1
    there must be duplication of Unity ads, i solve it by deleting duplicate files of ads, also you could increase the api level to 19 from other setting... ☺