UnityPlayer.dll is a DLL file that some games require for their 3D graphics content. A commonly reported UnityPlayer.dll error frequently crashes games that require that DLL file. Players encountering this issue usually see “UnityPlayer.dll cause an Access Violation (0xc0000005)” error messages in the Event Viewer’s Event Viewer.
Some players have said that UnityPlayer.dll (0xc0000005) error crashes games every 10-15 minutes. As such, getting it repaired again is essential so you can get uninterrupted gaming again. Here’s how to fix the “UnityPlayer.dll caused an access violation (0xc0000005)” error in Windows 10 and 11.
1. Reinstall the Citrix Workspace
The most confirmed fix for the UnityPlayer.dll (0xc0000005) error is to reinstall Citrix Workspace. There is a version of Citrix Workspace with a conflicting driver that causes the UnityPlayer.dll (0xc0000005) issue.
Uninstalling or reinstalling the app with the latest version has fixed this error for many players. If you have Citrix Workspace installed, try installing that app again as follows:
- Open the settings removal tool using a method in our guide to opening apps and features on Windows.
- Click the three-dot menu button for the Citrix Workspace app.
- Select the apps remove choice.
- Press for a second remove button to confirm. If you don’t need Citrix Workspace, you can stop here.
- To reinstall the latest version of the Citrix app, open the Citrix Workspace Microsoft Store page in a browser.
- press the Download the Store app and then select the Open Microsoft Store button that appears in the pop-up menu.
- When the Microsoft Store opens, click the To get button for Citrix Workspace.
2. Disable the Citrix Virtual Bus Enumerator
The Citrix Virtual Bus Enumerator driver for Citrix software is known to cause games to crash with UnityPlayer.dll (0xc0000005) error. Users have said that disabling that driver fixed the UnityPlayer.dll (0xc0000005) error for them. You can disable Citrix Virtual Bus Enumerator using Device Manager as follows:
- Click Get started with the right mouse button and select Device Manager.
- Then double click on the System Devices category there.
- Find and right click Citrix Virtual Bus Enumerator (or Citrix Indirect Display Adapter) to a . to select Switch off device choice.
- Select Yes when prompted to confirm the selected option.
- You can re-enable Citrix Virtual Bus Enumerator if needed by right-clicking on it in Device Manager and the Switch on device choice.
3. Disable all third-party antivirus programs
Third-party antivirus software can also cause the UnityPlayer.dll (0xc0000005) error to occur by incorrectly marking the UnityPlayer DLL file. Disable your antivirus program’s shield to make sure this doesn’t happen. You can disable most third-party antivirus software by right-clicking their system tray icons and selecting Disable or disable security context menu settings.
If you do not have a third-party antivirus package installed, you can try disabling Windows security. Our guide tells you how to disable the Microsoft Defender (Security) app from Windows 11. Then play the games with the antivirus shield disabled.
If disabling antivirus protection works, don’t leave it disabled. You should be able to set exceptions for the games in your antivirus software settings. Add all games that encountered the UnityPlayer.dll (0xc0000005) error and the UnityPlayer DLL file to an exception list, then re-enable the antivirus program.
4. Disable all firewalls
Firewalls can also cause access violation issues by blocking game files. So try to play affected games with the Windows Defender Firewall turned off. You can disable that firewall as follows:
- Right click Get started and select the Power User menus To search choice.
- Type firewall in the search text box.
- Click Windows Defender firewall in the search function to open that applet.
- Then click on Control Panel Enable or disable Windows Defender Firewall navigation option.
- Click Disable Windows Defender Firewall for private and public networks.
- Select Okay to apply the new firewall settings.
If you have any third-party firewall software installed, consider removing it or at least temporarily disabling it. Go through the firewall software settings to find an option to disable it. Disable the firewall software before playing games.
5. Reinstall your graphics card driver
Incompatible or corrupted graphics drivers may also cause the UnityPlayer.dll (0xc0000005) error. So it may be a good idea to uninstall and reinstall your GPU’s driver.
Our guide on how to reinstall your GPU drivers on Windows PCs has complete instructions on how to reinstall your graphics drivers.
6. Clean Boot your Windows PC
Even though you may not have software open on the taskbar when playing games, third-party apps, services and other processes in the background can still conflict with games. Windows clean boot is a standard method for troubleshooting game crashes such as UnityPlayer.dll (0xc0000005). Performing a clean boot may disable a conflicting background app or service causing the UnityPlayer.dll (0xc0000005) error.
To do a clean boot, you need to disable all third-party startup items and services. Our guide to clean booting Windows 11 has complete step-by-step instructions on how to do that with MSConfig and Task Manager. Once you have performed a clean boot, try playing the games that are causing the UnityPlayer.dll (0xc0000005) error.
7. Disable the XMP Extreme Memory Profile
XMP (Extreme Memory Profile) is a powerful RAM setting available for PCs that support it. Some players have said that they managed to resolve the UnityPlayer.dll (0xc0000005) error by disabling XMP on their PC. However, that option is only accessible in the BIOS (Basic Input Output Settings).
Exactly how to access the BIOS varies by PC model. Entering the BIOS usually involves pressing a variable hotkey during system boot. We recommend that you check your PC’s online or offline manual and guidelines (and our own manual) for details on how to enter BIOS on Windows and configure the settings there.
When entering the BIOS, look for an Extreme Memory Profile (XMP) setting by pressing the arrow keys to navigate. You may find an XMP setting on the main screen in the BIOS. Or that option can be included in RAM or overclocking sections.
When you find the XMP option, select it to disable it if it is currently enabled. Then make sure you choose to save the new settings before exiting the BIOS.
Enjoy your games on Windows again
The possible solutions above will probably prevent the UnityPlayer.dll (0xc0000005) error from corrupting your Windows gaming games. We can’t say they are fully guaranteed solutions, but they are solutions that many players have solved that problem with. Hopefully one of them will sort the UnityPlayer.dll (0xc0000005) error on your PC.