Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    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:
    297
    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:
    199
    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:
    199
    The drive letter doesn't matter, but see the note above about spaces in the path causing problems.