# Actor array in Game State not replicated

**URL:** <https://forums.unrealengine.com/t/actor-array-in-game-state-not-replicated/406150>\
**Category:** Blueprint\
**Tags:** Replication, gamestate, unreal-engine, Blueprint, question\
**Created:** [October 4, 2017, 12:06pm UTC](https://forums.unrealengine.com/t/actor-array-in-game-state-not-replicated/406150 "2017-10-04T12:06:12Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_f7c0f7221](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f7c0f7221](https://forums.unrealengine.com/u/anonymous_user_f7c0f7221)\
**Post date:** [October 4, 2017, 12:06pm UTC](https://forums.unrealengine.com/t/actor-array-in-game-state-not-replicated/406150/1 "2017-10-04T12:06:12Z")

</div>

Hi,

I am creating an RTS in UE4. I’m trying to use game state to replicate each faction’s units references.

On the server, the values appear as expected but on the client, the array appears with “None” instead of a reference.

Some screenshoots:

Adding to the structure:

 ![215681-addingingamemode.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/d/8/ad850b4a622121c9bb09847f7aad3e78f43b09d5.png)

The replication settings on this object:

 ![215682-replicationsettings.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/7/7/47714806f82835e8e80f536bfb1a95680cb97cc5.png)

Getting stuff from gamestate:

 ![215683-gettingrootsfromgamestaet.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/0/7/e07c3e04458af84e151a18287c63a0bf50ef9429.png)

Different behaviors:

 ![215684-on-the-server.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/7/2/2724326df3de0feb418f21ce703601af32338273.png)

The unit itself is also replicated.

I initially had a map but I know it is not replicated, so I switched to a array.  
I don’t know what could be the problem…

Can anyone help me?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b53ccd481](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b53ccd481](https://forums.unrealengine.com/u/anonymous_user_b53ccd481)\
**Post date:** [July 10, 2018, 12:38pm UTC](https://forums.unrealengine.com/t/actor-array-in-game-state-not-replicated/406150/2 "2018-07-10T12:38:30Z")

</div>

Did you get an answer to this?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f7c0f7221](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f7c0f7221](https://forums.unrealengine.com/u/anonymous_user_f7c0f7221)\
**Post date:** [July 10, 2018, 12:42pm UTC](https://forums.unrealengine.com/t/actor-array-in-game-state-not-replicated/406150/3 "2018-07-10T12:42:12Z")

</div>

You just have to give it time. Eventually it will get replicated.

---

<div class="post-metadata">

**Author:** ![Hustlan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Hustlan](https://forums.unrealengine.com/u/Hustlan)\
**Post date:** [July 16, 2018, 9:57am UTC](https://forums.unrealengine.com/t/actor-array-in-game-state-not-replicated/406150/4 "2018-07-16T09:57:53Z")

</div>

Are you sure you do all this stuff on the server? If you fill the array on one of the clients, the change will not persist as server values override client ones when replicated

---

<div class="post-metadata">

**Author:** ![MidnightRuin](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/midnightruin/32/1026636_2.png) [@MidnightRuin](https://forums.unrealengine.com/u/MidnightRuin)\
**Post date:** [September 18, 2019, 3:00am UTC](https://forums.unrealengine.com/t/actor-array-in-game-state-not-replicated/406150/5 "2019-09-18T03:00:30Z")

</div>

was any solution found to this?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f7c0f7221](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f7c0f7221](https://forums.unrealengine.com/u/anonymous_user_f7c0f7221)\
**Post date:** [September 18, 2019, 12:15pm UTC](https://forums.unrealengine.com/t/actor-array-in-game-state-not-replicated/406150/6 "2019-09-18T12:15:59Z")

</div>

You just have to give it time. Eventually it will get replicated.
