If Honkai: Star Rail is stuttering, crashing, taking a long time to load, or showing unusual graphics glitches on your PC, clearing temporary cache files may help. Cached data can become outdated or corrupted after a game update, graphics driver change, or interrupted download. The safest approach is to clear Windows temporary and shader cache files, then use the HoYoPlay launcher’s repair tools if the problem continues.
This guide explains how to clear the Honkai: Star Rail cache on PC without deleting your account or game progress. It also covers what not to remove, how to rebuild cache files, and what to try if clearing the cache does not fix the issue.
What Does Clearing the Honkai: Star Rail Cache Do?
A cache is temporary data that Windows, your graphics driver, or the game launcher stores to help software load more efficiently. For Honkai: Star Rail, this can include shader data, temporary files, and launcher download information. If cached files are damaged or no longer match the current game version, clearing them may resolve certain performance or launch problems.
Clearing cache is not the same as deleting the game or resetting your HoYoverse account. Your account progress is tied to your account, not to the temporary cache on your computer. However, some cache files will be recreated the next time you open the launcher or game, and the first launch afterward may take longer than usual.
Before You Clear the Cache
Close Honkai: Star Rail and HoYoPlay before removing temporary files. If either program is still running, Windows may prevent some files from being deleted, or the program may recreate them while you are cleaning.
- Exit the game and close the HoYoPlay launcher.
- Open Task Manager with Ctrl + Shift + Esc and check that the game and launcher are no longer running.
- Save work in any other open programs before using Windows cleanup tools.
- Make sure you know your HoYoverse login details before troubleshooting. Clearing temporary cache should not sign you out, but it is useful to have your account information available.
Method 1: Clear the Windows DirectX Shader Cache
The DirectX Shader Cache stores graphics-related data that Windows can reuse. It is one of the safest caches to clear when a PC game has visual glitches, shader compilation issues, or performance problems after a driver update. Windows will generate new shader data as needed, so the first few minutes in Honkai: Star Rail may feel less smooth while the cache rebuilds.
To clear the DirectX Shader Cache in Windows 11 or Windows 10:
- Open Settings from the Start menu.
- Select System, then choose Storage.
- Open Temporary files and wait for Windows to calculate the available items.
- Select DirectX Shader Cache.
- Review the other selected categories carefully, then choose Remove files.
- Restart your PC before launching the game again.
Windows menus can vary slightly by version. If you do not see the DirectX Shader Cache option, search the Start menu for Disk Cleanup. Select your Windows drive, choose DirectX Shader Cache if it appears, and confirm the cleanup. Avoid selecting personal folders or categories you do not intend to remove.
Method 2: Remove Temporary Windows Files
Temporary Windows files are separate from the game’s main installation. Removing unused temporary files can free disk space and may help if an update or installation was interrupted. You can use the Temporary files screen described above, or clear your user’s temporary folder manually.
To check the temporary folder:
- Press Windows key + R to open the Run dialog.
- Type %temp% and press Enter.
- In the folder that opens, select files you want to remove, or press Ctrl + A to select its contents.
- Press Delete. If Windows says a file is in use, choose to skip that file.
- Empty the Recycle Bin only if you are sure you do not need anything in it.
This folder can contain temporary files created by programs other than Honkai: Star Rail. Windows will normally prevent you from deleting files that are currently in use, but do not force-delete locked files or remove unfamiliar folders from the game’s installation directory. If you are uncomfortable with manual cleanup, use Windows Storage settings instead.
Method 3: Use HoYoPlay to Check or Repair Game Files
If the game still crashes, fails to update, or displays missing or corrupted assets, repairing the installation is usually a better next step than manually deleting files. HoYoPlay’s available options and labels can change, so look for the game’s settings or resource-management controls in the current launcher version.
- Open HoYoPlay and select Honkai: Star Rail.
- Open the game’s settings or menu from the launcher.
- Look for an option such as Repair Now, Verify Game Files, or a similar repair command.
- Start the check and allow the launcher to download or replace files if needed.
- When the repair finishes, restart the launcher and test the game.
If your launcher version includes a clearly labeled option to clear download cache, you can use it when a download or update is stuck. This usually removes temporary launcher data rather than your account or installed game. Do not confuse a download-cache command with removing the entire game directory. If you cannot find a cache option, use file verification instead of guessing which launcher folders to delete.
Should You Delete the Game’s Cache Folder Manually?
In most cases, there is no need to search for and delete random folders inside the Honkai: Star Rail installation. Folder names and locations may differ depending on where you installed the game, which launcher version you use, and how the game has been updated. Removing the wrong files can make the launcher download a large portion of the game again or cause the installation to stop working.
Use HoYoPlay’s repair or verification feature for game files. Only delete a specific folder manually if HoYoverse support or an official troubleshooting guide identifies that exact folder and confirms it is safe to remove. Avoid deleting folders that may contain settings, screenshots, logs, or other information you want to keep.
Clear Your Graphics Driver Shader Cache
Your graphics driver may also store shader data separately from Windows’ DirectX Shader Cache. Some NVIDIA or AMD software versions provide an option to manage or clear shader cache, while others handle it automatically. If you choose to clear it, use the official graphics software or Windows cleanup tools, and follow the instructions for your specific driver version.
Do not remove graphics-driver folders manually. After a shader cache is cleared, the game may briefly stutter while new shaders are created. This is expected and should improve after the affected areas or effects have loaded again. If performance gets worse for an extended period, restart the computer and make sure your graphics driver is installed correctly.
What to Do After Clearing the Cache
Restart your PC, open HoYoPlay, and launch Honkai: Star Rail. The launcher and game may take longer to start the first time because they need to recreate temporary data. Test the specific issue that prompted you to clear the cache, such as loading into a particular area or opening a menu.
If the game works normally, there is no need to repeat the cleanup regularly. Cache files are designed to help software run efficiently, and routinely deleting them can make loading slower without providing a benefit. Consider clearing them again only if a problem returns or after troubleshooting a relevant update.
If Honkai: Star Rail Still Has Problems
Cache cleanup is only one troubleshooting step. If Honkai: Star Rail continues to crash, freeze, or run poorly, check the following:
- Verify game files: Run HoYoPlay’s repair or file-verification tool.
- Check free storage: Keep enough space available on the drive where the game and Windows are installed, especially before a major update.
- Update Windows and your graphics driver: Use Windows Update or the official NVIDIA, AMD, or Intel software for your graphics hardware.
- Restart the router and PC: This can help distinguish local loading or connection issues from account or server problems.
- Close demanding background apps: Video recording tools, browsers, overlays, and other games may use memory or graphics resources.
- Check official notices: Server maintenance or a known game issue may affect login and gameplay regardless of your local cache.
- Contact support: If the issue persists, provide the launcher or game version, your Windows version, and any error message to HoYoverse support.
What You Should Not Delete
Do not delete the entire Honkai: Star Rail folder as a shortcut for clearing cache. Doing so can remove the game installation and require a large reinstall. Also avoid deleting unfamiliar files from the HoYoPlay or Windows folders, using unofficial “game cache cleaner” programs, or sharing your account password with anyone offering to repair the game.
Clearing the DirectX Shader Cache and ordinary temporary files does not normally erase your account progress. Still, make sure you are using the correct HoYoverse account when you sign in. If you are unsure about a file or folder, leave it untouched and use the launcher’s official repair tools instead.
Conclusion
To clear the Honkai: Star Rail cache on PC, close the game and launcher, remove the Windows DirectX Shader Cache through Storage settings or Disk Cleanup, and optionally clear unused temporary files. If the game still has errors, use HoYoPlay’s repair or file-verification option rather than manually deleting installation folders. Restart your computer, give the game time to rebuild its cache, and check for driver or game updates if the problem remains. These steps can resolve common cache-related issues while helping protect your installation and account progress.
Disclaimer: Articles are written by Humans, AI or Both. Verify Important information.