Error: ReceivedRPC

Recently I`ve updated my project from 4.15 to 4.18 and now some times the client losing the replication with dedicated server and rising the errors in log:

[2017.11.24-12.15.25:504][634]LogNet: Warning: ReadFieldHeaderAndPayload: GetFromIndex failed. Object: IceAndDarkAbility_C /Game/Blueprints/DevMaps/DungeonDomination.DungeonDomination:PersistentLevel.IceAndDarkAbility_C_2
[2017.11.24-12.15.25:504][634]LogNet: Warning: ReceivedBunch: FieldCache == nullptr: IceAndDarkAbility_C /Game/Blueprints/DevMaps/DungeonDomination.DungeonDomination:PersistentLevel.IceAndDarkAbility_C_2
[2017.11.24-12.15.25:504][634]LogNet: Error: ReceivedRPC: ReceivePropertiesForRPC - Mismatch read. Function: UpdateScore, Object: IceAndDarkAbility_C /Game/Blueprints/DevMaps/DungeonDomination.DungeonDomination:PersistentLevel.IceAndDarkAbility_C_2
[2017.11.24-12.15.25:504][634]LogNet: Error: ReceivedRPC: ReceivePropertiesForRPC - Mismatch read. Function: Play_FX, Object: IceAndDarkAbility_C /Game/Blueprints/DevMaps/DungeonDomination.DungeonDomination:PersistentLevel.IceAndDarkAbility_C_2
[2017.11.24-12.15.25:504][634]LogNetSerialization: Error: FBitReader::SetOverflowed() called! (ReadLen: 1, Remaining: 0, Max: 0)
[2017.11.24-12.15.25:504][634]LogRep: Error: ReceivedRPC: ReceivePropertiesForRPC - Reader.IsError() == true: Function: UpdateAbilityIcon, Object: IceAndDarkAbility_C /Game/Blueprints/DevMaps/DungeonDomination.DungeonDomination:PersistentLevel.IceAndDarkAbility_C_2
[2017.11.24-12.15.25:504][634]LogNet: Error: Client received non custom delta property value EffectScore in IceAndDarkAbility_C /Game/Blueprints/DevMaps/DungeonDomination.DungeonDomination:PersistentLevel.IceAndDarkAbility_C_2
[2017.11.24-12.15.25:504][634]LogNet: Error: UActorChannel::ProcessBunch: Replicator.ReceivedBunch failed.  Closing connection. RepObj: IceAndDarkAbility_C /Game/Blueprints/DevMaps/DungeonDomination.DungeonDomination:PersistentLevel.IceAndDarkAbility_C_2, Channel: 21
[2017.11.24-12.15.25:504][634]LogNet: UNetConnection::Close: [UNetConnection] RemoteAddr: 192.168.1.89:6, Name: IpConnection_0, Driver: GameNetDriver IpNetDriver_0, IsServer: NO, PC: TalePlayerController_BP_C_0, Owner: TalePlayerController_BP_C_0, Channels: 69, Time: 2017.11.24-12.15.25
[2017.11.24-12.15.25:504][634]LogNet: UChannel::Close: Sending CloseBunch. ChIndex == 0. Name: [UChannel] ChIndex: 0, Closing: 0 [UNetConnection] RemoteAddr: 192.168.1.89:6, Name: IpConnection_0, Driver: GameNetDriver IpNetDriver_0, IsServer: NO, PC: TalePlayerController_BP_C_0, Owner: TalePlayerController_BP_C_0
[2017.11.24-12.15.25:505][634]LogNet: Warning: Network Failure: GameNetDriver[ConnectionLost]: Your connection to the host has been lost.
[2017.11.24-12.15.25:505][634]LogNet: NetworkFailure: ConnectionLost, Error: 'Your connection to the host has been lost.'
[2017.11.24-12.15.25:527][635]LogNet: Browse: /Game/Blueprints/DevMaps/TaleLoginMap?closed
[2017.11.24-12.15.25:527][635]LogNet: Failed; returning to Entry
[2017.11.24-12.15.25:552][635]LogLoad: LoadMap: /Game/Blueprints/DevMaps/TaleLoginMap?closed
[2017.11.24-12.15.25:553][635]LogNet: World NetDriver shutdown IpNetDriver_0 [GameNetDriver]
[2017.11.24-12.15.25:553][635]LogNet: DestroyNamedNetDriver IpNetDriver_0 [GameNetDriver]
[2017.11.24-12.15.25:553][635]LogExit: GameNetDriver IpNetDriver_0 shut down

after that client goes to login map
How could I fix that? and where could I looking for problem?
I suppose that the problam connected with blueprint that has replicated variable, but what can I do with that?

I have also encountered this problem when upgrading to 4.18. I have been working on this for a couple of weeks without finding any solution.

[2017.11.28-14.06.51:693][202]LogLoad: Took 7.079377 seconds to LoadMap(/Game/Maps/RealWorld/RealWorldMap)
[2017.11.28-14.06.51:693][202]LogNet: UNetDriver::TickDispatch: Very long time between ticks. DeltaTime: 0.02, Realtime: 7.08. IpNetDriver_0
[2017.11.28-14.06.51:707][203]LogNet: UNetDriver::TickDispatch: Very long time between ticks. DeltaTime: 7.09, Realtime: 0.01. IpNetDriver_0
[2017.11.28-14.06.51:843][204]LogStaticMesh: Allocated 507x494x179 distance field atlas = 85.5Mb, with 288 objects containing 39.0Mb backing data
[2017.11.28-14.06.52:051][204]LogNet: Error: Client received non custom delta property value HungerWarningState in Colony2PlayerController_C /Game/Maps/RealWorld/RealWorldMap.RealWorldMap:PersistentLevel.Colony2PlayerController_C_0
[2017.11.28-14.06.52:051][204]LogNet: Error: UActorChannel::ProcessBunch: Replicator.ReceivedBunch failed. Closing connection. RepObj: Colony2PlayerController_C /Game/Maps/RealWorld/RealWorldMap.RealWorldMap:PersistentLevel.Colony2PlayerController_C_0, Channel: 2
[2017.11.28-14.06.52:051][204]LogNet: UNetConnection::Close: [UNetConnection] RemoteAddr: 192.168.0.156:7777, Name: IpConnection_0, Driver: GameNetDriver IpNetDriver_0, IsServer: NO, PC: Colony2PlayerController_C_0, Owner: Colony2PlayerController_C_0, Channels: 3, Time: 2017.11.28-14.06.52
[2017.11.28-14.06.52:051][204]LogNet: UChannel::Close: Sending CloseBunch. ChIndex == 0. Name: [UChannel] ChIndex: 0, Closing: 0 [UNetConnection] RemoteAddr: 192.168.0.156:7777, Name: IpConnection_0, Driver: GameNetDriver IpNetDriver_0, IsServer: NO, PC: Colony2PlayerController_C_0, Owner: Colony2PlayerController_C_0
[2017.11.28-14.06.52:052][204]LogNet: Warning: Network Failure: GameNetDriver[ConnectionLost]: Your connection to the host has been lost.

I have this problem too

I have begun to come to the conclusion that this issue is a result of changes made in 4.18. I’m rebuilding a 4.17.2 version of the engine to make sure. @Epic needs to address this.

Hey everyone,

I’m currently looking into this, but it would be a great help if I could get a project that showcases the issue so I can do some debugging.

Please refer to the following thread for information on how to private message me a link to the project: Replication errors in 4.18 close client connection to dedicated server - Programming & Scripting - Unreal Engine Forums

Also, please keep all correspondence related to this issue. in the linked thread. Let’s move the discussion over to there.

Thanks

Sorry, but I am not allowed to show the project

I know this was a while a go but, I’ve been scouring the net for answers regarding a semi similar issue we are having in 4.18. Basically when we connect two players together in a direct ip connected lan game and the client calls a server rpc that changes a replicated variable, it disconnects the client and kicks him back to the lobby level. The variable it changes is a boolean that is simply used to set the visibility of a laser pointer component we use. This post is the closest I’ve been to finding any information remotely similar to our issue.

Log info related to the disconnect:
[2018.03.14-23.28.16:977][426]LogNet: VeryVerbose: GetFunctionCallspace RemoteRole Remote Server_UpdateLaserActive
[2018.03.14-23.28.16:988][427]LogNet: UChannel::ReceivedSequencedBunch: Bunch.bClose == true. ChIndex == 0. Calling ConditionalCleanUp.
[2018.03.14-23.28.16:988][427]LogNet: UChannel::CleanUp: ChIndex == 0. Closing connection. [UChannel] ChIndex: 0, Closing: 0 [UNetConnection] RemoteAddr: 10.1.10.39:7777, Name: IpConnection_0, Driver: GameNetDriver IpNetDriver_0, IsServer: NO, PC: TheiaController_BP_C_0, Owner: TheiaController_BP_C_0
[2018.03.14-23.28.16:988][427]LogNet: UNetConnection::Close: [UNetConnection] RemoteAddr: 10.1.10.39:7777, Name: IpConnection_0, Driver: GameNetDriver IpNetDriver_0, IsServer: NO, PC: TheiaController_BP_C_0, Owner: TheiaController_BP_C_0, Channels: 10, Time: 2018.03.14-23.28.16
[2018.03.14-23.28.16:988][427]LogNet: UChannel::Close: Sending CloseBunch. ChIndex == 0. Name: [UChannel] ChIndex: 0, Closing: 0 [UNetConnection] RemoteAddr: 10.1.10.39:7777, Name: IpConnection_0, Driver: GameNetDriver IpNetDriver_0, IsServer: NO, PC: TheiaController_BP_C_0, Owner: TheiaController_BP_C_0
[2018.03.14-23.28.16:989][427]LogNet: Warning: Network Failure: GameNetDriver[ConnectionLost]: Your connection to the host has been lost.
[2018.03.14-23.28.16:989][427]LogNet: NetworkFailure: ConnectionLost, Error: ‘Your connection to the host has been lost.’

This is occurring for us as well.