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’re making changes to the Unity Runtime Fee pricing policy that we announced on September 12th. Access our latest thread for more information!
    Dismiss Notice
  3. 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:
    296
    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:
    194
    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.
     
  5. DDAAACCC

    DDAAACCC

    Joined:
    Jul 8, 2020
    Posts:
    9

    I am creating the project in D drive.
    And I get the above error.
    Is there any problem if I create it on the D drive?
     
  6. CiaranWills

    CiaranWills

    Unity Technologies

    Joined:
    Apr 24, 2020
    Posts:
    194
    The drive letter doesn't matter, but see the note above about spaces in the path causing problems.