# Variables on GameInstance are not replicated

**URL:** <https://forums.unrealengine.com/t/variables-on-gameinstance-are-not-replicated/314022>\
**Category:** Multiplayer & Networking\
**Tags:** Networking, Replication, replicated-variable, gameinstance, unreal-engine, question\
**Created:** [April 6, 2015, 1:35pm UTC](https://forums.unrealengine.com/t/variables-on-gameinstance-are-not-replicated/314022 "2015-04-06T13:35:43Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![acxsasx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@acxsasx](https://forums.unrealengine.com/u/acxsasx)\
**Post date:** [June 6, 2017, 10:14pm UTC](https://forums.unrealengine.com/t/variables-on-gameinstance-are-not-replicated/314022/10 "2017-06-06T22:14:23Z")

</div>

Network games are complicated. Learning UE4’s implementation takes effort. I _think_ I got a basic handle on it using C++ and some blueprints after many hours.

IMHO, using C++ for a networked, dedicated server is a requirement to have all tools you need to address what you want to do.

GameMode object live ONLY on server, never a client.

I have used these resources:

> **[MMO Starter Kit](https://forums.unrealengine.com/showthread.php?53208-MMO-Starter-Kit)**
>
> IMPORTANT: The NEW MMO Kit v2 is available on the Marketplace: MMO Kit in Blueprints - UE Marketplace Discord support: CodeSpartan Support Steam demo: (link soon) Everything below the line pertains to the OLD MMO Kit. It will not get updates past...

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — https://unrealcommunity.wiki/! You will be able to find content from...

His PDF is a MUST read. [http://cedric-neukirchen.net/](http://cedric-neukirchen.net/)

edit:  
Found this:

> **[How can a client send a variable from his Game Instance to the listen server?](https://forums.unrealengine.com/questions/286918/how-can-a-client-send-a-variable-from-his-game-ins.html)**
>
> How can a client send a variable from his Game Instance to the listen server? So that everyone else can see it too? I have a string variable in the game instance called “Playername”. The client sets it before he joins a session. Then he joins a...

Also, you could do a custom event off GameInstance, make is server only (RPC) pass it information you want. This is what I am going to work on here in a few minutes.

---

_[View the full topic](https://forums.unrealengine.com/t/variables-on-gameinstance-are-not-replicated/314022)._
