Search Unity

Failed to Load Mono

Discussion in 'Editor & General Support' started by emergki, Sep 16, 2013.

  1. emergki

    emergki

    Joined:
    Oct 15, 2007
    Posts:
    422
    Hi, I'm having this error with the new update of Unity.

    Unable to load mono library from "C:/Users/Emerson/Desktop/Simuladores/Vale/Simulador SIMBRA Vale_Data/Mono/mono.dll" (error = 126).

    I receive this error when I try to run the standalone.
     
  2. Graham-Dunnett

    Graham-Dunnett

    Administrator

    Joined:
    Jun 2, 2009
    Posts:
    4,287
    Does mono.dll exist at that path?
     
  3. emergki

    emergki

    Joined:
    Oct 15, 2007
    Posts:
    422
    Yes, the file is there.

    This problem only happens when I generate the standalone with x86_64 architecture. When I generate with x86 only, it works fine.
     
  4. emergki

    emergki

    Joined:
    Oct 15, 2007
    Posts:
    422
  5. Graham-Dunnett

    Graham-Dunnett

    Administrator

    Joined:
    Jun 2, 2009
    Posts:
    4,287
    Please allow me to sleep!

    In c:/Program Files (x86)/Unity/Editor/Data/PlaybackEngines you should see folders which are used when building to different platforms. You should have a windows64stadaloneplayer folder, inside which is a Data/Mono/mono.dll. This should be a 64-bit DLL. You might care to check that the mono.dll that ends up in your build is this 64-bit DLL.
     
  6. SzinNapalm

    SzinNapalm

    Joined:
    Oct 21, 2019
    Posts:
    1
    so its running the wrong version by default??
     
  7. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    From over 6 years ago? Perhaps you replied to the wrong thread.