Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Unity ads problem

Discussion in 'Unity Ads & User Acquisition' started by Deleted User, Apr 1, 2019.

?

UnityAdsProblem

  1. UnityAds

    0 vote(s)
    0.0%
  2. UnityAds

    0 vote(s)
    0.0%
  1. Deleted User

    Deleted User

    Guest

    Guys, help please.
    If built in ads extension in UnityAds disabled my project compile is good.
    But if built in ads extension in UnityAds enabled compile is bad.
    Using Unity Monetization 3.0.3.
     

    Attached Files:

  2. DenisasK

    DenisasK

    Unity Technologies

    Joined:
    Oct 13, 2016
    Posts:
    89
    Hello @whitehatgames1 ,
    Gradle fails to compile because of the duplicate headers. It looks like you have more than one definition of the Unity Ads code base. You can only have one definition of the Unity Ads Framework in your code base or you will run into issues with duplicate class definitions. If you are using AssetStore package, please, remove a PackageManager package and disable Ads in Service Window and vice versa.
     
    Deleted User likes this.
  3. Deleted User

    Deleted User

    Guest

    Hi!
    Thank you very much!
    You helped me a lot.