# InvalidOperationException: Graphics device type [OpenGLCore] is not supported on this platform. Please switch to Direct3D11 or Vulkan.

- **ID:** `unity/invalidoperationexception-graphicssettings-mismatch`
- **Domain:** unity
- **Category:** system_error
- **Verification:** ai_generated
- **Fix Rate:** 85%

## Root Cause

The project's graphics API settings in Project Settings > Player are incompatible with the current build platform, e.g., OpenGLCore selected for Windows Standalone which requires D3D11.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| Unity 2022.3.20f1 | active | — | — |
| Unity 2023.1.10f1 | active | — | — |
| Unity 6000.0.0b1 | active | — | — |

## Workarounds

1. **Open Edit > Project Settings > Player > Other Settings > Rendering. Uncheck 'Auto Graphics API' and remove OpenGLCore from the list. Add Direct3D11 (Windows) or Vulkan (Linux/Android). Then rebuild.** (90% success)
   ```
   Open Edit > Project Settings > Player > Other Settings > Rendering. Uncheck 'Auto Graphics API' and remove OpenGLCore from the list. Add Direct3D11 (Windows) or Vulkan (Linux/Android). Then rebuild.
   ```
2. **If building for Android, ensure 'Minimum API Level' is set to at least 24 and Vulkan is selected as the primary graphics API.** (80% success)
   ```
   If building for Android, ensure 'Minimum API Level' is set to at least 24 and Vulkan is selected as the primary graphics API.
   ```

## Dead Ends

- **** — The error is not caused by missing drivers; it's a project configuration issue. (90% fail)
- **** — Graphics API settings are stored in ProjectSettings/ProjectSettings.asset, not in Library. (95% fail)
- **** — The error is about graphics API, not CPU architecture. (85% fail)
