- Home /
Built .exe doesn't work on other machines!
I searched on the net for an answer but i could't find any proper thing.
I built on win8 os and my app works well on my own pc but i sent it as .rar file (with app_Data folder) to some friends, they say they got an error like "this application can't run on this machine"
I checked the Data folder which i sent and everything on its place, no missing files. I read the output log on my machine and saw no error.
Build settings are; Windows, x86_64
If you want to check the app itself, here is the link to download
works on win7/64 (with unity installed)
what is it supposed to do? perhaps you can post a screenshot of the expected behavior...
@gjf: Looks like you can start a server and connect from another client / device. The client seems to be supposed to display (touch-)buttons which send an rpc to the server which then emulates a keypress on the server.
At least that's what i could read out at the first glance ;)
@Reizen:
It's a bit of an overkill to add "$$anonymous$$icrosoft.VisualBasic.dll", "System.Deployment.dll", "System.Windows.Forms.dll" just to get a sendkey function and key / mouse hook functionality. If you wrote the Input$$anonymous$$anager yourself, remove all those dependencies since they aren't actually needed / used. If not, look for a better sendkey dll ;)
thanks for trying and feedback to me guys. i will work on my own input manager later ;)
Answer by Bunny83 · Mar 24, 2014 at 12:19 PM
Well, you build a 64 bit binary, are you sure the other people have a 64 bit hardware? For example i still have a 32 bit system and obviously can't run your game.
thank for feedback and i think this is the problem. how can i build for 32bit machines?
Answer by wibble82 · Mar 24, 2014 at 12:19 PM
Are you building a dev build or a normal build (in the build settings)? I think the dev build may not be guarunteed to work on other machines without unity installed. If you want to make sure it'll run on any machine, make sure you aren't doing a dev build.
it is already normal build not development but it still doesn't work. thanks for your answer
Answer by PlasmaHalls · Mar 24, 2014 at 02:16 PM
you should probably change the build settings to x86 Even i had the same problem
Your answer
Follow this Question
Related Questions
Using a PC Oriented code to make an Android Build. 1 Answer
Is there a way to make a pc build that will not lose focus when selecting another app ? 1 Answer
Distribute terrain in zones 3 Answers
Unity PC (Windows) Build failing 2 Answers
Is it possible to create a game build in unity’s runtime? (I’m making something like terror engine) 0 Answers