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 have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

WINDOWS 10 Error = 126 (Unable to load mono library from...)

Discussion in 'Editor & General Support' started by Noxivius, Apr 29, 2015.

  1. Noxivius

    Noxivius

    Joined:
    Jan 30, 2014
    Posts:
    2
    This error is not uncommon and every reference to it seems to be solved by installing the c++ redistributable. Unfortunately I have a friend who I'm trying to have play an alpha of a project of mine and when he runs the game he gets this error, when he tries to install the package he is told he has a newer version installed. He is prevented from ever launching my program. I have another friend who runs windows 8.1 who was able to the .exe without issue, so I'm certain it can work.
    This seems to be the end of the documentation I can find, the mighty Google has failed to, that I can sniff out, provide an answer to this problem. Hopefully someone here may be able to help...
     
    Last edited: Apr 29, 2015
  2. Noxivius

    Noxivius

    Joined:
    Jan 30, 2014
    Posts:
    2
    Rather than pull this to hide how stupid I was, I'm going to reply to it and hope that maybe if anyone makes the same... "newb" mistake that this helps them find their answer before making a fool of themselves by posting like I did. Turns out this problem is rather simple, Win10 is x64, when I was building the .exe I was failing to select x86_64. An important detail.
    So I feel like a fool, but problem solved! All I had to do was build the game as x86_64 and it worked fine (after some strange .rar extraction problems which are likely unrelated...)