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

ARCore: Create Image Database at runtime build

Discussion in 'AR' started by Sadlercs, May 15, 2018.

  1. Sadlercs


    Aug 2, 2015
    I can create an image database at runtime in the editor, but when building out to Android, I get an error stating that the functions I used no longer exist. The functions belong to ARCore. Is there a reason why the functions and members are erased on build? Is there a way around this?
  2. Bilelmnasser


    May 16, 2014
    hello there :)
    check those scripts is there is something like :
    Code (CSharp):
    1. #if (UNITY_EDITOR)
    2. ... your class/code ...
    3. #endif
    then remove those tags because that compiler flag erase them from built