Hogwarts Legacy is an action role-playing game developed by Avalanche Software and published by Warner Bros. Interactive Entertainment. The game is set in the Harry Potter universe and features a story that takes place in the late 1800s. One of the most highly anticipated features of the game was the implementation of ray tracing, a rendering technique that allows for more realistic lighting and shadows. However, after the latest patch, some players have reported a bug with the Ray Tracing Shadows option. In this article, we will discuss how to fix this issue and improve the ray tracing in Hogwarts Legacy.
The Ray Tracing Shadows bug in Hogwarts Legacy occurs randomly in different places in the game. This bug seems to affect only the Ray Tracing Shadows option, while the Reflections and Ambient Occlusion options work fine. The issue can be frustrating for players who have been eagerly waiting to experience the game’s stunning visuals.
Read: Fix COD: Black Ops Cold war error code 0x0 (0xc2143bd4) n on Steam
There are several possible causes of the Ray Tracing Shadows bug in Hogwarts Legacy. One of the most common causes is the modification of game files by players. The modification of game files can cause conflicts with the new patch, leading to the bug. Another possible cause is an outdated or corrupted configuration file. If the configuration file is outdated or corrupted, it can cause the Ray Tracing Shadows option to malfunction.
How to Fix the Ray Tracing Shadows Bug
There are several ways to fix the Ray Tracing Shadows bug in Hogwarts Legacy. Here are some of the most effective solutions:
Remove any mods
If you have installed any mods in the game, it is recommended to remove them. Mods can cause conflicts with the new patch, leading to the Ray Tracing Shadows bug. To remove the mods, go to the game’s installation directory and delete the mod files.
Use the default engine.ini configuration file
If you have modified the game’s configuration file, it is recommended to use the default configuration file. To do this, navigate to the following directory on your PC: “C:\Users\USERNAME\AppData\Local\Hogwarts Legacy\Saved\Config\WindowsNoEditor”. Then, locate the “engine.ini” file and delete it. The game will generate a new default configuration file when you launch it.
Edit the engine.ini configuration file
If you still experience the Ray Tracing Shadows bug after removing any mods and using the default configuration file, you can try editing the “engine.ini” file to improve the ray tracing in the game. To do this, follow these steps:
- Go to “C:\Users\USERNAME\AppData\Local\Hogwarts Legacy\Saved\Config\WindowsNoEditor” folder on your PC.
- Right-click on the “engine.ini” file.
- Select “Open in Notepad” option.
- Copy and paste the following lines into the body of the text:
[SystemSettings] r.RayTracing.Reflections.ScreenPercentage=100 r.RayTracing.Reflections.SamplesPerPixel=1 r.RayTracing.Reflections.MaxRoughness=0.7 r.RayTracing.AmbientOcclusion.Intensity=1
- Once done, save and exit the file and restart the game.
These settings will improve the ray tracing in your game, but you may experience a significant performance hit in the process. You can adjust some of the numbers on each of the effects to get the best performance/quality balance on your PC.
If none works then waif for a patch or contact the developers.
Read next: Fix COD: Black Ops Cold war error code 0xC0000005 on steam