If Kerbal Space Program is behaving strangely, taking a long time to load, or failing after you install or remove a mod, clearing its cache may help. The safest place to start is with the generated ModuleManager cache files used by many KSP 1 modded installations. These files are rebuilt automatically when the game starts. Avoid deleting folders at random: saves, craft files, and mod settings may be stored alongside game data, and removing them can erase work or change your setup.
What Does “KSP Cache” Mean?
Kerbal Space Program does not have one universal “clear cache” button. People may use the term to mean different things: generated configuration files, graphics or shader data, Steam’s download cache, or information saved by a mod. The right cleanup depends on the problem you are trying to solve.
For KSP 1, the most commonly cleared files are ModuleManager’s generated cache files in the game’s GameData folder. ModuleManager creates these files by combining the game’s part and configuration data with the configuration files supplied by installed mods. If that generated data is stale or inconsistent, removing the cache files can prompt the game to build them again.
Other folders named cache may belong to a particular mod or utility. Their contents and purpose vary, so do not assume that every folder with “cache” in its name is safe to remove. When in doubt, check the mod’s documentation or temporarily rename the folder instead of deleting it.
Before You Clear the KSP Cache
Take a few minutes to protect your game and identify the right files before making changes. These precautions are especially important if you use mods or have a long-running career save.
- Close KSP completely. Do not delete or move files while the game is running.
-
Back up your saves. Copy the
savesfolder somewhere outside the KSP installation. It is usually in the main KSP folder. - Find the active installation. If you have more than one copy of KSP, make sure you are working in the folder you actually launch.
- Make a note of your mods. This is useful if you need to troubleshoot a problem after restarting.
-
Do not delete
GameDataitself. It contains stock game assets and mod files, not just temporary data.
A backup is not usually necessary just to remove ModuleManager’s generated files, but it is a sensible safeguard. It also makes it easier to undo an accidental change.
How to Clear the ModuleManager Cache in KSP 1
Use these steps if you are troubleshooting a mod conflict, a configuration change that does not appear in-game, or a startup problem that began after editing or removing a mod.
- Open the KSP installation folder. In Steam, right-click Kerbal Space Program, choose Manage and then Browse local files. If you use a standalone installation, open the folder containing the KSP executable.
-
Open
GameData. This folder is inside the main KSP installation directory. -
Locate the generated ModuleManager files. Common examples include
ModuleManager.ConfigCache,ModuleManager.ConfigSHA,ModuleManager.Physics, andModuleManager.TechTree. The exact files present can vary by game and ModuleManager version. -
Delete only the generated files that are present. Do not remove the
ModuleManagermod folder, if present, or other mod folders. If you would rather be cautious, move the generated files to a temporary backup folder outsideGameData. - Start KSP and wait for it to load. ModuleManager should rebuild its configuration data during startup. A heavily modded installation may take longer than usual on this first launch.
- Check the game and your save. Confirm that the original issue is resolved before removing your temporary backup.
These cache files are generated data, not your saved career or spacecraft designs. Removing them should not erase a save, but it can affect how installed mods configure the game when the cache is rebuilt. If KSP reports errors or a modded feature disappears, check that the relevant mod is installed correctly and is compatible with your KSP version.
Where to Find KSP’s Game Folder
The location depends on how you installed the game. The goal is to find the folder that contains the KSP application and its GameData directory, rather than a separate folder used by a launcher or download client.
-
Steam on Windows: Open Steam, right-click KSP in your Library, select Manage, then Browse local files. A typical location is
C:\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program, although your Steam library may be on another drive. -
Standalone on Windows: Open the folder where you extracted or installed the game. Look for the KSP executable and the
GameDatafolder. - macOS: In Steam, use Browse local files. For a standalone copy, locate the KSP application, choose Show Package Contents if needed, and look for the game’s data files. Folder layouts may differ between releases.
-
Linux: Use Steam’s Browse local files option or open the folder where you installed the standalone version. The main game directory should contain
GameData.
Do not rely on a path from another computer if you have installed KSP to a custom location. Opening the game folder from your launcher is usually the easiest way to avoid editing the wrong copy.
Should You Clear a Mod’s Cache Folder?
Some mods maintain their own data, temporary files, or settings. A mod may call a folder “cache,” but it could still contain information that the mod needs or that you would prefer to keep. Removing it might reset a feature, force the mod to download or regenerate data, or have no effect at all.
First, identify which mod created the folder. Look for its name, read its installation notes, or check its support page. If the documentation says a particular cache can be cleared, follow the instructions for your version of the mod. If the purpose is unclear, close KSP and rename the folder—for example, add .backup to its name—then launch the game and test. Renaming makes it easier to restore the original data if something stops working.
Do not delete a mod’s entire folder just because you are trying to clear cache. That folder may contain configuration files, custom parts, plugin files, or settings. Similarly, be careful with folders such as PluginData: their contents can be persistent mod data rather than disposable cache.
Clear the Steam Download Cache Only for Download Problems
Steam’s download cache is separate from the files KSP creates while running. Clearing it may help if Steam is stuck downloading, updating, or validating the game, but it is not the normal way to refresh ModuleManager data or fix a mod configuration issue.
To clear it, open Steam’s Settings, select Downloads, and choose Clear Download Cache. Steam may restart and ask you to sign in again. Menu names can vary slightly between Steam versions. Afterward, try the download or update again.
Clearing Steam’s download cache should not remove your KSP career saves, but it may sign you out of Steam. If the game itself is corrupted or missing files, use Steam’s file verification feature instead of repeatedly clearing download data.
Verify KSP’s Files if Clearing the Cache Does Not Work
If KSP still crashes, shows missing parts, or behaves as though game files are damaged, verify the installation. In Steam, open KSP’s Properties, go to Installed Files, and select Verify integrity of game files. Steam will check its installed files and replace files it identifies as missing or damaged.
Verification is not a substitute for backing up saves or managing mods. It may restore or replace official game files, but it does not necessarily repair a modded installation or resolve conflicts between mods. If the problem began after adding a mod, review the mod’s installation instructions, check compatibility with your KSP version, and test with the suspected mod disabled. Avoid deleting all of GameData as a troubleshooting shortcut.
What About KSP 2?
KSP 2 has a different file structure and modding setup from KSP 1, so the ModuleManager instructions above do not automatically apply. Do not search for or remove KSP 1 cache filenames in a KSP 2 installation unless a specific tool or mod instructs you to do so. For KSP 2, start with the game’s official troubleshooting guidance, the platform’s file-verification option, and instructions for the particular mod or tool involved.
In either game, be cautious with broad operating-system cleanup utilities. They can remove general temporary files, but they are not a targeted way to refresh KSP’s mod configuration. If you cannot identify a folder’s purpose, leave it in place until you have checked reliable documentation.
Common Mistakes to Avoid
-
Deleting the entire
GameDatafolder: This removes stock assets and installed mods, not just cache. -
Deleting the
savesfolder: This is where career and sandbox saves are stored. Back it up rather than treating it as temporary data. - Removing mod files instead of generated cache files: Keep the actual mod folders unless you intend to uninstall those mods.
- Clearing Steam’s download cache for every problem: Use that option for Steam download or update issues, not as a universal KSP fix.
- Deleting files while KSP is open: Close the game first so it is not using or rewriting the files.
- Expecting cache cleanup to fix every crash: Outdated mods, incompatible versions, memory limits, and damaged installation files can cause similar symptoms.
Conclusion: The Safest Way to Clear KSP Cache
For most KSP 1 mod troubleshooting, close the game, back up your saves, open the correct installation’s GameData folder, and remove only the generated ModuleManager cache files. Restart KSP and allow it to rebuild them. For Steam download problems, clear Steam’s download cache; for damaged game files, verify the installation. Avoid deleting saves, entire mod folders, or unfamiliar data folders. A targeted cleanup is safer—and usually more useful—than wiping files at random.
Disclaimer: Articles are written by Humans, AI or Both. Verify Important information.