Download

Quit Game

No matter if i click a button that does a quit game node or type quit in the console my built game just freezes. It works when i play in editor or standalone but once i build and open the exe it freezes and i have to kill task. anyone know why?

97363e6c1c318e96cf0f09d98b05d757809862dd.png

May be anything; you need to run in debugger to find out what it is.

im completely new and dont have much in this game, i dont know how to run it in a debugger, could you elaborate? is this a ue4 function? or do i just go find a general debugger somewhere?

Start here:

But if the crash generates no call stack (in the crash panel) will be harder for you because then you’ll have to run in Visual Studio’s C++ debugger instead…

Yea it all works perfectly in the editor. Standalone and editor window. It’s only after cooked and run from binary that I have the issue. No crash just a freeze. I will look into visual c++ debug I guess…

hey you missed “Specific Player” no? my quit function have get player controller->Specific Player. I not test after build.

The question perhaps it why works on editor since that BP ask for the player controller. :stuck_out_tongue:

or perhaps its “self Player controller” if specific player ins’t set i don’t known but its easy try that than debug :stuck_out_tongue:

Picture of the debugger not telling me much… not that i might know if it was :frowning:
[SPOILER]56e65625002ed6b68ffe4950ab5b2ae2c77ada66.png[/SPOILER]

And setting a specific player changed nothing… dunno what else i can do on this, hate to have to start over because a game cant terminate (the easiest thing a game should have to do lol)

Try report to AH->Bug

I think isn’t the Quit action causing freeze, but I also have no idea what it is.
Before submitting a bug repport I would copy Config, Content and .uproject files into another folder and package to see if the same issue happens again.

Where is your quit game bp located?

it is located in my menu widget after onclicked quit button… could this be the issue? do i need to call out to the gameinstance to do the quit instead?

Moved the quit game to the game instance and still locks up solid. :frowning:

db670d570a.jpg
126aff57b1.png

I have in my gameinstance a simple custom event that executes a command console “quit”.

In case anyone comes across this from an internet search, try this:

Execute console command “r.setres 800x800wf”
Delay (possibly not required)
Quit game

If doing this from HUD widgey, use “get owning player” for the specific-player pin

Your first post and u found a question from about 4yrs ago :smiley:
Next time you could check the latest postdate before u reply :slight_smile:

neo