- Home /
Why does Unity 3.x/4.x fail to start on Windows?
Why doesn't my brand new Unity 3.x/4.x start on Windows?
Answer by Ricardo Arango · Oct 11, 2010 at 03:40 PM
Unity may fail for different reasons: needs a supported video card, sufficient memory and hard disk space to run. It also needs the Operating System to have the expected drivers, libraries and permissions..
Following is a list of common solutions that have worked before:
Make sure Windows is Up To Date. For this you can use the Windows Update application. Also make sure you have the latests drivers for your hardware. Sometimes they are listed in the Windows Update application, others you have to look for them in the manufacturers website.
DirectX libraries not found. This may throw an error message, such as: "The program can't start because d3dx9_XX.dll is missing from your computer. Try reinstalling the program to fix this problem.". Unity may be requiring a DirectX library that hasn't been found in your OS. See this site for more information: http://windows.microsoft.com/en-US/windows7/Diagnosing-basic-problems-with-DirectX
Data Execution Prevention (DEP) on Windows Vista and above. This does not occur on every machine, but some users have reported DEP can stop Unity from working. To add an exception follow this guideline : http://windows.microsoft.com/en-US/windows-vista/Change-Data-Execution-Prevention-settings, "To turn off DEP for an individual program". Note: It is reported (but not confirmed) that Oct '11 security updates to Windows change the DEP setting to highest and this can stop Unity in it's tracks. Change back to the settings mentioned earlier.
"The application failed to initialize properly (0xc0150002)". Users reported this may occur in Windows XP. A posted solution was to install the Microsoft Visual C++ 2008 Redistributable Package (x86): http://www.microsoft.com/downloads/en/details.aspx?FamilyID=9b2da534-3e03-4391-8a4d-074b9f2bc1bf&displaylang=en.
User permissions. Unity needs to be able to write and read files. Sometimes user privileges disallow this. Try running Unity as an administrator by right-clicking on the icon and selecting: "Run as Administrator". Using the shortcut properties you can set Unity to always run as administrator.
Firewalls, Anti-viruses, other software. Try closing all running programs in Windows before starting Unity. An application may be conflicting with Unity.
Send a bug report. If problems are not reported it's more likely they will not be fixed. Besides, Unity Support may already have an answer for your problem.
Try and see if Unity will start when you choose to run the Project Wizard on start-up. This will help you determine if Unity is crashing because of your project.
Worst case scenario: Re-install Windows. Windows is a very complex piece of software, that can break after a lot of usage, installing-reinstalling software and using utilities that remove system files (e.g registry tweaking, antivirus/antispam removing what it shouldn't, optimizers disabling services, etc.) Some users have found Unity works after reinstalling Windows. Leave this as your last resource.
If you have an kernel level debuggers installed Unity will not open. Please remove your debuggers. Note that the best way to completely eliminate these debuggers is often to re-install Windows.
If you have any unusual USB devices attached to your computer try removing them. Occasionally USB devices can appear as HID devices and cause input problems. Unusual might mean anything that is not a keyboard or mouse.
DEP was also the problem for me. Only started after updating Unity.
How can we do the DEP part without putting it on for ALL programs? I'd have to add every editor/game on my entire system to the exception list...
I want it on the essential services, and definitely off for Unity.
I just wanted to say that I was having this problem with Unity being installed onto my D drive, and adding an exception to DEP resolved this issue for me. $$anonymous$$any thanks.
Answer by kyle · Oct 12, 2010 at 03:11 AM
did you get an error on the unity 2.6 uninstall section? that sometimes causes it to crash if it doesn't uninstall correctly, an easy way to tell this is if you have the same startup picture in the opening, you know the jungle thing? ya that if it's still the jungle island picture and not a army man standing it's not working correctly and reinstalling unity 3.0 may fix it.
Answer by Brandon 4 · Oct 24, 2010 at 04:13 AM
I restarted my computer and ran it again and there were no other issues.
Answer by i4xrush · Oct 24, 2010 at 06:19 AM
Make sure Unity 3 is installed right, A few possible fixes from my usual Diagnosis is to A) Install Java JDK B) Reinstall Unity 3. C) Installing java in general such as JRE D) All of the above.
Answer by AKB · Dec 07, 2010 at 10:15 PM
I had the 0xc0150002 error. I found that downloading both the Microsoft Redistributable C++ library fixed the problem.
Your answer
Follow this Question
Related Questions
Windows 7 64-bit | Startup Crash 0 Answers
Unity won't start up 2 Answers
Unity Crashes on Startup After Importing Old .unitypackage 3 Answers