- Home /
What files are needed to run a built game on a computer that doesn't have unity
I have compiled and sent off the data file and the exe file. when i down load them on a computer that does not have unity it wont run. says the mono dll is the problem.
any ideas on the issue or the fix would be appricated greatly.
thank you
When you say the 'data file' and exe, are you referring to the following files:
[output].exe
[output]_Data (directory)
?
The data directory contains a folder called '$$anonymous$$ono', and that folder has a mono.dll file within it - can you verify that it exists for you?
Have you verified your build targets - that you're not building a $$anonymous$$ac exe for Windows or a 64 bit exe for a 32 bit machine?
Can you copy the exact error message you're getting? Can you check the Unity log file and copy any relevant error messages here?
Thanks, and good luck.
the mono foloder is there inside it is the mono dll the build is for 32 bit windows tring to run on a 64 bit system.upon checking it seems it missed a ton of files ill check back in a bit once i redo the file for s4nding
all fixed some reason when it zipped up it missed about half the files thanks for looking
Answer by Eric5h5 · Mar 18, 2012 at 01:35 AM
The answer is none. Unity games are self-contained.
This is only true if the application does not use any 3rd party dll's.
Actually, any 3rd party dlls will be packaged up with the game files in the [name of game]_Data directory. They do not need to exist separately on the machine wanting to play the game, unless you decide you specifically don't want to package them with the game and want to require the user to have them.
Answer by greggman · Aug 18, 2020 at 06:42 AM
They are not self contained by any definition I know of "self contained". AFAIK the files you need are
YourApp.exe
YourApp_Data (a folder with lots of files)
MonoBleedingEdge (a folder with lots of files)
UnityCrashHander64.exe
UnityPlayer.dll
All of those files are put in whatever folder you designate as the "build" folder so zip up that folder and all the files needed should be inside.
They are self-contained by the definition that you don't need any additional files aside from what's packaged with the game, which is the only definition I'm aware of. Everything you listed is included with the game. For example, you don't need Unity installed to run a Unity game. You don't need to download any additional libraries. Or anything else. Hence, self-contained.
the definition of "self contained" since pretty much forever would be a single file so when someone asks "What files are needed to run a built game on a computer that doesn't have unity" the answer is not "none, it's self contained". The answer is something like the one I left. It's clear the questioner left some of those files out or they wouldn't have been asking the question.
$$anonymous$$aybe that's your definition. The question was about having Unity installed in order to run a Unity game, which you don't need to do, because Unity games are self-contained. Read the question again if you don't understand.
Your answer
