Bugs that happens only in the build version and not while playing in the Editor

Why does my project have no issues, problems, or bugs in Unreal Editor, but then is full of issues in the build version? For example, the controllers, some trigger volumes, the AI, and Nav Mesh do not work correctly in the build, although they all work perfectly in the Editor.

Is this normal? Why is this happening?

It is because Editor takes care about lots of things, and does it silently (no error or warnings, which is really bad). Also when playing in editor everything is loaded, when you run packaged game things load slower. Begin play is not always correct (not everything is always loaded when you have begin play event). And constructor scripts are kind of “editor only”, outside editor they are sometimes unsafe.

It was either crashing or making editor keep stuff stable, side effect is when there is no editor code, some things do bonkers.

And that is why every major feature you should at least run standalone game, and when you have time package it try on different computer.

Yes, correct, for example, on my laptop the controller works, but then a friend of mine’s laptop doesn’t, and I don’t know how to fix it.
For the controller, I use “Set Keyboard Focus” after “Set Input Mode UI Only” at the very start or “Set Input Mode Game and UI” when playing.

Is there something specific that I have to do for the controller settings/BluePrints to fix this?

Another example, I had to change the Runtime Generation under “Settings - Nav Mesh” from Static to Dynamic to make the Nav mesh and the AI works in the level in the build version, which I have been told that is not ideal.