So you have to declare the template type:
Code:
GameState = Cast<AMainGameState>(world->GetGameState<AMainGameState>());
However, even with the Cast it doesn't seem to return the GameState set up in the GameMode
Related: https://answers.unrealengine.com/que...urns-null.html ?
related: https://forums.unrealengine.com/show...etworking-test
errr.... I had a typo... YEHAAA IT WORKs.. THANKS ALL... Beers for ALL
Leave a comment: