No GameInstance in Standalone?

The past 2 days I’ve had some trouble with networking.

By now i narrowed it down to, what you see in the title.

I’m using a simple WidgetButton to fire this event:
GetGameInstance → Cast To MyGameInstance

When I playtest my Game in PlayInEditor(PIE) everything is working alright, and the Cast returns.
However when i play in a Standalone setting, the Cast is returning the ‘Cast Failed’ node.

What am I missing?

Is it ok to have the game only run in PIE mode and i should just keep going?

Can I not access the GameInstance the way i am doing it?

Do i have to create a GameInstance manually if i want to use it in Standalone?

Is your custom game instance set in the project settings?

Yes it is

I am experiencing the same problem :expressionless:

Add a IsValid check before (!) the cast and see what happens. Or do a print of the class name.
The bootstrap flow is actually different in PIE and Standalone. However, that should not matter when you try to access it from a button, since that is much later when everything is initialized anyway.

I fixed the same issue by setting my game instance in the project settings back to the default value, running the game, then changing it back to my custom game instance and exporting.
Hope that helps!

I have same problem. Thank You. ^^