Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Question Upgrading from mediation 0.5.0-preview.5 to Ads Mediation 1.0.0 causes multiple errors

Discussion in 'Unity Ads & User Acquisition' started by de_CLAS_Softworks, Apr 12, 2023.

  1. de_CLAS_Softworks

    de_CLAS_Softworks

    Joined:
    Oct 8, 2019
    Posts:
    33
    I have mediation working on one of my projects, but I'd like to upgrade to the latest version. I'm a bit surprised that it breaks the code in a really unusual way. I have "using Unity.Services.Mediation;" at the top of most of my mediation related scripts, but after upgrading I'm told that this is no longer exists.

    In VS Code it doesn't show any errors, but Unity does. What happened with this library and what I do to replace it? VS Code keeps telling me to use Unity.Services.Mediation to fix the error but Unity's console says that the Mediation namespace doesn't exist.