Packaged game won't start

Hi, all

I have packaged my game and tried to run it. Unfortunately it just won’t start. No window is opened nor black screen appears. There are just 2 background processes: “my game” and “Third Person Template”.
Package was made for windows 64-bit

I have tried:

  • turn off anti-virus program (avast)
  • add my game to firewall whitelist
  • run as administrator
  • run in various compatibilty modes

but nothing helped.

I suppose packaging was successful, cos i have tried it several times with the same result.

Edit: After suggestion, i have tried development and shipping packaging. Same resut.

How did you package it? Development or Shipping? If you did Shipping, can you try to package it as Development?

1 Like

Thank you for your reply. I have tried both, but with same result.

You said your packaging was successful. Can you copy/paste the packaging log to pastebin or similar services for us to have a look?

I see plenty of references to files which cannot be found. You may try to clean up your project (fix redirectors) or migrate your map to a brand new project. All dependencies will be carried along while all dead references will be left behind.

Here it is: Packaging log

All warnning are resolved now. They were caused by example map, that was using deleted assets and some .uasset files that remained after deleting some assets.
But unfortunaltely even after resolving this, problem persists.

same problem here. my game starts fine in editor, not after packaging. only a few warnings about missing files I’m not even using. this has not been a problem before, and it makes no sense to be a problem, since the game runs fine, and those files are not supposed to be in the final build anyway. I guess bugs… I guess we have to go back to 4.23…?

1 Like

I have had a same issue. Try running your game with “-dx12” parameter. You can do it by creating shortcut to your game exe file, and then right click - properties, and in target, at the end add space and -dx12. So it will look something like this: {path_to_your_exe}.your_game.exe -dx12

Thanks. I might try next time I give it a go to 4.24 or later. For now I reverted to 4.23. I think the game will have to run w-i-t-h-o-u-t special parameters tho. And I disabled dx12 features, I built for dx11, so it should have run without the -dx12 parameter, as far as I can understand…

1 Like

Did you try to package 32 bit ? Because i have the same issue but only with 64 bit.

I have found the solution for me. It’s an Unreal bug, in 4.24.0 and 1 and 2, which I’ve submitted.

My game didn’t start because I had the Editor Scripting Utilities plugin enabled. I looked in the built game’s log and discovered that EditorScriptingUtilities was erroring and shutting down the game at launch. Of course, it makes no sense that the presence of a plugin should do that to a built game that did not error during build. I disabled the plugin, restarted Unreal, rebuilt my game, all good.

So maybe other plugins as well, especially if experimental or just poorly supported by Epic, can cause no-launch scenarios. Look in the log files and they should show what caused the application to exit.

I had the same problem after deleting all of my Quixel content without uninstalling the software and plugin.
I had zero errors when packaging.

My solution was to uninstall the plugin and software.

I solve it by updating my Visual Studio to 2019 and setting it as Source Code Editor
Edit > Edit Preferences > Source Code > Visual Studio 2019

It worked for me.

nope, I have 2019 here, it didn’t work just by compiling with 2019. it’s a bug on their end. and they said it’s been fixed in the yet unreleased 4.25.

Hi I am in 4.26 and I have the same problem again: /

Hi I am in 4.26 and I have the same problem again: /

(SOLVED) Hey I just had this problem as well. What fixed mine was disabling plugins. The plugins I had to disable were the following:
-Level Design Assistant
-Animation Preview Plugin
-Export PNG

Hopefully this helps someone
Thanks!

1 Like

is this going to effect my game? because i have exported PNG Pictures?

n