# Quit game does not exit android game in 4.22 (it was fine in 4.19)

**URL:** <https://forums.unrealengine.com/t/quit-game-does-not-exit-android-game-in-4-22-it-was-fine-in-4-19/124778>\
**Category:** Mobile\
**Tags:** unreal-engine, Android\
**Created:** [April 10, 2019, 8:16pm UTC](https://forums.unrealengine.com/t/quit-game-does-not-exit-android-game-in-4-22-it-was-fine-in-4-19/124778 "2019-04-10T20:16:05Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![Peter\_N\_K](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Peter\_N\_K](https://forums.unrealengine.com/u/Peter_N_K)\
**Post date:** [April 10, 2019, 8:16pm UTC](https://forums.unrealengine.com/t/quit-game-does-not-exit-android-game-in-4-22-it-was-fine-in-4-19/124778/1 "2019-04-10T20:16:05Z")

</div>

I migrated my game (The Big SokoBang) from 4.19 to 4.22.

The unpleasant surprise is that now Exit does not work - I am using it on Exit button with blueprint “Quit Game”

Any ideas what to do ?

PS: I tried both true and false values for “Ignore Platform Restrictions” - none works

---

<div class="post-metadata">

**Author:** ![paranoio](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@paranoio](https://forums.unrealengine.com/u/paranoio)\
**Post date:** [April 12, 2019, 12:29am UTC](https://forums.unrealengine.com/t/quit-game-does-not-exit-android-game-in-4-22-it-was-fine-in-4-19/124778/2 "2019-04-12T00:29:33Z")

</div>

This is happening to my app too !

---

<div class="post-metadata">

**Author:** ![Peter\_N\_K](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Peter\_N\_K](https://forums.unrealengine.com/u/Peter_N_K)\
**Post date:** [April 18, 2019, 5:04am UTC](https://forums.unrealengine.com/t/quit-game-does-not-exit-android-game-in-4-22-it-was-fine-in-4-19/124778/3 "2019-04-18T05:04:23Z")

</div>

after 2 week affords to solve the problem … there is no solution. How can I ask the engine developers?

---

<div class="post-metadata">

**Author:** ![Peter\_N\_K](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Peter\_N\_K](https://forums.unrealengine.com/u/Peter_N_K)\
**Post date:** [April 24, 2019, 4:40pm UTC](https://forums.unrealengine.com/t/quit-game-does-not-exit-android-game-in-4-22-it-was-fine-in-4-19/124778/4 "2019-04-24T16:40:46Z")

</div>

Anyone not having this problem in Android+UE 4.22 ?

---

<div class="post-metadata">

**Author:** ![Mariyan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mariyan](https://forums.unrealengine.com/u/Mariyan)\
**Post date:** [April 25, 2019, 8:02pm UTC](https://forums.unrealengine.com/t/quit-game-does-not-exit-android-game-in-4-22-it-was-fine-in-4-19/124778/5 "2019-04-25T20:02:52Z")

</div>

Yea, i would like to know too, if someone has explanation, is this in purpose?

---

<div class="post-metadata">

**Author:** ![SkimpKillah](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SkimpKillah](https://forums.unrealengine.com/u/SkimpKillah)\
**Post date:** [April 28, 2019, 7:01pm UTC](https://forums.unrealengine.com/t/quit-game-does-not-exit-android-game-in-4-22-it-was-fine-in-4-19/124778/6 "2019-04-28T19:01:55Z")

</div>

I’ve been having the same Issue on 4.22 and just did a build with the latest update (4.22.1) and the quit game function is still broken. Pretty frustrating.

---

<div class="post-metadata">

**Author:** ![Mariyan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mariyan](https://forums.unrealengine.com/u/Mariyan)\
**Post date:** [May 18, 2019, 10:55am UTC](https://forums.unrealengine.com/t/quit-game-does-not-exit-android-game-in-4-22-it-was-fine-in-4-19/124778/7 "2019-05-18T10:55:44Z")

</div>

Ok. At last … [Unreal Engine Issues and Bug Tracker (UE-72276)](https://issues.unrealengine.com/issue/UE-72276)

---

<div class="post-metadata">

**Author:** ![Peter\_N\_K](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Peter\_N\_K](https://forums.unrealengine.com/u/Peter_N_K)\
**Post date:** [May 28, 2019, 3:53am UTC](https://forums.unrealengine.com/t/quit-game-does-not-exit-android-game-in-4-22-it-was-fine-in-4-19/124778/8 "2019-05-28T03:53:14Z")

</div>

Unfortunately the fix is not included in 4.22.2  
I hope 4.22.3 comes soon

---

<div class="post-metadata">

**Author:** ![martoof](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/martoof/32/465230_2.png) [@martoof](https://forums.unrealengine.com/u/martoof)\
**Post date:** [June 19, 2019, 8:16pm UTC](https://forums.unrealengine.com/t/quit-game-does-not-exit-android-game-in-4-22-it-was-fine-in-4-19/124778/9 "2019-06-19T20:16:55Z")

</div>

don’t work 4.22.3

---

<div class="post-metadata">

**Author:** ![Vanrian](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vanrian](https://forums.unrealengine.com/u/Vanrian)\
**Post date:** [July 1, 2019, 4:26am UTC](https://forums.unrealengine.com/t/quit-game-does-not-exit-android-game-in-4-22-it-was-fine-in-4-19/124778/10 "2019-07-01T04:26:18Z")

</div>

Yeah still don’t work at 4.22.3

---

<div class="post-metadata">

**Author:** ![Flakky](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/flakky/32/918696_2.png) [@Flakky](https://forums.unrealengine.com/u/Flakky)\
**Post date:** [July 17, 2019, 10:44am UTC](https://forums.unrealengine.com/t/quit-game-does-not-exit-android-game-in-4-22-it-was-fine-in-4-19/124778/11 "2019-07-17T10:44:58Z")

</div>

Try using timer to call QuitGame in 4.22. Works for us.  
 ![20190717_133719.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/7/4/7489d93c400690923374d9c175b5d97e299d63c4.png)

---

<div class="post-metadata">

**Author:** ![Dr\_J0nes](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dr\_J0nes](https://forums.unrealengine.com/u/Dr_J0nes)\
**Post date:** [July 18, 2019, 8:10pm UTC](https://forums.unrealengine.com/t/quit-game-does-not-exit-android-game-in-4-22-it-was-fine-in-4-19/124778/12 "2019-07-18T20:10:58Z")

</div>

I had the same Problem. Make sure you tick/enable “Ignore Platform Restrictions” in the “Quit Game” Node. That made it work for me.

---

<div class="post-metadata">

**Author:** ![SkimpKillah](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SkimpKillah](https://forums.unrealengine.com/u/SkimpKillah)\
**Post date:** [July 19, 2019, 4:26pm UTC](https://forums.unrealengine.com/t/quit-game-does-not-exit-android-game-in-4-22-it-was-fine-in-4-19/124778/13 "2019-07-19T16:26:03Z")

</div>

Ignore Platform Restrictions is disabled in shipping builds, thus not a good solution.

---

<div class="post-metadata">

**Author:** ![hdelattre](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@hdelattre](https://forums.unrealengine.com/u/hdelattre)\
**Post date:** [July 20, 2019, 3:41am UTC](https://forums.unrealengine.com/t/quit-game-does-not-exit-android-game-in-4-22-it-was-fine-in-4-19/124778/14 "2019-07-20T03:41:16Z")

</div>

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 and add this function

```auto

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).

---

<div class="post-metadata">

**Author:** ![motorsep](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/motorsep/32/918698_2.png) [@motorsep](https://forums.unrealengine.com/u/motorsep)\
**Post date:** [October 1, 2019, 2:09pm UTC](https://forums.unrealengine.com/t/quit-game-does-not-exit-android-game-in-4-22-it-was-fine-in-4-19/124778/15 "2019-10-01T14:09:40Z")

</div>

Soo, no one bothered to report this bug to the official bug report system ?!

---

<div class="post-metadata">

**Author:** ![motorsep](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/motorsep/32/918698_2.png) [@motorsep](https://forums.unrealengine.com/u/motorsep)\
**Post date:** [October 1, 2019, 3:50pm UTC](https://forums.unrealengine.com/t/quit-game-does-not-exit-android-game-in-4-22-it-was-fine-in-4-19/124778/16 "2019-10-01T15:50:51Z")

</div>

I just submitted this bug to Epic.

---

<div class="post-metadata">

**Author:** ![samdax](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@samdax](https://forums.unrealengine.com/u/samdax)\
**Post date:** [October 23, 2019, 10:26am UTC](https://forums.unrealengine.com/t/quit-game-does-not-exit-android-game-in-4-22-it-was-fine-in-4-19/124778/17 "2019-10-23T10:26:20Z")

</div>

It fixed in the 4.23

---

<div class="post-metadata">

**Author:** ![ADL67](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ADL67](https://forums.unrealengine.com/u/ADL67)\
**Post date:** [March 7, 2022, 2:46pm UTC](https://forums.unrealengine.com/t/quit-game-does-not-exit-android-game-in-4-22-it-was-fine-in-4-19/124778/18 "2022-03-07T14:46:58Z")

</div>

Hi,  
I have the same problem on 4.27.2 too!!!  
Any solution or is necessary report it to Epic?  
Thank you  
ADL
