Hello,
According to this page: Epic Games Store Testing Guide | Epic Online Services Developer
It says we should read the SandboxId from the command line.
However, we need the sandboxId to create the PlatformHandle
, and we need the PlatformHandle
to call the EOS_Platform_CheckForLauncherAndRestart
function to check if we have the sandboxId.
So if we don’t have the SandboxId from the command line, we know we aren’t launched from the launcher, but we can’t restart the game as the EOS_Platform_CheckForLauncherAndRestart
can’t be called with a nullptr
parameter.
Any advice on how to deal with this?
I’m currently just using a hardcoded sandbox id if I don’t get one from the command line, but it’s not very clean, IMO.
Thanks