Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Installing Ads Mediation (IronSource) breaks project

Discussion in 'Unity Mediation' started by byapblup, Feb 10, 2023.

  1. byapblup

    byapblup

    Joined:
    Jan 14, 2021
    Posts:
    5
    Hi all, thanks for your time

    I am trying to get ads set up on my project, so far I have only gotten so far as to install Ads Mediation and it breaks the project. My game runs fine both in the editor and on my device, and all I need to do is install Ads Mediation and it breaks everything.

    First, I see this warning which maybe isn't a big problem, but I have strived in my own code to avoid all warnings so it's a bit annoying:
    1.png

    More importantly though, it breaks all of my editor scripts, they cannot find the things they define the editor screen for. Something funky happens on import.
    2.png

    Finally, the IronSource package itself seems to be riddled with errors. Every bug in the IronSource code is this "event must be of a delegate type" error.
    3.png

    Extremely grateful for any ideas or advice regarding what is going wrong here.
     
  2. jcGrenier

    jcGrenier

    Unity Technologies

    Joined:
    Feb 23, 2021
    Posts:
    145
    Hi @byapblup, could you tell us what Editor version you are using?
     
  3. byapblup

    byapblup

    Joined:
    Jan 14, 2021
    Posts:
    5
    Hi, I am using 2021.3.16f1, IS integration 7.2.7.

    It works in new projects, but my existing project breaks in this way. It seems like the Mobile Dependency Resolver isn't installing in my project.
     
  4. jcGrenier

    jcGrenier

    Unity Technologies

    Joined:
    Feb 23, 2021
    Posts:
    145
    if your project already contains a dependency resolver MDR will not be installed, but this should be fine. However I haven't seen the errors you are seeing while testing on 2021. I would recommend trying to remove the package, see if there are still errors at that point, and if everything is clean, attempt to install the package again. If there are errors during installation please pot them here.
     
  5. byapblup

    byapblup

    Joined:
    Jan 14, 2021
    Posts:
    5
    Thanks for your reply.

    I have done that, there aren't any errors during import but once importing is complete the same errors reappear.

    Do you have ideas on where I might be able to find and remove an old MDR? I have previously had unity ads w/ Mediation installed on this project, but it has been removed.
     
  6. jcGrenier

    jcGrenier

    Unity Technologies

    Joined:
    Feb 23, 2021
    Posts:
    145
    MDR should be located directly in the Assets folder, in a folder named MobileDependencyResolver
     
  7. byapblup

    byapblup

    Joined:
    Jan 14, 2021
    Posts:
    5
    The problem ultimately was that the IronSource package:
    1. Is poor quality code, doesn't use namespaces properly and clashed with some of my own assets
    2. The MDR in the ironsource package was faulty and attempting to do a UN*X install on my windows machine

    The ironsource merger has been such an incredible S***show, I really really hope whichever souless executives thought this was a good idea lose their position. Such a black mark on Unity's record.
     
  8. byapblup

    byapblup

    Joined:
    Jan 14, 2021
    Posts:
    5
    In the last 20 minutes I have installed admob and gotten it working. Compare this with months of banging my head against the wall with ironsource support.

    To anyone else experiencing this, I cannot recommend enough abandoning ironsource
     
  9. jcGrenier

    jcGrenier

    Unity Technologies

    Joined:
    Feb 23, 2021
    Posts:
    145
    Hey @byapblup ,
    I am sorry to hear our mediation solution has fallen short of your expectations. I would like to thank you for your feedback, as it is always appreciated, and is an important part of helping us address our user's needs.

    I hope you can check back later, once the product matches your expectations :)
     
  10. GG_JamesBattersby

    GG_JamesBattersby

    Joined:
    Jan 3, 2021
    Posts:
    8
    I can confirm the same issue. The AdsMediation package is the direct cause of the issue. It modifies the project solution file in such a way that the Editor project (Assembly-CSharp-Editor) is removed from solution!
     
  11. kojagiri

    kojagiri

    Joined:
    Aug 9, 2022
    Posts:
    8
    I installed the AdsMediation a couple of days back, and the past 2 days have been hell. So at the very least I can confirm this issue still persists as of Jan 2024, and will probably need more work.