Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

error in building after implementing unity ads

Discussion in 'Unity Ads & User Acquisition' started by frodoe7, Dec 30, 2015.

  1. frodoe7

    frodoe7

    Joined:
    Jul 25, 2014
    Posts:
    37
    I have a strange issue

    after integrating unity ads , all things goes well
    but in building , it makes error : (Assets/Scripts/butjewe.cs(124,35): error CS0246: The type or namespace name `ShowResult' could not be found. Are you missing a using directive or an assembly reference?)

    ShowResult is enum and defined well :- UnityEngine.Advertisements.ShowResult

    how to fix it ??
     
  2. frodoe7

    frodoe7

    Joined:
    Jul 25, 2014
    Posts:
    37
    I solved it
    I was disabling Android support while building to Android platform