UE 4.22 QuitGame node dosen't work on Android

UE 4.22 QuitGame node dosen’t work on Android.

It works on 4.21 version of UE.

Please fix this.

Hello,

We’ve recently made a switch to a new bug reporting method using a more structured form. Please visit the link below for more details and report the issue using the new Bug Submission Form. Feel free to continue to use this thread for community discussion around the issue.

https://epicsupport.force.com/unrealengine/s/

Thanks

I succeeded in using FPlatformMisc::RequestExit(false) in 4.22.3. If you need a blueprint node you’ll need to a create a blueprint library c++ class w/ the following function

UFUNCTION(BlueprintCallable, Category = "Game")
static void MyQuitGame(bool bForce)
{
    FPlatformMisc::RequestExit(bForce);
};

and then you can use the MyQuitGame node in BP.

Force quit skips things like saving changes to the config and other teardown handling so generally you don’t want to force (though I use it when enforcing entitlement checks).

1 Like

You save my day, Sir! Thank you so much! :grin: