How to Fix an Empty DXCache Folder in Windows?

If you encounter an issue where the DXcache folder remains empty, it means your graphics driver fails to create shader cache files after you launch the game for the first time.

Various reasons can cause this issue, but mainly it happens due to problems with the graphics driver. Additionally, the recent change in the location of the DX cache folder might be the reason you cannot see any file or DX cache folder in the location where you used to see it.

1. Verify the Shader Cache Settings in the Nvidia Control Panel

If the shader cache option is not enabled, your GPU driver won’t create shader cache files even if you play the game for several hours; you will find the DX cache folder empty. Therefore, ensure that the shader cache option is turned on in the Nvidia Control Panel.

  1. Hold the Shift key, right-click the desktop, and select Nvidia Control Panel.
  2. Go to Manage 3D settings from the left.
  3. In the right pane, find the Shader Cache option listed under Settings and make sure it is turned on.
  4. Once done, click Apply and check if the files are being created under the cache folder.

2. Verify the DX Cache Location

Recently, the location of the DirectX cache folder has been moved from the Local folder to LocalLow, which might be why you are unable to see it in the location where you used to.

  1. Press the Win + R keys simultaneously and type Appdata in the input box.
  2. Click OK to navigate to the folder.
  3. Navigate to LocalLow\NVIDIA\; here, you should see the DX cache folder listed. If you cannot see it, you can also check the Local folder. If it still cannot be found, proceed to the following methods to fix the issue.

3. Use DDU to Reinstall the Driver

The DX cache folder files might not be created due to a problem with your GPU driver. Reinstalling the GPU driver using DDU (Display Driver Uninstaller) will remove all the traces of the previous driver, which might be corrupted, resulting in this issue.

  1. Download the Display Driver Uninstaller using the link.
  2. Once downloaded, extract the folder using WinRar or 7zip.
  3. Now, navigate to the extracted folder and run the DDU 7zip file.
  4. Click on the Extract option and navigate to the extracted folder once done.
  5. Then, run the Display Driver Uninstaller application.
  6. Select the GPU from the device type and the GPU vendor.
  7. Then, click Clean and Restart.
  8. Once done, install the GPU Driver from the official manufacturer’s site.
  9. Once done, restart your computer.
  10. Then, launch the game and see if the problem is resolved.

4. Manually Create DXCache Folder

Manually creating the DXCache folder directory in the right location will help the games access and create the necessary cache files. Sometimes, issues with the profile usernames and incorrect driver installation prevent the applications from saving the cache files. Therefore, manually creating the folder might resolve the issue.

  1. Press the Win + R keys simultaneously to open the Run window.
  2. Type AppData in the input box and click OK.
  3. Now, navigate to the following directory and create a folder with the name DXCache.
    AppData\LocalLow\NVIDIA\PerDriverVersion\

  4. Once done, see if the issue is resolved or not.

5. Verify the Game Permissions

Another reason could be a lack of permissions, which could prevent the game from storing the shader cache. To address this, try running the game as an administrator and verify that you have full control over the DXCache folder to create the necessary files.

Running the game as an administrator will ensure that the application has all the necessary permissions to perform the required actions.

  1. Right-click the game and select Run as administrator.
  2. If you find the issue is fixed, then configure the game or application to always run with administrator privileges.
  3. Again, right-click the game, go to Properties from the top, then go to Compatibility and tick Run this program as an administrator.
  4. Once done, click Apply and click OK.
  5. Then, check if the issue is fixed or not.

Lastly, if none of the solutions work, you can try using the system restore utility to revert Windows to a previous state. This requires having a restore point from before you encountered the issue. If you don’t have any restore points, resetting the PC without losing data might be the best solution.

ABOUT THE AUTHOR

Hamza Mohammad Anwar


Hamza Mohammad Anwar is an intermediate JavaScript web developer with a focus on developing high-performance applications using MERN technologies. His skill set includes expertise in ReactJS, MongoDB, Express NodeJS, and other related technologies. Hamza is also a Google IT Certified professional, which highlights his competence in IT support. As an avid problem-solver, he recreates errors on his computer to troubleshoot and find solutions to various technical issues.