- Home /
The program can't start because UnityPlayer.dll is missing from your computer.
our Game Design classes are receiving this error when trying to compile on an instructor's station. "The program can't start because UnityPlayer.dll is missing from your computer." All systems are running Windows 10 64bit Enterprise addition. Do I need to reinstall unity on our instructor's station? Did I miss a check mark during the installation?
All of our classroom computers were upgraded from Unity 4.6.3 to 2017.2 last friday.
Thanks.
Answer by jmasinteATI · Nov 29, 2017 at 12:19 AM
Like @dmmsskn says, it's a feature in the new version of Unity. When you copy the exe to another folder, you'll need to copy the UnityPlayer.dll too.
Answer by dmmsskn · Oct 26, 2017 at 08:23 AM
https://unity3d.com/ru/unity/beta/unity2017.2.0b2
Section "Impovements"
Windows: The player executable has been split into two parts: a signed UnityPlayer.dll that has all the engine code, and a wrapper executable that merely calls into this DLL at startup. The source code for the executable can be found under Editor\Data\WindowsStandaloneSupport\Source\WindowsPlayer. It can be rebuilt with VS2015 as long as you have "Common Tools for Visual C++ 2015" and "Windows XP Support for C++" installed.
Answer by Cookieg82 · Oct 25, 2017 at 10:08 PM
Personally either reinstall or rollback to last working version.
Answer by incenseman · Feb 06, 2018 at 10:54 PM
UnityPlayer.dll is missing. I built a stand alone unity game EXE. It played fine for almost a week. With no changes being made by me I get this error out of the blue. Now the game that has been working all along does not even start. I search my entire computer and there is no UnityPlayer.dll and I am pretty sure there never was one. I have version 2017.3.0f3.
You might try building from a blank scene. Unity will create a UnityPlayer.dll. Copy and paste that in the same folder as your exe. Fingers crossed.
So if we are uploading to a store does this mean that we now should be including: 1. the exe 2. the data folder 3. the UnityPlayer.dll?
the answer to this is yes. once I added this dll to my store submission the testers were able to test.
Thanks @jmasinteATI . I had already reinstalled unity when I saw your reply. However I did not have to build or rebuild anything. I found a copy of the same game in another folder and copied the needed files to the game folder and now it works. I do not remember seeing those files in previous versions. It probably no the best idea as it is terribly confusing. Also I have no idea how those files got deleted in the first place. Thanks a lot for your reply though.
Answer by Westland · May 02, 2020 at 02:41 PM
This can also occur if the directory is in certain folders, for example I sent a build to a friend, which has worked previously, but he unzip'ed it into the 'Transfers'-folder on Windows 10 (uncertain of the folder-naming, since his language isn't english), but the error popped up, saying the UnityPlayer.dll was missing (despite actually being in the folder).
When he moved the folder to the desktop and tried to run the build again, it worked perfectly. I'm assuming this is some restriction/safety-measure by Windows 10, since similar has occurred in earlier versions. Just a heads up for anyone else stumbling by
I just moved the game folder to desktop like @Westland suggested and magically UnityPlayer.dll appeared where it never was when in transfer folder. Thanks ,The problem for me was solved when I changed the folder. I just did what @Westland said. And then UnityPlayer.dll magically apperared in the folder. Thanks
Your answer
Follow this Question
Related Questions
C# Files not Compiling 2 Answers
Admob Plugin 2 Answers
Editor Compiling New Changes 2 Answers
game lost functionality after build 1 Answer
XBox One Build FileNotFoundException 0 Answers