Restart Usage
A restart is required if you change FSR settings, such as the swapchain configuration. To simplify this, the plugin provides a Restart node with the ability to pass custom launch arguments. You can call this node from Blueprints or via C++ code.
Usage in C++
#include "RestartGame.h"
// Example in some game manager class
void UMyGameManager::ApplyFSRChanges()
{
// Extra command line arguments you want to pass
FString ExtraArgs = TEXT("-Restart"); //Restart is just an exemple
// Call the restart function
URestartGame::RestartGameWithCommandLine(ExtraArgs);
}
Usage in Blueprint (Recommended)

Never leave the ExtraCommandLine parameter empty. Always provide a valid string, even if no additional arguments are needed, to ensure the restart works correctly.
Last updated