# \[bug?\] \[Replicate\] \[4.14\] Second Player's Pawn's RemoteRole is not replicated

**URL:** <https://forums.unrealengine.com/t/bug-replicate-4-14-second-players-pawns-remoterole-is-not-replicated/377092>\
**Category:** Multiplayer & Networking\
**Tags:** replicate, UE4-14, unreal-engine, bug-report, UE4, question, CPP\
**Created:** [November 22, 2016, 12:27pm UTC](https://forums.unrealengine.com/t/bug-replicate-4-14-second-players-pawns-remoterole-is-not-replicated/377092 "2016-11-22T12:27:17Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9c70cf9](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9c70cf9](https://forums.unrealengine.com/u/anonymous_user_b9c70cf9)\
**Post date:** [November 22, 2016, 12:27pm UTC](https://forums.unrealengine.com/t/bug-replicate-4-14-second-players-pawns-remoterole-is-not-replicated/377092/1 "2016-11-22T12:27:17Z")

</div>

Hey guys.

In my multiplay game project, only the first player’s possessed pawn’s RemoteRole variable is replicated correctly.

When the second or third player possesses to pawn, the dedicated server get correct RemoteRole(ROLE\_AutonomousProxy), but client’s Role value remains ROLE\_SimulatedProxy.

So non-first player’s movement and aiming input are ignored.

In versions earlier than 4.14, my project work correctly.

I think this is a bug of 4.14 version.

Because turning off net.SharedShadowState option turns it back correctly.

Please check this problem.

Thanks.

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [November 22, 2016, 8:21pm UTC](https://forums.unrealengine.com/t/bug-replicate-4-14-second-players-pawns-remoterole-is-not-replicated/377092/2 "2016-11-22T20:21:45Z")

</div>

Hey kaka hoho,

I’ll need a bit more information in order to investigate the issue.

- How are you setting up your possession of your pawn?
- Are you spawning the pawns or do they exist in the level and get possessed at a specific time?
- Could you please provide some screenshots of your blueprints or the code that you are using to perform this action when you’re seeing the issue occur?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9c70cf9](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9c70cf9](https://forums.unrealengine.com/u/anonymous_user_b9c70cf9)\
**Post date:** [November 23, 2016, 1:47am UTC](https://forums.unrealengine.com/t/bug-replicate-4-14-second-players-pawns-remoterole-is-not-replicated/377092/3 "2016-11-23T01:47:06Z")

</div>

•How are you setting up your possession of your pawn?

```
 I am just possessing it by calling Possess() on the PlayerController.

```

•Are you spawning the pawns or do they exist in the level and get possessed at a specific time?

```
 I spawn 10 AIControllers from AMyGameMode::HandleMatchIsWaitingToStart() and call RestartPlayer() to spawn Pawns. At this point, AIControllers own pawns. The possess to the PlayerController was called by the user's input during the game.

```

•Could you please provide some screenshots of your blueprints or the code that you are using to perform this action when you’re seeing the issue occur?

```
 My code is similar to ShooterGame. All that is described above. My code has been in use since version 4.5 and has worked well.

```

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9c70cf9](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9c70cf9](https://forums.unrealengine.com/u/anonymous_user_b9c70cf9)\
**Post date:** [November 23, 2016, 6:16am UTC](https://forums.unrealengine.com/t/bug-replicate-4-14-second-players-pawns-remoterole-is-not-replicated/377092/4 "2016-11-23T06:16:28Z")

</div>

Hey guy!

I reproduced the bug with a slightly modified ThirdPerson example of 4.14 rocket version.

If you create pawns in the map without possessing them from the beginning and possess them later, it will be reproduced.

Only the pawn of the first player(Connection) can be controlled by RemoteRole being properly transmitted.

It can be reproduced as a linked project.

[https://1drv.ms/u/s!AnWRKAzIQuYEgexkDAPf6hrfQjMTFw](https://1drv.ms/u/s!AnWRKAzIQuYEgexkDAPf6hrfQjMTFw)

If you turn on the dedicated server in the editor and run it with two or more clients, you can reproduce it.

Press “k” to possess and press “j” to unpossess.

If you press “k” on the non-first client to possess, the camera moves well, but you can see that the pawn’s control does not work.

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [November 28, 2016, 7:48pm UTC](https://forums.unrealengine.com/t/bug-replicate-4-14-second-players-pawns-remoterole-is-not-replicated/377092/5 "2016-11-28T19:48:13Z")

</div>

Hello,

I’ve been able to reproduce your issue and have entered a bug report, which you can track here:

> **[The Unreal Engine Issues and Bug Tracker](https://issues.unrealengine.com/issue/UE-39087)**
>
> Welcome to the Unreal Engine Issue and Bug Tracker. You can check the status of an issue and search for existing bugs. See latest bug fixes too.

Thank you for your report.

Have a great day

---

<div class="post-metadata">

**Author:** ![Jambax](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jambax/32/904177_2.png) [@Jambax](https://forums.unrealengine.com/u/Jambax)\
**Post date:** [January 16, 2017, 9:48am UTC](https://forums.unrealengine.com/t/bug-replicate-4-14-second-players-pawns-remoterole-is-not-replicated/377092/6 "2017-01-16T09:48:50Z")

</div>

Possibly caused by the fix for this issue, that I found in an earlier version of the engine:

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/2/e/52e3eacc6e7a260fa58ffe6c6cea6a9f8fdea577.jpeg "UE4 Answerhub - Shared Shadows in PIE") ](https://www.youtube.com/watch?v=5yXRu4xP0xg)

---

<div class="post-metadata">

**Author:** ![Joshua\_NZ](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/joshua_nz/32/918677_2.png) [@Joshua\_NZ](https://forums.unrealengine.com/u/Joshua_NZ)\
**Post date:** [June 2, 2020, 7:21am UTC](https://forums.unrealengine.com/t/bug-replicate-4-14-second-players-pawns-remoterole-is-not-replicated/377092/7 "2020-06-02T07:21:55Z")

</div>

Hi guys,

It appears a similar bug has popped up again in 4.24.

I have 3 pawns, and 3 active clients. On two clients - I possess two different vehicles and attach their pawns to the vehicle. On the third pawn, I move outside of the two clients replication distance. I then move back into the replication distance, and attempt to get out of the vehicle (repossessing the original pawn) and it appears the player is stuck and cannot move.

If I move back outside the replication distance, and back in again - the player pawn becomes responsive again.

This occurs only with 3 players, two works as expected.

The issue does not exist when using the ‘net.SharedShadowState 0’ option.

The issue did not occur in 4.23 and is currently occurring in 4.24.3.

Cheers
