Spawning Game Instance on Client side

How the Game Instance is spawned for the Client when joining session? Are there a two Game Instances in total (one for Server and one for Client) when Server and Client are connected?

I’m trying to get variable from Game Instance by the Client when he’s connected to Server but is’ always Null. I’m setting this variable for both Server and Client before joining session. Is there spawned a default Game Instance when Client is joining session? Why my variable is cleared out?

From my mind, gameinstance is instantiated for each player on player’s side (if you are in mode server + clients, there is one more gameinstance on server side).
Their information are not shared, and are local to your player.

You can find very good information on which class are shared or not in this document:

http://cedric.bnslv.de/Downloads/UE4_Network_Compendium_by_Cedric_eXi_Neukirchen.pdf

Thanks for the link. It will be very helpfull :slight_smile: