I have done some investigations on this topics because after packaging my game: nothing works!
When I use Unreal editor and the menu “Play / select viewport” or “play/ standalone game” my game works well.
The origin of the problem : in the level blueprint of my map I called a function located in my BP_GameModeBase => this does not work when my game is packaged because it seems the BP_GameModeBased is “called” after the map is “called”. I fixed it by using a function in the BP_GameInstance and it work again after packaging.
After that I have done a simple test with the template thirdpersonexample provided with Unreal editor. I have created dedicated blueprint for all the classes and I have add in “event beginplay” a simple “print string”. See the result attached (reminder : with print string the print are done always on the top of the screen, it means that the last line displayed on the screen is the first which is displayed) .
We can see that the order of the execution in play mode and after packaging is not the same and this explains in my case the issue.
I shared my test but I wonder if it is really like that in UE or just a problem of settings somewhere in UE or a problem specific to my PC installation or …?
Tell me if I am wrong or right or the way to fix it…
Thank you!
alt text