How to Fix “DEV ERROR 6068” in Call of Duty Modern Warfare?

Fix: "Dev Error 6068" DirectX encountered an unrecoverable error in Call of Duty

The Dev Error 6068 in Call of Duty (any variant) can be caused by a corrupt DirectX installation on your System. It can also be caused by outdated Windows, System Drivers, and non-optimal settings for the game. The Dev Error 6068 in the game accounts for freezing/crashing of the game with the following message:

The Dev Error 6068

According to our research, it seems that the issue is mostly related to software aspects of the computer system used to play Call of Duty with very less likelihood of a hardware problem. Here are a few common remedies to be looked into before you proceed with the specific solutions:

  • If you are using multiple displays, then use only one display.
  • Make sure if all other games are working fine.
  • To run optimally, the game requires RAM speeds of 3000 MHz, so, make sure your system meets the requirement.
  • Make sure you have a stable and fast internet speed.

Run the Game as Administrator

Call of Duty requires admin privileges to access certain files and services. And if it is not given admin privileges, then it can result in the Dev error 6068. In that case, launching the game with administrative privileges may solve the problem. For illustration, we will discuss the process for the Battle.net launcher. And to run Call of Duty as an administrator, you may follow instructions specific to your platform.

  1. Open the Battle.net launcher and open the Call of Duty window.
  2. Then click on Options.
  3. Now click on “Show in Explorer”.
    Show Call of Duty in Explorer
  4. Now in the Call of Duty folder, find and right-click on Call of Duty file (the file with .exe extension).
  5. Now, in the sub-menu, click on “Run as an administrator” and check if the problem is solved.
    Run the Call of Duty as Administrator

Set the Priority of Call of Duty’s Process to High

Although, it is not a good idea to play with the priorities of the process if you do not know what you are doing, but in the current scenario as the game loads your CPU & GPU quite heavily, changing the priority of its process to High Priority may solve the problem.

  1. Right-click on the Task Bar and then click on the Task Manager.
    Open Task Manager
  2. Now find and right-click the process of the Call of Duty and then in the menu, click on Go to Details.
    Open Details of the Call of Duty Process
  3. Now in the Details tab, right-click on the Call of Duty process (which should already be highlighted), now in the menu displayed, select Priority and then in the sub-menu, click on High.
    Set the Priority of Call of Duty’s Process to High
  4. Now check if the game is operating fine.

Update Windows and System Drivers to the Latest Build

Microsoft and your system manufacturers release new updates for the OS and system drivers to improve performance and patch known bugs. If you are using an outdated version of Windows/system drivers, then you are prone to face many issues including the current Dev Error 6068. In that case, updating Windows and the system drivers may solve the problem. Also, updating Windows will patch out any issues with the DirectX.

  1. Press the Windows key and type Updates. Then in the search results click on Check for Updates.
    Check For Updates in Windows Search Box
  2. Now press Check for Updates button in the Update window.
    Check for Updates in Windows Update
  3. Download and install the updates (if any).
    Check For Updates in Settings
  4. Download the Windows Update Assistant.
  5. Launch the downloaded file and follow the instructions on your screen to complete the update process.
  6. Also, check the website of your system’s manufacturer for the latest version of system drivers.
  7. After completion of the update process, check if the problem is solved.

Scan and Repair the Game Files

If the game files of Call of Duty are corrupt, then it can cause the game to throw the Dev Error 6068. In that case, scanning and repairing the game files (which will analyze the game files and redownloads the missing files) may solve the problem. For illustration, we will discuss the process for the Battle.net launcher.

  1. Open the Battle.net launcher and click on Call of Duty.
  2. Now click on the Options menu (under its title) and then click on Scan and Repair.
    Scan and Repair the Call of Duty
  3. Then click on the Begin Scan.
  4. Now your games files will be scanned and missing/corrupted files will be downloaded (if any).
  5. After completion of the scan and repair of the game files, check if the problem has been solved.

Use PC Screen Only Option

Call of Duty does not go well with multi displays. If you are using multi displays, then it can be the root cause of your issue. In that case, using the PC screen-only option may solve the problem.

  1. Exit the Call of Duty and kill all of its related processes through the Task Manager.
  2. On the system tray, click on the notification icon.
  3. Then click on Project (you can use the shortcut of Windows+P keys as well).
    Open Project Setting in Notifications Center
  4. Now select the “PC screen only” option.
    Choose the Option of Use PC Only
  5. Now launch Call of Duty and check if the problem is solved.

Set the Game Window to Borderless

