# Why would blueprint save game variables replicate over a network?

**URL:** <https://forums.unrealengine.com/t/why-would-blueprint-save-game-variables-replicate-over-a-network/285474>\
**Category:** Multiplayer & Networking\
**Tags:** variables, Networking, save-game, unreal-engine, question\
**Created:** [June 9, 2014, 11:22pm UTC](https://forums.unrealengine.com/t/why-would-blueprint-save-game-variables-replicate-over-a-network/285474 "2014-06-09T23:22:11Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lone\_K](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lone\_K](https://forums.unrealengine.com/u/Lone_K)\
**Post date:** [June 9, 2014, 11:22pm UTC](https://forums.unrealengine.com/t/why-would-blueprint-save-game-variables-replicate-over-a-network/285474/1 "2014-06-09T23:22:11Z")

</div>

We have a save system in place for players to be able to switch characters and skins. The problem is that when any client or the server change that value, it changes it for everyone.  
I’m not sure if the problem is coming from the SaveGame blueprint or how we’re setting the values. The values themselves are not being told to replicate, but are across the entire network.  
I’ll update if I find anything or if more information is needed,  
Thanks.

---

<div class="post-metadata">

**Author:** ![DwunkyPengy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DwunkyPengy](https://forums.unrealengine.com/u/DwunkyPengy)\
**Post date:** [June 13, 2014, 6:22pm UTC](https://forums.unrealengine.com/t/why-would-blueprint-save-game-variables-replicate-over-a-network/285474/2 "2014-06-13T18:22:20Z")

</div>

Just to update this, We have a separate level where we are setting a boolean for team and an integer for character selection. However during a match when we load the save game it seems to load the server rather than the clients saved variables. Is there a way to make sure this stay local? we can upload screenshots of the relevant blueprints if that would help 🙂

---

<div class="post-metadata">

**Author:** ![mightyenigma](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mightyenigma](https://forums.unrealengine.com/u/mightyenigma)\
**Post date:** [June 2, 2020, 7:17pm UTC](https://forums.unrealengine.com/t/why-would-blueprint-save-game-variables-replicate-over-a-network/285474/3 "2020-06-02T19:17:43Z")

</div>

Sounds like you’re not discriminating whether it is server or client, so the server loads theirs, then applies to the replicated values on replicated actors, which then replicate to the clients’s copies of those actors.

---

<div class="post-metadata">

**Author:** ![DwunkyPengy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DwunkyPengy](https://forums.unrealengine.com/u/DwunkyPengy)\
**Post date:** [June 3, 2020, 8:01am UTC](https://forums.unrealengine.com/t/why-would-blueprint-save-game-variables-replicate-over-a-network/285474/4 "2020-06-03T08:01:43Z")

</div>

Holy cow this was an old post 😃 Yeah we had no idea what we were doing back then, rereading it, the issue was we had the server dictating the customization rather than having the client send an RPC with the proper customization. Cheers to you for answering this though, what a trip to the past 🙂

---

<div class="post-metadata">

**Author:** ![SkitzLewis1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SkitzLewis1](https://forums.unrealengine.com/u/SkitzLewis1)\
**Post date:** [September 15, 2023, 1:10pm UTC](https://forums.unrealengine.com/t/why-would-blueprint-save-game-variables-replicate-over-a-network/285474/5 "2023-09-15T13:10:38Z")

</div>

Hey! I realize this is an old post but I was hoping you could explain how you managed to fix this? Replication/multiplayer is still something I struggle with sometimes so it’d be awesome if I could get some tips on this 🙂

---

<div class="post-metadata">

**Author:** ![Rev0verDrive](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rev0verdrive/32/907214_2.png) [@Rev0verDrive](https://forums.unrealengine.com/u/Rev0verDrive)\
**Post date:** [September 15, 2023, 10:22pm UTC](https://forums.unrealengine.com/t/why-would-blueprint-save-game-variables-replicate-over-a-network/285474/6 "2023-09-15T22:22:20Z")

</div>

Replication is Server → Client.

Meaning, Vars set as replicated will not replicate changes made on the client to the server.

General process is to have the server make the change to a replicated variable, class etc. This is done via RPC or deterministic functionality.

The server should be making its own decisions about the value of a replicated variable.

For example take a character sprint mechanic. In a Client-side prediction setup (default CMC), the client presses Sprint and it locally makes a change to the CMC Max walk speed float. To get this change reflected on the server and eventually other client sims you RPC the server to sprint.

In both, there should be a conditional gateway that determines “IF” the character can sprint. By having the server execute the same logic it will be making its own choice as to whether the “Authoritative Proxy” can sprint.

Also in both cases there’s typically a bSprint or enum state that gets set for animation usage. Said variable would be replicated.

On Sims the state would be updated directly without logic conditional checks.
