How to Fix “DEV ERROR 6068” in Call of Duty Modern Warfare?
The Dev Error 6068 in Call of Duty can make the game freeze or crash, often showing the message: “DEV ERROR 6068.” This error is usually due to software issues, like a broken DirectX installation, outdated Windows or drivers, and wrong game settings, rather than problems with your hardware.
Our research suggests the problem mainly lies with the software on the computer used to play Call of Duty, with a low chance of hardware issues. The error can also affect other apps like streaming software. Common causes include outdated drivers, wrong game settings, GPU overclocking, system stability problems, damaged game files, and issues with graphics settings like shaders.
Before diving into specific solutions, here are some common tricks to try:
- If you are using more than one display, try using just one to see if it fixes the problem.
- Check if other games work fine on your system.
- Make sure your system has RAM speeds of 3000 MHz, which the game needs to run well.
- Ensure you have a stable and fast internet connection.
In this article, we will discuss different ways to solve this error and get back to enjoying smooth gameplay.
1. Run the Game as Administrator
Permissions can make a significant difference for game performance. By running the game as an administrator, it can bypass standard system restrictions. This grants the game full control over resources and access to files that it might not have access to otherwise.
- Open the Battle.net launcher and open the Call of Duty window.
- Click on Options.
- Now click on “Show in Explorer”.
- In the Call of Duty folder, find and right-click on the Call of Duty file (the file with the .exe extension).
- In the sub-menu, click on “Run as an administrator” and check if the problem is solved.
2. Set the Priority of Call of Duty’s Process to High
By setting Call of Duty’s process priority to high, you’re instructing your system to allocate more CPU resources to the game, which can help prevent interruptions from background processes. This means that the system will focus on the game, potentially reducing crashes or stutters caused by other applications running simultaneously.
- Right-click on the Task Bar and then click on Task Manager.
- Find and right-click the process of Call of Duty, and then in the menu, click on Go to Details.
- In the Details tab, right-click on the Call of Duty process (which should already be highlighted), then in the menu displayed, select Priority and click on High.
- Check if the game is operating fine.
3. Update Windows and System Drivers to the Latest Build
Keeping your system current is important because outdated drivers or Windows versions may miss optimizations and fixes, including for DirectX. Installing the latest updates and drivers ensures your PC has recent patches, helping to fix compatibility problems.
- Press the Windows key and type Updates. Then in the search results click on Check for Updates.
- Press the Check for Updates button in the Update window.
- Download and install the updates (if any).
- Download the Windows Update Assistant.
- Launch the downloaded file and follow the on-screen instructions to complete the update process.
- Also, check the website of your system’s manufacturer for the latest version of system drivers.
- After completing the update process, check if the problem is solved.
4. Scan and Repair the Game Files
When game files are corrupted or missing, you can get errors. Using the Scan and Repair option checks all the game files and automatically fixes any damaged or missing parts. This ensures the game has the right files and settings, which can resolve errors from corrupted installs or updates.
- Open the Battle.net launcher and click on Call of Duty.
- Click on the Options menu (under its title) and then click on Scan and Repair.
- Then click on Begin Scan.
- The game files will be scanned, and any missing or corrupted files will be downloaded.
- After completion of the scan and repair, check if the problem has been solved.
5. Use PC Screen Only Option
Switching to the “PC Screen Only” option turns off external displays. This reduces the load on the GPU and prevents conflicts, helping the game run more smoothly.
- Exit Call of Duty and end its related processes through the Task Manager.
- In the system tray, click on the notification icon.
- Click on Project (you can also use the shortcut Windows+P keys).
- Select the “PC screen only” option.
- Launch Call of Duty and check if the problem is resolved.
6. Set the Game Window to Borderless
Using a borderless window can make the game more stable by avoiding conflicts with full-screen processes. This mode lets the game run smoothly with background apps, which may help prevent crashes like “DEV ERROR 6068” linked to full-screen rendering issues.
- Launch Call of Duty, click on Settings, and then click on the Graphics tab.
- Expand the Display Mode and select Fullscreen Borderless.
- Save the changes and check if the Dev Error 6068 is resolved.
7. Change Video Memory Scale
To improve stability, adjusting the Video Memory Scale can help prevent crashes by controlling how much VRAM the game uses. Lowering this setting ensures the game doesn’t overload your GPU’s memory, reducing the chance of performance problems from too much resource use.
- Exit Call of Duty and end all its related processes through the Task Manager.
- Launch File Explorer.
- Navigate to your player folder path, usually located at:
Documents\Call of Duty Modern Warfare\players
- Find the file adv_options.ini and open it using Notepad.
- Locate the line VideoMemoryScale.
- Change the value of VideoMemoryScale to 0.5.
- Launch Call of Duty and check if the problem is resolved.
8. Deactivate Game Overlay/Performance Monitoring Application
Disabling game overlays or performance tools like Discord or NVIDIA GeForce Experience can help resolve issues because these overlays often interfere with the game’s communication with your GPU and DirectX. They run in the background and can cause resource conflicts, leading to crashes. Turning them off reduces interference, helping the game run more smoothly and avoid causing errors.
8.1 For Nvidia Overlay
- Exit the game and end all related processes through the Task Manager.
- Launch the GeForce Experience.
- In the GeForce Experience window, click on the General tab.
- Scroll down to In-Game Overlay and toggle its switch to the off position.
- Exit the GeForce Experience after saving your changes.
- Launch Call of Duty and check if it is operating fine.
8.2 For GameBar
- Exit the game and end all running processes through the Task Manager.
- Press the Windows key and type Gaming. In the search results, click on Game Bar Settings.
- In the right pane of the Game Bar setting window, toggle the Game Bar switch to Off.
- Launch Call of Duty and check if the problem is resolved.
If you are using any other overlay or performance monitoring application, follow instructions specific to that application to disable it and check if Call of Duty is operating fine.
9. Use DirectX 11 for Call of Duty
This issue can be caused by compatibility problems with DirectX 12, which may push hardware too hard or conflict with some drivers. By using DirectX 11, you can avoid these conflicts because it is more stable and uses fewer system resources. Switching to DirectX 11 offers a smoother gaming experience for Call of Duty: Modern Warfare, especially on systems that have trouble with newer APIs or driver issues.
- Open the Battle.net launcher and select Options.
- Open Game Settings.
- For Call of Duty, check the option Additional Command Line Arguments and type -d3d11.
- Launch Call of Duty and check if the problem is resolved.
10. Clean Boot Your System
Unnecessary background programs can interfere with game performance, causing crashes or instability. A clean boot helps by allowing only essential services to run, reducing software conflicts. Temporarily disabling third-party apps creates a stable environment to see if one of those apps is causing the problem.
- Clean boot your system.
- Launch Call of Duty as an administrator (ensure no other application is running) and check if the problem is resolved.
- If resolved, identify the problematic application and address the conflict.
11. Tweaking the Shaders
This issue can happen because of faulty or corrupted shaders, which manage graphic effects in the game. When shaders don’t match your hardware or are set up wrong, they can cause crashes. Reinstalling or adjusting these shaders makes sure they are right for your system, fixing conflicts that cause problems.
11.1. Reinstall Shaders
- Launch Call of Duty and start playing.
- While in-game, reinstall the Shaders.
- Continue playing the game while they install. If shader installation completes during gameplay, restart the installation. Keep reinstalling the shaders during gameplay.
12. Delete the Players/Players 2 folder
Deleting the Players or Players 2 folder makes the game create new configuration files. These folders hold settings for graphics, controls, and preferences. Corrupted or mismatched settings can cause crashes or errors. Removing the folder resets these settings to default, which can fix any issues.
- Exit Call of Duty andend all its running processes.
- Navigate to the players folder of Call of Duty, usually located at:
Documents\Call of Duty Modern Warfare\
- Backup the Players folder (or Players 2 folder, if it exists).
- Delete the Players folder (and Players 2 folder, if applicable).
- Launch Call of Duty and check if the problem is resolved.
13. Change the Settings
Adjusting settings like turning off ray tracing or lowering texture quality can help prevent errors. These issues happen when the game’s high resource demand clashes with system performance or outdated drivers. By making these changes, you reduce GPU and CPU load, which decreases the chance of crashes and improves stability. These small adjustments often fix software conflicts that cause this error.
13.1. Change the Vertical Sync
- Exit Call of Duty.
- Launch the NVIDIA Control Panel.
- Select Manage 3D settings.
- Change vertical sync to “Adaptive Half Refresh Rate”.
- Launch Call of Duty and check if it works fine.
- If not, turn off the vertical sync and check if the problem is resolved.
13.2 Disable Ray Tracing
- Launch Call of Duty, open Options, and navigate to Shadow & Lighting.
- Disable Ray Tracing and check if the problem is resolved.
13.3 Disable Crossplay
- Launch the game and open the game Options.
- Navigate to the Account tab.
- Select the Crossplay option and choose Disable.
- Check if the game works fine.
13.4 Enable Server Latency
- Launch Call of Duty, open Options, and navigate to the General tab.
- In the Telemetry section, enable Server Latency.
13.5 Disable G-Sync
- Launch the NVIDIA Control Panel.
- In the left pane, expand Display and click on Set up G-Sync.
- Uncheck Enable G-Sync and check if the problem is resolved.
13.6 Lower FOV
Sometimes, reducing your field of view (FOV) can help fix performance issues. A higher FOV makes your system render more, which strains the GPU and CPU. Lowering the FOV lessens this strain and can prevent crashes from rendering overloads or DirectX errors.
14. Reinstall DirectX
Reinstalling DirectX can fix issues that cause crashes. DirectX is important for graphics in Modern Warfare, and if it’s corrupted or outdated, it can cause problems. By reinstalling it, you make sure the game has a stable version, which can remove conflicts or errors.
- Reinstall DirectX.
- After reinstalling DirectX, check if the game operates fine.
15. Disable Overclocking of CPU/GPU
This issue can be caused by overclocking your CPU or GPU, which pushes them beyond their normal settings and can lead to instability in games like Call of Duty: Modern Warfare. By turning off overclocking, the hardware runs at recommended speeds, lowering the chance of errors caused by overclocked stress.
- Lower your clock speed. Study the mechanics of Overclocking before attempting to lower the clock speed.
- After lowering the clock speed, check if the game is working fine.
16. Reinstall the Game
If nothing else works, reinstalling the game can fix issues like corrupted files or incomplete installations that other fixes can’t. Reinstalling makes sure all game files, like shaders and DirectX, are correct. This can remove software conflicts or missing data that might have caused the error.
- Launch the Battle.net launcher and click on the icon for Call of Duty.
- Click on the Uninstall Game button.
- Follow the on-screen instructions to complete the uninstallation.
- Restart your system.
- Launch the Battle.net launcher.
- Install Call of Duty and check if the problem is resolved.
17. Enabling XMP for your RAM (if applicable)
Improving system stability can involve setting the right memory settings. Enabling XMP for your RAM lets it run at the right speed, preventing instability or crashes in Modern Warfare. Optimizing RAM performance with XMP reduces memory errors, leading to smoother gameplay.
Learn more about how to enable XMP.
18. Change RAM
Changing your RAM might seem unrelated, but faulty or mismatched memory can cause errors. Memory issues can make the system unstable, especially in demanding games like Modern Warfare. If your RAM is damaged, running at wrong speeds, or incompatible with your system, it can cause crashes. Upgrading or replacing your RAM ensures smoother performance and helps prevent memory-related crashes.
19. Reset or Clean Install Windows
If none of the solutions work, resetting or reinstalling Windows might be a last resort. This step removes software issues, corrupted files, and wrong settings that can cause errors. Installing a fresh copy of Windows clears any lingering problems, giving your system a fresh start and ensuring the game runs well.
Checkout our article on how to clean install Windows.