Setting Fullscreen causes Standalone & Packaged Builds to crash before launch

Hi, I’m working on creating a UMG menu system for a client. The menu system runs fine on my system and my laptop. However in my client’s system, it always crashed before launch when running in either standalone or packaged. Narrowing down the issue, I found out that it was happening only when I set the fullscreen mode. My client is already able to replicate it in the First Person template by only adding the code for changing resolution and fullscreen mode in the level blueprint. Here’s a screenshot of the code involved:

I have even tried setting the fullscreen through a default settings ini file based on some other posts I saw here. Worked fine in my system, but crashed in my client’s system.

Hello ,

I was unable to reproduce this issue on our end. I have a few questions that will help narrow down what issue is is that you are experiencing.

Quick questions:

  1. Could you provided the dxdiag of the machine that your client is using?
  2. Just to be clear, when you say that you were able to replicate the issue in an First person template, do you mean that you reproduced the issue in a clean project?
  3. Could you provide the exact steps that are taken to produce the crash?

Hi Rudy,

I cannot reproduce it on my systems either. It just seems to be occurring on the client’s system.

  1. I’ll get back to you with details on that soon.

  2. Yes, it was reproduced in a clean First person template. We have the project files for the same if you need them.

  3. Just adding an ‘Execute console command’ with r.setres 1280x720f in the ‘Event Begin Play’ of Level Blueprint. But that does not reproduce the crash in my systems. So I’m not sure if that will help.

Hi, I have attached the dxdiag text below.

dxdiag

Hello ,

Thank you for providing the dxdiag, however I don’t see anything at first glance that would cause the crash. Would it be possible for your client to provide the crash logs that are generated for this crash?

Sure, could you tell me where I can find them?

Hello ,

The default path for your logs are as follows: C:\Users\YourUserName\Documents\Unreal Projects\YourProjectName\Saved\Logs

Hi Rudy, I’ve compressed all the log files into the zip file attached below.

LogFiles

Hello ,

Would it be possible for you to send me a packaged version of the project that is crashing? This could help eliminate/expose the possibility of a packaging error.

Sure, I’ll upload a copy of the packaged game later today.

Hi Rudy, here’s a dropbox link to the project:

DropboxProject

Hello ,

Thank you for being so responsive, I have looked through your logs and it seems the project is shutting down correctly (not crashing) and I have played around with the packaged game that was sent but I have still not seen a crash of any kind. Are you certain that what your client is experiencing is a crash? Could it be that the project is freezing up or simply refusing to open or some other issue that may be confused with a crash? Could you ask your client for the crash report?

It will look like this (except with a with more information obviously):

It’s not generating any crash report like that. The window closes itself before it displays anything on the screen. If the game tries to set the fullscreen anywhere in the project it crashes.

For example, if I don’t set it to fullscreen at launch, but decides to change the resolution from the options menu (which changes it to full screen in this case), it just closes itself.

Hello ,

Sorry for the long delay, I have a couple of suggestions that may yield more information. If you convert the project or remake it in 4.8 does the crash still occur? Do you know if the client has ever been able to use fullscreen with UE4?

Hello ,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you.

Hi Rudy,

Sorry for the delay. This is actually the first UE4 project that my client has worked on. So fullscreen has never worked for him. I have suggested downloading v4.8, but it doesn’t seem like he’s going to convert it into v4.8 anytime soon. I have asked him to let me know if he updates in the future. I apologize for not getting all the information regarding the issue. I’ll let you know if I find anything useful in the future.