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.
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.
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…?
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…
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.
(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