Announcement

Collapse
No announcement yet.

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

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

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

    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

    #2
    This is happening to my app too !

    Comment


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

      Comment


        #4
        Anyone not having this problem in Android+UE 4.22 ?

        Comment


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

          Comment


            #6
            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.

            Comment


              #7
              Ok. At last ... https://issues.unrealengine.com/issue/UE-72276

              Comment


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

                Comment


                  #9
                  don't work 4.22.3

                  Comment


                    #10
                    Yeah still don't work at 4.22.3

                    Comment


                      #11
                      Try using timer to call QuitGame in 4.22. Works for us.
                      Click image for larger version  Name:	20190717_133719.png Views:	1 Size:	28.5 KB ID:	1643274
                      [My FREE stuff] Custom Cameras (Stategy, Orbital) | Sticker Note | ESC Inventory System | Pipe Generation (Spline based) | Procedural spline-based Mesh generation | Homing missile
                      [My Market stuff] Advanced Aim Component | Lock/lockpick Component | Blueprint-based Key Remapping System

                      Comment


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

                        Comment


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

                          Comment


                            #14
                            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

                            Code:
                            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).
                            Last edited by hdelattre; 07-20-2019, 12:03 AM.
                            Gesture Tracker VR: A Gesture Recognition Plugin

                            Comment

                            Working...
                            X