If you are using multi-displays while playing the game, then changing the game mode to borderless may solve your problem. Although, some users with a single display have reported that changing to borderless mode has solved their problem.

  1. Launch the Call of Duty, click on Settings, and then click on the Graphics tab.
  2. Then expand the Display Mode and in the sub-menu, click on Fullscreen Borderless.
    Change Display Mode to Fullscreen Borderless
  3. Now save the changes and check if the Dev Error 6068 has been resolved.

Change Video Memory Scale

Video Memory Scale allows the Game how much VRAM can be utilized by the game. If the game is loading the VRAM very heavily and chokes it, then lowering this setting may solve the problem.

  1. Exit the Call of Duty and kill all its related processes through the Task Manager.
  2. Now launch the File Explorer
  3. Then navigate to the path of your player folder; usually, the path is:
Documents\Call of Duty Modern Warfare\players
  1. Now find the file adv_options.ini and open it using notepad.
  2. Find the line of VideoMemoryScale.
  3. Now change the value of VideoMemoryScale to 0.5.
  4. Then launch the Call of Duty and check if the problem is solved.

Deactivate Game Overlay/Performance Monitoring Application

Programs with overlay features are known to be the cause of many Dev Error codes including the Dev Error 6068. Some of these programs are Nvidia’s GeForce Experience, AMD Overlay, Game Bar, and Discord Overlay. Moreover, performance monitoring software applications like MSI Afterburn are also known to cause the Dev Error 6068. If you are using any such software applications, then disabling the application may solve the problem.

To disable Game Overlay in Nvidia’s GeForce Experience, follow the instructions mentioned below:

  1. Exit the game and kill all of its related processes through the Task Manager.
  2. Launch the GeForce Experience.
  3. In the left pane of the GeForce Experience window, click on the General tab.
  4. Scroll down to find out the option of In-Game Overlay and Toggle its switch to off position.
    Disable In-Game Overlay of GeForce Experience
  5. Exit the GeForce Experience after saving your changes.
  6. Now, launch Call of Duty and check if it is operating fine.

To switch off the Game Bar, follow the instructions mentioned below:

  1. Exit your game and kill all of its running processes through the Task Manager.
  2. Now press the Windows key and type Gaming. Then in the search results, click on Game Bar Settings.
    Open Game Bar Settings
  3. In the right pane of the Game bar setting window, toggle the switch of Game Bar to Off.
    Disable the Game Bar from the Settings menu
  4. Now launch Call of Duty and check if the problem is solved.

If you are using any other overlay or performance monitoring application, then follow instructions specific to that particular application to disable it and check if the Call of Duty is operating fine.

Use DirectX 11 for Call of Duty

DirectX 12 is the newly adapted API for gaming. But many games encounter different types of issues when using DirectX 12. If that is the reason for your issue, then changing the arguments of the game to use DirectX 11 which can fix the DirectX error on Call of Duty and thus may solve the problem. For illustration, we will discuss the process for the Battle.net launcher.

  1. Open the Battle.net launcher and open Options.
  2. Now open Game Settings.
  3. Then for Call of Duty, check the option of Additional Command Line Arguments and type in -d3d11.

    Additional Command Line Arguments
  4. Now launch Call of Duty and check if the problem is solved.

Clean Boot Your System

If nothing has helped you so far, then the issue you are facing could be the result of a conflicting 3rd party application/driver. In that case, clean booting your system may help in finding the conflicting application and thus solve the problem.

  1. Clean boot your system.
  2. Now launch Call of Duty as administrator (make sure no other application is running) and check if the problem is solved.
  3. If so, then try to find the problematic application and solve the issue between the applications.

Tweaking the Shaders

Call of Duty uses Shaders for showing shades in 3D scenes. However, Shaders are known to cause many Dev Errors including the Dev Error 6068. The problem with the Shaders is that they are forced by the developer and you cannot just simply disable it. There are two workarounds (till the final fix arrives).

Reinstall Shaders

  1. Launch the Call of Duty and start playing.
  2. When in-game, start the reinstallation of the Shaders.
  3. Keep playing the game until it is installing. If the installation of Shaders is complete during the process, restart the installation process. Keep reinstalling the Shaders whenever the installation completes till you are playing the game.

Delete the Players/Players 2 folder

Deleting these folders will delete shaders out of your game.

  1. Exit the Call of Duty and kill all its running processes.
  2. Now navigate to the players folder of the Call of Duty. Usually, it is located at:
Documents\Call of Duty Modern Warfare\
  1. Backup the Players folder, just in case! or if there is Players 2 folder, backup it as well.
  2. Now delete the Players folder. Or if there is Players 2 folder, delete it as well.
    Backup and Delete Players Folder
  3. Now launch the Call of Duty and check if the problem is solved.

