I create my Menu Menu UMG Blueprint in the Game Mode, and I add it to viewport in the level I set up for the Main Menu itself. When I play in-editor, everything works as expected. When I package the project, the Menu Widget does not appear, but I have made packaged versions with a PrintString which shows the cast succeeds in the packaged version.
Update: I tried to add an action input to spawn the Menu Widget, which I set to the āPā key. This works after packaging, so I verified it can display the widget and that the widget works. Now I need to figure out why the widget is not displaying when added to viewport in the Level Begin Play.
I found that if I put a delay on the add to viewport, the widget does display. Something is jumping the gun in the post-packaged state. This solves my issue, but can anyone explain why this is happening?
Had the similar problem with blueprint not working then used the following package settings and now everything works:
Binary Configuration ā Use Project Setting (Development)