How to Fix DirectX Error in Hogwarts Legacy

Hogwarts Legacy is an adventure game based on a story from the Harry Potter series of books. Players are thrilled to complete the various missions in the game. However, some players are stuck facing in-game issues. Players have reported a Hogwarts Legacy DirectX error so they are unable to play the game. They are looking for some ways in which they can solve the problem. We’re here with a guide to fixing the DirectX Hogwarts Legacy error. So let’s start with it.

How to Fix DirectX Error in Hogwarts Legacy

Many users are stuck with DirectX error issue. Whenever they play a game they get a DirectX error. Due to the issue, players are unable to play the game. We have listed the methods by which you can solve the problem.

Run as administrator

You can try running the game in admin mode for those facing the Hogwarts Legacy DirectX error. There is a possibility that the game may not work due to the lack of administrator rights in the system. This may happen occasionally; therefore, we suggest that you run the game in administrator mode in order to resolve this issue. You must follow the steps below to run the game in administrator mode.

  • Select the game application file.
  • Right-click it and select “Run as administrator”.

After that, check if the game works properly. If the game starts to work normally after doing this, we recommend that you set this setting as the default for the game.

  • Select the game application file.
  • Right-click it and select Properties.
  • Select compatibility mode.
  • Check the “Run this program as an administrator”box.
  • Click OK to save your changes.

Use the DirectX Diagnostic Tools

To evaluate whether you are running the correct version of DirectX on your system or not, you can use the DirectX diagnostic tools. Users need to follow several steps which are listed below.

  • Press the Windows key + R.
  • Type “dxdiag”and click OK.
  • You will now see the DirectX diagnostic tools on the screen.
  • Check the version of DirectX installed on your system.
  • You can also go to different tabs and check what features are available on your system.
  • If the version is less than 12, try the methods below.

Update your graphics driver

For those who don’t know, if your system doesn’t have updated graphics drivers, there will be a problem with DirectX error. We suggest that you update the graphics drivers on your PC in order to avoid the issue that occurs due to this. You must follow the steps that are mentioned below.

  • Open Device Manager and expand Display Adapters.
  • Now select the driver and right click on it.
  • Select the Update Driver option and a pop-up window will appear on the screen.
  • Follow the instructions to complete the update. That’s all. After updating the driver, restart your computer and check again for the problem.

Lower your graphics settings

There is a possibility that the problem may start to occur on your system due to the graphics settings you have set in the game. If you don’t know, the graphics settings should be set to match the graphics properties of your system. If you set the graphics settings to more than your system’s graphical support, the game will not work properly and you will start facing various issues in the game.

We suggest that players reconfigure the graphical settings in the game according to their system. At the same time, launch the game every time after making changes. By doing this, you will be able to set the best graphics settings for the game so that you can run it on PC without problems.

Restore game files

If the problem still occurs even after changing the game settings, there is probably a problem with the game files. This can happen if you are having problems installing the game on your system. However, you can easily fix this problem by repairing the game files. Many users experienced this issue but they used the game launcher repair feature which allowed them to fix the issue on PC.

You can also use the same feature on your system to fix this issue. To do this, users will need to follow several steps listed below.

  • First of all, open the game launcher through which you installed the game on your PC.
  • Go to the library.
  • Right click the game.
  • Select the Properties option.
  • Navigate to the “Local Files”option.
  • Select “Verify Integrity of Game Files”.

Update the game

Most users install the game on their PC and forget to check for new updates after it. It can also cause a lot of problems as the developers are always releasing new updates to make the game run smoother for the players. You may also encounter a DirectX issue if you haven’t updated the game for a long time. We suggest that players open the game launcher and check for updates for the game as well as available updates. If any updates are available, download them as the developers may have already released an update to fix the problem, but you haven’t updated it so the problem is still not fixed.

Force DirectX 12

There is a possibility that DirectX 12 may not work with the game due to some internal system issues. Sometimes this happens when the application conflicts with other game files, which may cause the necessary files to run the game to not work. The same problem can occur with DirectX 12 as well, so DirectX 12 is not working and you are facing issues in the game.

We suggest using the Force Use option to launch DirectX 12 every time you launch the game. Also, when you do this, the game launcher will launch DirectX 12 along with the game. Thus, there is a good chance that the problem will be solved after that. You can make this launcher customization with the steps below.

Steam

  • Open the launcher and go to the library.
  • Right click the game.
  • Select Properties.
  • Click the General tab and select Launch Options.
  • Type “-dx12″into the text box.
  • Restart your PC and check again.

Epic Games Launcher

  • Open the launcher.
  • Click on the profile icon.
  • Select “Settings”and go to the very bottom.
  • Now click on the game and select the “Additional command line arguments”field.
  • Type “-dx12″into the text box.
  • Restart your PC and check again.

Check for Windows Update

Many users try to run the game on an outdated version of Windows. The game and all of its components, including DirectX, will require the latest version of Windows to run smoothly. You may also encounter this issue on your system if you haven’t updated Windows for a long time. We recommend users to check for Windows Updates to avoid such issues on their system.

Summarizing

Users are facing issues with Hogwarts Legacy after installing it. When users tried to play the game, they were getting a DirectX error. Due to the issue, players were unable to play the game. We have listed how you can fix the problem on your system without any hassle. So, follow them properly and let us know if your issue is resolved.

CDN CTB