Wondering how to clear the Unreal Engine 5 cache? Clearing cached files can free disk space, resolve certain shader or Derived Data Cache issues, and force Unreal Engine to rebuild temporary data. The safest method depends on which cache you mean: UE5 stores data in several places, and deleting the wrong folder can remove project settings or other files you need.
This guide explains how to clear the Unreal Engine 5 cache on Windows, macOS, and Linux, including the Derived Data Cache (DDC), project-generated files, and shader data. Before deleting anything, close Unreal Editor and any related Epic Games applications, and make sure your project is backed up or committed to version control.
What Does the UE5 Cache Do?
Unreal Engine uses caches to avoid rebuilding data every time you open a project. The Derived Data Cache stores generated versions of assets, such as processed textures and shaders. UE5 can also create temporary project files, shader working data, and cooked content for builds. These files can take up substantial disk space, especially in projects with large textures, complex materials, or many assets.
Most cached data can be recreated by the engine. Clearing it may temporarily make the next project launch or shader compilation slower, but it should not delete your source assets when you target the correct folders. However, not every folder named “Saved” or “Cache” is disposable in every situation. Always check the folder path and contents before removing files.
Before You Clear Unreal Engine 5 Cache
Follow these precautions before cleaning up:
- Close Unreal Editor, UnrealBuildTool processes, and other programs that may be using the project.
- Back up important project files or confirm your latest work is safely stored in version control.
- Do not delete the project’s Content, Config, or Source folders unless you specifically intend to remove those files.
- Know whether your project uses a local DDC, a shared network cache, or a cloud-based cache configured by your team.
- Expect UE5 to regenerate deleted data. The first launch, asset load, or shader build afterward may take longer.
How to Clear the Global Derived Data Cache
The Derived Data Cache is often the first place to look when troubleshooting stale generated data or reclaiming space. The default location varies by operating system, Unreal Engine version, and user configuration. A common Windows location is %LOCALAPPDATA%\UnrealEngine\Common\DerivedDataCache. To open it, press Windows + R, enter that path, and press Enter. If the folder does not exist, your installation may be using a different cache location.
On macOS, check the user Library and Unreal Engine support folders for a DerivedDataCache directory. The Library folder may be hidden; in Finder, choose Go, hold Option, and select Library. On Linux, check your user’s Unreal Engine or application cache directories. Exact locations can differ between engine releases and custom setups.
With Unreal Editor closed, you can delete the contents of the relevant DDC folder. You can also rename the folder—for example, to DerivedDataCache_old—instead of permanently deleting it. Renaming is a useful safety measure: if you discover that another tool or project relies on that location, you can restore it. Once you are confident the new cache is working, remove the renamed folder to reclaim the space.
Do not delete a shared DDC casually. A studio or team may store cached data on a network drive so multiple users can reuse it. Clearing a shared cache can slow work for everyone and trigger extensive regeneration. Check with your administrator before changing a shared cache.
How to Clear the Cache for One UE5 Project
If only one project is experiencing problems, clear its generated folders instead of wiping the global cache. In File Explorer, Finder, or your file manager, open the project’s root directory—the folder containing the .uproject file. Close the editor first, then review these common generated folders:
-
Intermediate: temporary build and editor data, which UE5 can usually recreate. -
Saved: logs, autosaves, backups, and other generated data; inspect its contents before removing it. -
DerivedDataCache: project-level derived data, if the project has one. -
Binaries: compiled output for code projects; it may need to be rebuilt after removal.
For a focused cleanup, delete the project’s Intermediate folder and any project-local DerivedDataCache folder. If you remove Binaries from a C++ project, you may need to regenerate project files and rebuild the project before opening it. Blueprint-only projects generally do not need that extra step, but engine versions and plugins can affect the process.
Be cautious with Saved. It may contain logs and crash reports that are safe to remove, but it can also hold autosaves, backups, local configuration, or other files you may want. Open the folder and identify what you are deleting. Do not remove the entire project folder or assume every item inside Saved is disposable.
How to Make UE5 Rebuild Shader Cache Data
Shader data is closely related to the Derived Data Cache. When you clear the relevant DDC, Unreal Engine can regenerate shader-related data as needed. After restarting the editor, open the project and allow shader compilation to finish. Depending on the project size and your computer, this can take several minutes or longer. Avoid interrupting the process unless the editor is clearly frozen.
If shaders remain broken after a clean rebuild, clearing the cache may not be the underlying fix. Check that your graphics drivers are current, that the project’s rendering settings are supported by your hardware, and that the engine version and plugins are compatible. Review the Output Log for shader compiler errors. Repeatedly deleting caches without addressing an actual compile error will only cause UE5 to rebuild the same failing data.
Clear UE5 Cache Through the Editor
Some Unreal Engine versions and project setups provide cache-related controls through editor preferences or project tools. The exact labels and available options can vary, so look in the editor’s settings for Derived Data Cache or storage settings rather than relying on a menu path from a different version. If you use a customized DDC location, the editor or your team’s configuration may identify where it is stored.
For a straightforward cleanup, closing the editor and removing the appropriate local cache folder is often easier. Avoid changing cache settings unless you understand where the new location points and have enough free disk space there. A misconfigured cache path can cause startup delays or prevent the engine from writing generated data.
What Happens After You Clear the UE5 Cache?
On the next launch, Unreal Engine will recreate missing derived data as assets are loaded or built. You may notice a longer initial startup, slower asset previews, or a shader compilation progress indicator. Subsequent launches should improve as the cache is populated again. The project’s source assets should remain intact if you deleted only cache and temporary folders.
If the editor cannot find a module or plugin after cleanup, check whether you removed project binaries that need rebuilding. For a C++ project, regenerate the IDE project files if necessary, then compile from your development environment or use the appropriate Unreal build tools. If a project opens with missing assets, stop and restore from backup or version control; clearing the DDC should not remove original files stored in the project’s Content folder.
Common UE5 Cache-Clearing Mistakes
-
Deleting the wrong folder: Confirm that you are working with a cache or generated-data folder, not
Content,Config, or source files. - Cleaning while the editor is open: UE5 may be using files you are trying to remove, leading to incomplete cleanup or errors.
- Removing all of Saved without checking: This can delete autosaves, backups, logs, and local project data you may still need.
- Expecting an instant speed boost: Cache clearing can fix stale data or free space, but rebuilding the cache initially makes some tasks slower.
- Clearing a team cache without permission: A shared DDC may support many users and projects.
- Using third-party cleanup tools blindly: Configure exclusions so they do not remove active project files or engine installation data.
When Should You Clear the Unreal Engine 5 Cache?
Clear cache data when you need to reclaim disk space, suspect generated data is stale or corrupted, or are following a troubleshooting step recommended for a specific editor issue. It can also be useful after changing engine versions or resolving certain asset and shader problems, although the right fix depends on the symptoms.
Cache clearing is not a routine maintenance requirement. If UE5 is working normally and disk space is available, there is usually no need to remove the DDC. Keeping it allows the engine to reuse generated data and can save time. If the cache grows too large, consider moving it to a suitable drive or adjusting a managed cache configuration rather than deleting it repeatedly.
Conclusion
To clear the UE5 cache safely, close Unreal Editor, identify the correct cache location, and remove only generated data you no longer need. For a broad cleanup, clear the local Derived Data Cache; for a single project, start with its Intermediate folder and any project-level DDC. Inspect Saved carefully, and avoid deleting source assets, configuration files, or shared team caches without checking first.
Afterward, give Unreal Engine time to rebuild shaders and other derived data. The next launch may be slower, but the cache should gradually refill. If the original issue returns, investigate logs, drivers, plugins, project settings, or build errors—the cache may not be the real cause.
Disclaimer: Articles are written by Humans, AI or Both. Verify Important information.