{ }Blueprint → C++

Unreal Engine 5 · Blueprint → C++

Does Save Game Exist in Unreal Engine 5 C++UE Docs

The Does Save Game Exist node maps to UGameplayStatics::DoesSaveGameExist(TEXT("Slot1"), 0), which returns a bool telling you whether a save file exists for that slot and user index.

Blueprint node & C++ equivalent

C++
bool bExists = UGameplayStatics::DoesSaveGameExist(TEXT("Slot1"), 0);

What does the Does Save Game Exist node do?

Does Save Game Exist checks whether a save file is present for a given slot name and user index without loading or deserializing it. It is a lightweight existence check, not a full read.

This is useful for enabling a Continue button or deciding whether to start a new game versus resuming one.

DoesSaveGameExist C++ example

Use bool bExists = UGameplayStatics::DoesSaveGameExist(TEXT("Slot1"), 0);. The slot name and user index must match exactly what you passed to SaveGameToSlot, otherwise it reports false.

Because it does not read the file contents, it is cheap enough to call before every load attempt.

When to use it in C++

Call DoesSaveGameExist before UGameplayStatics::LoadGameFromSlot to avoid a failed load, or in menu logic to show or hide save slots. It does not validate that the file is uncorrupted, only that it exists.

Frequently asked questions

What is DoesSaveGameExist in UE5 C++?+

UGameplayStatics::DoesSaveGameExist returns a bool indicating whether a save file exists for the given slot name and user index.

Does DoesSaveGameExist load the save?+

No. It only checks for the file's existence and does not deserialize its contents, making it cheap to call.

Why does DoesSaveGameExist return false for my save?+

The slot name or user index likely does not match what was used in SaveGameToSlot. Both must be identical.

Related Save & Load nodes

View all Save & Load nodes →