Change the Settings

There can be some non-optimal settings of Call of Duty and the system which can cause Dev Error 6068. In that case, changing those settings may solve the problem.

Change the Vertical Sync

  1. Exit the Call of Duty.
  2. Launch the NVIDIA Control Panel.
  3. Then select the Manage 3D settings.
  4. Now change the vertical sync to “Adaptive Half Refresh Rate”.
    Turn off Vertical Sync
  5. Now launch Call of Duty and check if it is working fine.
  6. If not, then turn off the vertical sync and check if the problem is solved.

Disable Ray tracing

  1. Launch the Call of Duty, open the Options, and navigate to Shadow & Lighting.
  2. Now disable the option of Ray tracing and check if the problem is solved.
    Disable Ray Tracing

Disable Crossplay

  1. Launch the game and open the game Options.
  2. Now in the Options menu, navigate to the Account tab.
  3. Then select the Crossplay option and choose Disable.
    Disable Crossplay
  4. Now check if the game is working fine.

Enable Server Latency

  1. Launch the Call of Duty, open the Options, and navigate to the General tab.
  2. Then in the Telemetry section, enable the option of Server Latency.
    Enable Server Latency

Disable G sync

  1. Launch the NVIDIA control panel.
  2. In the left pane of the window, expand Display and then click on Set up G-Sync.
  3. Now uncheck the option of Enable G-Sync and check if the problem is solved.
    Disable G-Sync

Reinstall DirectX

Microsoft DirectX is the API used by software applications to communicate with the computer’s hardware. If it has been corrupted (which can be as the error message is indicating that something is not right with the DirectX), then it can be the reason for the current issue. In that case, reinstalling it may solve the problem.

  1. Reinstall DirectX.
  2. After reinstallation of the DirectX, check if the game has started to operate fine.

Disable Overclocking of CPU/GPU

Overclocking is a common norm in the gaming world but it is known to create a lot of issues for the games. Overclocking your CPU/GPU could be the root cause of The Dev Error 6068. In that case, reducing the clock speed or resetting your CPU/GPU to its stock speeds may solve the problem.

  1. Lower your clock speed. You should study the mechanics of Overclocking before attempting to lower the clock speed.
  2. After lowering the clock speed of your CPU/GPU, check if the game is working fine.

Run the SFC and DISM Commands

Corrupted OS files especially related to DirectX can lead to the Call of Duty Dev Error 6068. But fortunately, we have built-in utilities that can solve the issue of corruption of the system files. In that case, running these commands may solve our problem

  1. Run the SFC
  2. Run the DISM
  3. Then launch Call of Duty and check if the problem is solved.

Reinstall the Game

If nothing has worked you so far, then it is time to uninstall the game and then reinstall it. For illustration, we will discuss the process for the Battle.net launcher.

  1. Launch the Battle.net launcher and click on the icon for the Call of Duty.
  2. Then click on the uninstall Game button.
    Uninstall Call of Duty
  3. Now follow the on-screen instructions to complete the uninstallation process.
  4. Then restart your system.
  5. Now launch the Battle.net launcher.
  6. Then install the Call of Duty and check if the problem is solved.

Enabling XMP for your RAM (if applicable)

If none of the methods shown above worked for you it’s highly possible that your RAM is clocked down and being bottle-necked by your BIOS settings. If your RAM supports XMP and you have an option for it in your BIOS settings we highly recommend you to enable XMP to get the best possible clocks out of your RAMs. You can learn more about how to enable XMP here.

Reset or Clean Install Windows

If nothing has worked for you so far, then you are left with no other option but to either reset the Windows or perform a clean installation of Windows.

Change RAM

It is possible that sometimes the RAM that you have installed on your computer is preventing you from being able to play this game. Therefore, if you have any extra RAM sticks lying around or if you are willing to try out new RAM on your computer, try changing the RAM on your computer.

Lower FOV:

Some users experienced that when they lower the FOV below 100 and around 95, they are able to play the game perfectly without getting the Dev error. Therefore, it is recommended to keep the graphics settings at default and to lower the FOV to around 95.

ABOUT THE AUTHOR

Kevin Arrows


Kevin Arrows is a highly experienced and knowledgeable technology specialist with over a decade of industry experience. He holds a Microsoft Certified Technology Specialist (MCTS) certification and has a deep passion for staying up-to-date on the latest tech developments. Kevin has written extensively on a wide range of tech-related topics, showcasing his expertise and knowledge in areas such as software development, cybersecurity, and cloud computing. His contributions to the tech field have been widely recognized and respected by his peers, and he is highly regarded for his ability to explain complex technical concepts in a clear and concise manner.