Image

Dragon Age The Veilguard Compiling Shaders Error & How to fix it

fragster Jennifer Davis 3. November 2024

Waiting is fine, but not until it takes most of your time. This has been the sentiment of Dragon Age: The Veilguard players on the issue of shader compilation times. It has been frustrating for some users, as they report the waiting time to range from 10 to 40 minutes. This means that it takes almost an hour they allotted for gaming just to finish the process. 

The shader compilation is necessary in games as it converts shaders into a GPU-compatible format. This gives way for smoother gameplay that you’ll definitely want once you’ve started the game. However, the excessive time it takes to complete is draining away the energy to play. With that, here are the ways to fix the Dragon Age: The Veilguard compiling shaders error.

Understanding Shader Compilation

Dragon Age The Veilguard Compiling Shaders Error & How to fix it (2)

To start off, what is the shader compilation? It is simply an essential process to transform shader codes into a format that the graphics card can execute. It typically occurs upon the first launch of the game and definitely should not take more than 10 minutes. This is normally done within a few seconds on the subsequent launches of the game. 

However, some players faced frustration as the compilation times on their device were prolonged. Sometimes, it even faced repeated compilations for each game started, becoming a bug in the system. 

Clear your Shader Cache

Dragon Age The Veilguard Compiling Shaders Error & How to fix it (3)

If you encounter the compiling shaders error, one of the most effective solutions you may follow is clearing your shader cache. Since it is a process of converting shader codes, starting a clean slate may help quicken it up.  

  1. Go to your Dragon Age: The Veilguard game folder.
  2. Look for your “Shader Cache” folder.
  3. Create a backup of the folder.
  4. Delete the contents of the original “Shader Cache” folder.
  5. Restart the game then rebuild shaders.

Update Graphics Drivers

Dragon Age The Veilguard Compiling Shaders Error & How to fix it (4)

You may also try to update your graphic drivers in case of the prolonged shader compilation. Outdated graphic drivers tend to affect its performance and optimization. Simply follow these steps to check whether your driver is up-to-date:

  1. Identify your graphics card manufacturer (NVIDIA, AMD, or Intel).
  2. Visit the manufacturer’s official website.
  3. Download and install the latest drivers.
  4. Restart your computer after installation.

Optimize NVIDIA Control Panel Settings

Dragon Age The Veilguard Compiling Shaders Error & How to fix it (5)

If you’re using NVIDIA, you may also try adjusting the control panel settings. This might help you change the cache size to what the game needs.  

  1. Open the NVIDIA Control Panel.
  2. Navigate to “Manage 3D settings.”.
  3. Set “Shader Cache Size” to 10GB (or appropriate size for your system).
  4. Apply changes and restart the game. 

Close Background Applications

Dragon Age The Veilguard Compiling Shaders Error & How to fix it (6)

Running other background applications may be a factor in the slowed shader compilation. Closing such may help quicken the conversion of shader codes to readable format in a graphic card. 

  1. Opening Task Manager.
  2. Identifying and closing unnecessary background applications.
  3. Ensuring Dragon Age: The Veilguard has priority access to system resources.

Modify Windows Graphics Settings

Dragon Age The Veilguard Compiling Shaders Error & How to fix it (7)

Since the issue arises out of graphic conversion, try to make modifications in the Windows Graphic settings. There might be something interfering with the process. 

  1. Open Windows Settings.
  2. Navigate to “Graphics.”
  3. Disable “Hardware-accelerated GPU scheduling.”
  4. Turn off “Variable refresh rate.”
  5. Disable “Optimizations for windowed games.”
  6. Turn off “Auto HDR.”

Temporarily Disable Antivirus

Dragon Age The Veilguard Compiling Shaders Error & How to fix it (8)

You may try disabling your antivirus software as well in the meantime. It can be causing some delay on the shader compilation given the restrictions. 

  1. Temporarily disable your antivirus software.
  2. Allow the shader compilation to complete.
  3. Re-enable antivirus immediately after completion.

Preventing Future Issues

Dragon Age The Veilguard Compiling Shaders Error & How to fix it (9)

The shader compilation error can be a frustrating headache to players at some point. Moreover, the process can’t be skipped out since it is responsible for the graphic execution. With that, here are some ways to minimize shader compilation problems in the future:

  1. Regularly update your graphics drivers.
  2. Try to maintain a clean shader cache.
  3. Keep your Windows updated.
  4. Make sure to monitor system resources during gameplay.
  5. Check and ensure whether your PC meets the game’s recommended requirements.

Conclusion

Dragon Age The Veilguard Compiling Shaders Error & How to fix it (10)

Hopefully, the painstaking game of waiting finally ends. Dragon Age: The Veilguard compiling shaders error is just one of the technical issues you may encounter. It is likely that the high-quality graphics of the game affect the conversion of the shader codes. It’ll be best for you to check your graphic drivers from time to time to reduce the recurrence of this problem. 

However, the solutions above may not work for everyone given the differences in the system. In such instances, contacting the technical support of Dragon Age: The Veilguard will be helpful. You may visit their support forums or reach out to the technical support to address this error.