Symptoms
I am getting the following error when I start up Unity in Windows:
Cause
You have downloaded and reinstalled Unity after reformatting your Windows machine, and you haven't installed your graphic card drivers.
This error happens when Direct3D Acceleration is disabled in the DirectX Features on your Windows machine.
Resolution
Check that Direct3D Acceleration is enabled:
- Type "dxdiag" into the Start menu bar.
- Click Run to open your DirectX Diagnostic Tool.
- Check Display - you should have all DirectX features enabled.
To fix this error:
- Make sure you are running Unity directly on your machine (not through Remote Desktop Connection or in a virtual machine)
- Update the graphic card drivers
If the issue persists, you can try starting Unity in OpenGL mode by passing -force-glcore as an argument while launching the Editor. You can find a list of all command-line arguments here.
More Information
Please be aware that Unity is not actively testing OpenGL, so you could experience stability issues while using it.