Search Unity

  1. Unity 2018.1 has arrived! Read about it here
    Dismiss Notice
  2. Scriptable Render Pipeline improvements, Texture Mipmap Streaming, and more! Check out what we have in store for you in the 2018.2 Beta.
    Dismiss Notice
  3. If you couldn't join the live stream, take a peek at what you missed.
    Dismiss Notice
  4. Improve your Unity skills with a certified instructor in a private, interactive classroom. Learn more.
    Dismiss Notice
  5. ARCore is out of developer preview! Read about it here.
    Dismiss Notice
  6. Magic Leap’s Lumin SDK Technical Preview for Unity lets you get started creating content for Magic Leap One™. Find more information on our blog!
    Dismiss Notice
  7. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

ARCore: Create Image Database at runtime build

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

  1. Sadlercs

    Sadlercs

    Joined:
    Aug 2, 2015
    Posts:
    3
    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

    Bilelmnasser

    Joined:
    May 16, 2014
    Posts:
    15
    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