Search Unity

  1. Unity wants to learn about your experiences working on a Unity project today. We'd like to hear from you via this survey.
    Dismiss Notice
  2. Read here for Unity's latest plans on OpenXR.
    Dismiss Notice
  3. All Pro and Enterprise subscribers: find helpful & inspiring creative, tech, and business know-how in the new Unity Success Hub. Sign in to stay up to date.
    Dismiss Notice
  4. Dismiss Notice

Bug MARS Build Failure (due to 'RegerenceMarkers_arf'?)

Discussion in 'Unity MARS' started by mseibert, Mar 14, 2021.

  1. mseibert

    mseibert

    Joined:
    Mar 17, 2016
    Posts:
    9
    Hi,
    Just trying to build out the simple game provided as a template with MARS 1.3.0 to an Android device and receiving these errors:

    Failed to generated ARCore reference image library 'ReferenceMarkers_arf'
    UnityEngine.GUIUtility: ProcessEvent (int,intptr,bool&)

    AND

    BuildFailedException: Failed to generate image database. Output from arcoreimg:
    stdout:
    Image database generated at: D:/Unity.imgdb
    Image list file generated at: D:/Unity-imglist.txt
    ====
    stderr:
    ====


    I'm running Unity 2020.3.0f1 LTS and my project name has no spaces it in.

    Thank you,
    Matthew
     
  2. jmunozarUTech

    jmunozarUTech

    Unity Technologies

    Joined:
    Jun 1, 2020
    Posts:
    234
    Hello @mseibert ,

    Which version of ARCore and ARFoundation are you using?.

    Also, from what I see in the log; are you using the D drive as a Unity project?
     
  3. CiaranWills

    CiaranWills

    Unity Technologies

    Joined:
    Apr 24, 2020
    Posts:
    61
    Do any of the parent directories have spaces in their names? If so can you try renaming them without spaces?
     
  4. Gareth-Tech

    Gareth-Tech

    Joined:
    Jul 10, 2015
    Posts:
    20
    I had this issue when I updated from package manager. I removed then reinstalled ARCore to solve the issue.
     
unityunity