[BUG] Unreal Engine gets stuck after exiting Mobile preview

Unreal Engine becomes unresponsive after exiting Mobile preview mode.

  1. Play
  2. Close game
  3. UE won’t respond to anything, I can only move my cursor

UE version 4.11.2

Hello,

  • Does this happen in a clean project with no additional content?
  • Could you please provide your dxdiag?
  • How are you exiting mobile preview mode? Are you using a console command?

Yes it does happen in clean project as well, I’m closing mobile preview from the “x” at the top.
I only started learning UE4 today from your UE tutorials on youtube.

How do I post my dxdiag?

When you run the dxdiag command, there is a button next to the Next Page button called Save All Information that will save it to a text file that you can attach to a comment on here.

dxdiag

Thank you. I have attempted to reproduce the issue, but I’m not experiencing the same behavior.

When you close the mobile preview, can you please press CTRL+Shift+Escape and go to the Processes tab and post a screenshot of UE4’s memory usage? It’s possible that you are exceeding the amount of RAM that your PC has which is causing the editor to hang.

It also seems to freeze Epic Games Launcher until I force close UE from taskmanager

I have not been able to reproduce the freeze that you are experiencing. Could you provide the exact steps that are following when you are reproducing this in a clean project?

yeah sure.

  1. Open project
  2. Select Mobile Preview from dropdown menu next to Play
  3. Close mobile preview window from corner “x”
  4. UE doesn’t respond to anything as if it’s still in playmode

is there shortcut to end playmode?

Try going into the Level Blueprint and adding a key press event (F, for example) and then add an Execute Console Command node off of the Pressed pin.

In the text box on the node, type in “quit” without the quotes and then compile the Level Blueprint. Now, when you press F it should quit the game.

Are you still experiencing the freeze using this method?

Took me some time to figure out how to do that first ^^ but I managed.

It works after using this method. I also tested it on my other project that I was working on and it works there as well.

This is still happening for me on 4.13.2. I’ve implemented what said and in fact it quits the preview but the freeze happens still. Any idea?

Hey tiagovignatti,

I have a couple of questions:

  • About how long are the freezes lasting, or are you having to force shut down the program?
  • Does this only occur in one project, or does it occur in a clean project as well?
  • Are you using any third-party plugins?
  • Finally, would you mind providing your dxdiag?

Thanks!

, thanks for helping me out. This is killing my productivity. I hope you can give me some clue.

  • I have to force shut down UE4, cause there’s no other way
  • This is happening in any project I open – in fact I just started over the FirstPerson and the same happens
  • I haven’t set to use any third-party plugins besides the ones that come by default on 4.13.2
  • it’s attached.

Thanks for all of the information. I’ve tested this, but I’m still unable to reproduce the issue on my end.

Are you alt+tabbing out of the window before you close it? Would you be able to create a video of this occurring?

yup. I use alt+tab or just the windows key to move the focus out. Problem remains.

Unfortunately, I haven’t been able to reproduce the issue on my end at this time. Have you enabled any additional settings that you can think of? When I close out my mobile preview it seems to be working just fine.

Have you ensured all of your graphics drivers are up to date? Also, do you notice an increase in memory when the freeze occurs? Check your task manager and let me know what you’re seeing.

Thanks

Did anyone find a solution to this problem? I have the exact problem. F for Quit doesn’t work. My memory is only 876.2 MB. I have a 980 TI, 16 GB of RAM, an i7. It ONLY happens on mobile preview. All other previews seems to be working fine. It doesn’t work on new projects, but it does work on my laptop.

Found the solution here:

tl;dr: Turn off sharing setting in nvidia experience. Credit to Fjellnu