EXE broken, editor fine

Hi everyone, I’m a final year game design student and I’ve ran into this issue while packaging my project.

I’ve made a small tavern simulator using blueprints which runs fine in the editor but once I package to exe win64 it no longer works. The build gets no errors and 1 or 2 warnings related to textures and the exe itself opens fine but my code that ends my tutorial no longer fires. You’re meant to give an order to a customer and get some money but all that happens is it plays the hand over animation and then no longer fires anymore code.

The code fires fine in engine and has no compile errors but I cannot for the life of me figure out why the packaged version is coming out different.

Engine version: UE4.27.2

Two main reasons why the packaged game doesn’t run the same as the editor version

  1. Timing

  2. Missing assets

You need to inspect the issue with those facts in mind.

Have you assumed something about the order of events, and not checked it?

Is it possible that something, for whatever reason, is missing from the packaged version?

You can use widgets to print debug messages.