Hogwarts Legacy is an action role-playing game set in the magical world of Harry Potter. Developed by Avalanche Software and published by Warner Bros. Interactive Entertainment, the game features stunning visuals that are enhanced by ray tracing technology.
However, some players have reported a bug with the Ray Tracing Shadows option after the latest patch. In this comprehensive guide, we will discuss everything you need to know about fixing the Hogwarts Legacy Ray Tracing Shadows option bug.

What is the Hogwarts Legacy Ray Tracing Shadows Option Bug?
The Ray Tracing Shadows option 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.
Causes of the Hogwarts Legacy Ray Tracing Shadows Option Bug
There are several possible causes of the Ray Tracing Shadows option 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 Hogwarts Legacy Ray Tracing Shadows Option Bug
There are several ways to fix the Hogwarts Legacy Ray Tracing Shadows option bug. 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 option 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:UsersUSERNAMEAppDataLocalHogwarts LegacySavedConfigWindowsNoEditor”. 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 option 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:
a. Go to “C:UsersUSERNAMEAppDataLocalHogwarts LegacySavedConfigWindowsNoEditor” folder on your PC.
b. Right-click on the “engine.ini” file.
c. Select “Open in Notepad” option.
d. 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.
Wait for a patch or contact the developers
If none of the above solutions work, it is recommended to wait for a patch or contact the developers for further assistance. The developers are aware of the Ray Tracing Shadows option bug and are working on a fix.
Also read: Hogwarts Legacy Madam Kogawa’s Assignment 2 Bug
Conclusion
In conclusion, the Hogwarts Legacy Ray Tracing Shadows option bug is a frustrating issue that can affect the visual experience of the game for players. The bug occurs randomly in different places in the game and affects only the Ray Tracing Shadows option, while the Reflections and Ambient Occlusion options work fine.
The most common causes of the bug are modifications to game files by players and outdated or corrupted configuration files.