Skip to main content
Support
Search our knowledge base

Why do I get a "'Advertisements' does not exist in the namespace 'UnityEngine' error"?

Comments

4 comments

  • Unity Ads Support

    Hi Matt,

    I am sorry that this is happening.

    Please, can you submit a support ticket to unityads-support@unity3d.com?

    Thank you.

    Kind Regards

    Claire

    0
  • Gravity Games

    it does not work for me. do you have other solution?

    0
  • Matt

    I did all those things and I still get that error, but only when I try to build.

    0
  • hameed ullah jan

    may be it's too late to answer but, it can be solved by following these steps:

    -close unity (save your project)

    -go to project settings folder under the your project directory

    - delete these two files 1. UnityAdsSettings.assets 2. UnityConnectionSettings.assets

    -now re-open your project and turn on unity ads under services, you will not see the error again. 

    0

Article is closed for comments.