Hiya! My team and I are creating a multiplayer project using Iris and Unreal Engine 5.3.2, we have a dedicated server setup and can connect to it only the first time.
After disconnecting, any subsequent connecting clients are immediately disconnected with the following errors:
LogOutputDevice: Error: === Handled ensure: ===
LogOutputDevice: Error: Ensure condition failed: InstancePtr [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Experimental\Iris\Core\Private\Iris\ReplicationSystem\ObjectReplicationBridge.cpp] [Line: 584]
LogOutputDevice: Error: Failed to instantiate Handle: NetRefHandle (Id=19):(Incomplete)
LogOutputDevice: Error: Stack:
LogOutputDevice: Error: [Callstack] 0x00007ffc32e634e7 UnrealEditor-IrisCore.dll!UObjectReplicationBridge::CreateNetRefHandleFromRemote() [D:\build\++UE5\Sync\Engine\Source\Runtime\Experimental\Iris\Core\Private\Iris\ReplicationSystem\ObjectReplicationBridge.cpp:584]
LogOutputDevice: Error: [Callstack] 0x00007ffc32eb4587 UnrealEditor-IrisCore.dll!UE::Net::Private::FReplicationReader::ReadObjectInBatch() [D:\build\++UE5\Sync\Engine\Source\Runtime\Experimental\Iris\Core\Private\Iris\ReplicationSystem\ReplicationReader.cpp:780]
LogOutputDevice: Error: [Callstack] 0x00007ffc32eb4f94 UnrealEditor-IrisCore.dll!UE::Net::Private::FReplicationReader::ReadObjectsInBatch() [D:\build\++UE5\Sync\Engine\Source\Runtime\Experimental\Iris\Core\Private\Iris\ReplicationSystem\ReplicationReader.cpp:547]
LogOutputDevice: Error: [Callstack] 0x00007ffc32eb4214 UnrealEditor-IrisCore.dll!UE::Net::Private::FReplicationReader::ReadObjectBatch() [D:\build\++UE5\Sync\Engine\Source\Runtime\Experimental\Iris\Core\Private\Iris\ReplicationSystem\ReplicationReader.cpp:688]
LogOutputDevice: Error: [Callstack] 0x00007ffc32eb4ef2 UnrealEditor-IrisCore.dll!UE::Net::Private::FReplicationReader::ReadObjects() [D:\build\++UE5\Sync\Engine\Source\Runtime\Experimental\Iris\Core\Private\Iris\ReplicationSystem\ReplicationReader.cpp:1615]
LogOutputDevice: Error: [Callstack] 0x00007ffc32eb3359 UnrealEditor-IrisCore.dll!UE::Net::Private::FReplicationReader::Read() [D:\build\++UE5\Sync\Engine\Source\Runtime\Experimental\Iris\Core\Private\Iris\ReplicationSystem\ReplicationReader.cpp:1907]
LogOutputDevice: Error: [Callstack] 0x00007ffc32e0c93e UnrealEditor-IrisCore.dll!UDataStreamManager::ReadData() [D:\build\++UE5\Sync\Engine\Source\Runtime\Experimental\Iris\Core\Private\Iris\DataStream\DataStreamManager.cpp:115]
LogOutputDevice: Error: [Callstack] 0x00007ffc3cdbd895 UnrealEditor-Engine.dll!UDataStreamChannel::ReceivedBunch() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\Net\Experimental\Iris\DataStreamChannel.cpp:117]
LogOutputDevice: Error: [Callstack] 0x00007ffc3c3f0d9e UnrealEditor-Engine.dll!UChannel::ReceivedSequencedBunch() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\DataChannel.cpp:564]
LogOutputDevice: Error: [Callstack] 0x00007ffc3c3ee3d4 UnrealEditor-Engine.dll!UChannel::ReceivedNextBunch() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\DataChannel.cpp:1026]
LogOutputDevice: Error: [Callstack] 0x00007ffc3c3f090f UnrealEditor-Engine.dll!UChannel::ReceivedRawBunch() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\DataChannel.cpp:674]
LogOutputDevice: Error: [Callstack] 0x00007ffc3cccb119 UnrealEditor-Engine.dll!UNetConnection::DispatchPacket() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\NetConnection.cpp:3635]
LogOutputDevice: Error: [Callstack] 0x00007ffc3cd06891 UnrealEditor-Engine.dll!UNetConnection::ReceivedPacket() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\NetConnection.cpp:2999]
LogOutputDevice: Error: [Callstack] 0x00007ffc3cd07352 UnrealEditor-Engine.dll!UNetConnection::ReceivedRawPacket() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\NetConnection.cpp:1903]
LogOutputDevice: Error: [Callstack] 0x00007ffc21d1c814 UnrealEditor-OnlineSubsystemUtils.dll!UIpNetDriver::TickDispatch() [D:\build\++UE5\Sync\Engine\Plugins\Online\OnlineSubsystemUtils\Source\OnlineSubsystemUtils\Private\IpNetDriver.cpp:1301]
LogOutputDevice: Error: [Callstack] 0x00007ffc3cdaa729 UnrealEditor-Engine.dll!UNetDriver::InternalTickDispatch() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\NetDriver.cpp:1597]
LogOutputDevice: Error: [Callstack] 0x00007ffc3cd8cacc UnrealEditor-Engine.dll!TBaseUObjectMethodDelegateInstance<0,UNetDriver,void __cdecl(float),FDefaultDelegateUserPolicy>::ExecuteIfSafe() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:667]
LogOutputDevice: Error: [Callstack] 0x00007ffc3b6b67ca UnrealEditor-Engine.dll!TMulticastDelegate<void __cdecl(float),FDefaultDelegateUserPolicy>::Broadcast() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Public\Delegates\DelegateSignatureImpl.inl:956]
LogOutputDevice: Error: [Callstack] 0x00007ffc3c9e4be6 UnrealEditor-Engine.dll!UWorld::Tick() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\LevelTick.cpp:1355]
LogOutputDevice: Error: [Callstack] 0x00007ffc37ed58f8 UnrealEditor-UnrealEd.dll!UEditorEngine::Tick() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\EditorEngine.cpp:1924]
LogOutputDevice: Error: [Callstack] 0x00007ffc38b2ea06 UnrealEditor-UnrealEd.dll!UUnrealEdEngine::Tick() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\UnrealEdEngine.cpp:531]
LogOutputDevice: Error: [Callstack] 0x00007ff647fa8af2 UnrealEditor.exe!FEngineLoop::Tick() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:5825]
LogOutputDevice: Error: [Callstack] 0x00007ff647fcd28c UnrealEditor.exe!GuardedMain() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Launch.cpp:188]
LogOutputDevice: Error: [Callstack] 0x00007ff647fcd37a UnrealEditor.exe!GuardedMainWrapper() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:118]
LogOutputDevice: Error: [Callstack] 0x00007ff647fd0854 UnrealEditor.exe!LaunchWindowsStartup() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:258]
LogOutputDevice: Error: [Callstack] 0x00007ff647fe6984 UnrealEditor.exe!WinMain() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:298]
LogOutputDevice: Error: [Callstack] 0x00007ff647fe9d7a UnrealEditor.exe!__scrt_common_main_seh() [D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
LogOutputDevice: Error: [Callstack] 0x00007ffd05a4259d KERNEL32.DLL!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ffd06f4af38 ntdll.dll!UnknownFunction []
LogStats: SubmitErrorReport - 0.000 s
LogStats: SendNewReport - 0.863 s
LogStats: FDebug::EnsureFailed - 1.547 s
LogIris: Error: FReplicationReader::ReadObject Unable to create handle for NetRefHandle (Id=19):(Incomplete).
LogIris: Error: FReplicationReader::ReadObject Failed to read replicated object with NetRefHandle (Id=19):(Incomplete). Error 'Invalid NetHandle'.
LogOutputDevice: Warning: Script Stack (0 frames) :
LogStats: FPlatformStackWalk::StackWalkAndDump - 0.003 s
LogOutputDevice: Error: === Handled ensure: ===
LogOutputDevice: Error: Ensure condition failed: !Context.HasErrorOrOverflow() [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Experimental\Iris\Core\Private\Iris\ReplicationSystem\ReplicationReader.cpp] [Line: 1618]
LogOutputDevice: Error: Overflow: N Error: Invalid NetHandle Bit stream bits left: 0 position: 1245
LogOutputDevice: Error: Stack:
LogOutputDevice: Error: [Callstack] 0x00007ffc32eb4f22 UnrealEditor-IrisCore.dll!UE::Net::Private::FReplicationReader::ReadObjects() [D:\build\++UE5\Sync\Engine\Source\Runtime\Experimental\Iris\Core\Private\Iris\ReplicationSystem\ReplicationReader.cpp:1618]
LogOutputDevice: Error: [Callstack] 0x00007ffc32eb3359 UnrealEditor-IrisCore.dll!UE::Net::Private::FReplicationReader::Read() [D:\build\++UE5\Sync\Engine\Source\Runtime\Experimental\Iris\Core\Private\Iris\ReplicationSystem\ReplicationReader.cpp:1907]
LogOutputDevice: Error: [Callstack] 0x00007ffc32e0c93e UnrealEditor-IrisCore.dll!UDataStreamManager::ReadData() [D:\build\++UE5\Sync\Engine\Source\Runtime\Experimental\Iris\Core\Private\Iris\DataStream\DataStreamManager.cpp:115]
LogOutputDevice: Error: [Callstack] 0x00007ffc3cdbd895 UnrealEditor-Engine.dll!UDataStreamChannel::ReceivedBunch() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\Net\Experimental\Iris\DataStreamChannel.cpp:117]
LogOutputDevice: Error: [Callstack] 0x00007ffc3c3f0d9e UnrealEditor-Engine.dll!UChannel::ReceivedSequencedBunch() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\DataChannel.cpp:564]
LogOutputDevice: Error: [Callstack] 0x00007ffc3c3ee3d4 UnrealEditor-Engine.dll!UChannel::ReceivedNextBunch() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\DataChannel.cpp:1026]
LogOutputDevice: Error: [Callstack] 0x00007ffc3c3f090f UnrealEditor-Engine.dll!UChannel::ReceivedRawBunch() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\DataChannel.cpp:674]
LogOutputDevice: Error: [Callstack] 0x00007ffc3cccb119 UnrealEditor-Engine.dll!UNetConnection::DispatchPacket() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\NetConnection.cpp:3635]
LogOutputDevice: Error: [Callstack] 0x00007ffc3cd06891 UnrealEditor-Engine.dll!UNetConnection::ReceivedPacket() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\NetConnection.cpp:2999]
LogOutputDevice: Error: [Callstack] 0x00007ffc3cd07352 UnrealEditor-Engine.dll!UNetConnection::ReceivedRawPacket() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\NetConnection.cpp:1903]
LogOutputDevice: Error: [Callstack] 0x00007ffc21d1c814 UnrealEditor-OnlineSubsystemUtils.dll!UIpNetDriver::TickDispatch() [D:\build\++UE5\Sync\Engine\Plugins\Online\OnlineSubsystemUtils\Source\OnlineSubsystemUtils\Private\IpNetDriver.cpp:1301]
LogOutputDevice: Error: [Callstack] 0x00007ffc3cdaa729 UnrealEditor-Engine.dll!UNetDriver::InternalTickDispatch() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\NetDriver.cpp:1597]
LogOutputDevice: Error: [Callstack] 0x00007ffc3cd8cacc UnrealEditor-Engine.dll!TBaseUObjectMethodDelegateInstance<0,UNetDriver,void __cdecl(float),FDefaultDelegateUserPolicy>::ExecuteIfSafe() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:667]
LogOutputDevice: Error: [Callstack] 0x00007ffc3b6b67ca UnrealEditor-Engine.dll!TMulticastDelegate<void __cdecl(float),FDefaultDelegateUserPolicy>::Broadcast() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Public\Delegates\DelegateSignatureImpl.inl:956]
LogOutputDevice: Error: [Callstack] 0x00007ffc3c9e4be6 UnrealEditor-Engine.dll!UWorld::Tick() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\LevelTick.cpp:1355]
LogOutputDevice: Error: [Callstack] 0x00007ffc37ed58f8 UnrealEditor-UnrealEd.dll!UEditorEngine::Tick() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\EditorEngine.cpp:1924]
LogOutputDevice: Error: [Callstack] 0x00007ffc38b2ea06 UnrealEditor-UnrealEd.dll!UUnrealEdEngine::Tick() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\UnrealEdEngine.cpp:531]
LogOutputDevice: Error: [Callstack] 0x00007ff647fa8af2 UnrealEditor.exe!FEngineLoop::Tick() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:5825]
LogOutputDevice: Error: [Callstack] 0x00007ff647fcd28c UnrealEditor.exe!GuardedMain() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Launch.cpp:188]
LogOutputDevice: Error: [Callstack] 0x00007ff647fcd37a UnrealEditor.exe!GuardedMainWrapper() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:118]
LogOutputDevice: Error: [Callstack] 0x00007ff647fd0854 UnrealEditor.exe!LaunchWindowsStartup() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:258]
LogOutputDevice: Error: [Callstack] 0x00007ff647fe6984 UnrealEditor.exe!WinMain() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:298]
LogOutputDevice: Error: [Callstack] 0x00007ff647fe9d7a UnrealEditor.exe!__scrt_common_main_seh() [D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
LogOutputDevice: Error: [Callstack] 0x00007ffd05a4259d KERNEL32.DLL!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ffd06f4af38 ntdll.dll!UnknownFunction []
LogStats: SubmitErrorReport - 0.000 s
LogStats: SendNewReport - 3.972 s
LogStats: FDebug::EnsureFailed - 3.982 s
LogNetTraffic: Error: UChannel::ReceivedRawBunch: Bunch.IsError() after ReceivedNextBunch 1
LogNetTraffic: Error: Received corrupted packet data with SequenceId: 1017 from server 127.0.0.1
LogOutputDevice: Warning: Script Stack (0 frames) :
LogStats: FPlatformStackWalk::StackWalkAndDump - 0.002 s
LogOutputDevice: Error: === Handled ensure: ===
LogOutputDevice: Error: Ensure condition failed: false [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\NetConnection.cpp] [Line: 3662]
LogOutputDevice: Error: Received corrupted packet data with SequenceId: 1017 from server.
LogOutputDevice: Error: Stack:
LogOutputDevice: Error: [Callstack] 0x00007ffc3cccb783 UnrealEditor-Engine.dll!UNetConnection::DispatchPacket() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\NetConnection.cpp:3662]
LogOutputDevice: Error: [Callstack] 0x00007ffc3cd06891 UnrealEditor-Engine.dll!UNetConnection::ReceivedPacket() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\NetConnection.cpp:2999]
LogOutputDevice: Error: [Callstack] 0x00007ffc3cd07352 UnrealEditor-Engine.dll!UNetConnection::ReceivedRawPacket() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\NetConnection.cpp:1903]
LogOutputDevice: Error: [Callstack] 0x00007ffc21d1c814 UnrealEditor-OnlineSubsystemUtils.dll!UIpNetDriver::TickDispatch() [D:\build\++UE5\Sync\Engine\Plugins\Online\OnlineSubsystemUtils\Source\OnlineSubsystemUtils\Private\IpNetDriver.cpp:1301]
LogOutputDevice: Error: [Callstack] 0x00007ffc3cdaa729 UnrealEditor-Engine.dll!UNetDriver::InternalTickDispatch() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\NetDriver.cpp:1597]
LogOutputDevice: Error: [Callstack] 0x00007ffc3cd8cacc UnrealEditor-Engine.dll!TBaseUObjectMethodDelegateInstance<0,UNetDriver,void __cdecl(float),FDefaultDelegateUserPolicy>::ExecuteIfSafe() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:667]
LogOutputDevice: Error: [Callstack] 0x00007ffc3b6b67ca UnrealEditor-Engine.dll!TMulticastDelegate<void __cdecl(float),FDefaultDelegateUserPolicy>::Broadcast() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Public\Delegates\DelegateSignatureImpl.inl:956]
LogOutputDevice: Error: [Callstack] 0x00007ffc3c9e4be6 UnrealEditor-Engine.dll!UWorld::Tick() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\LevelTick.cpp:1355]
LogOutputDevice: Error: [Callstack] 0x00007ffc37ed58f8 UnrealEditor-UnrealEd.dll!UEditorEngine::Tick() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\EditorEngine.cpp:1924]
LogOutputDevice: Error: [Callstack] 0x00007ffc38b2ea06 UnrealEditor-UnrealEd.dll!UUnrealEdEngine::Tick() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\UnrealEdEngine.cpp:531]
LogOutputDevice: Error: [Callstack] 0x00007ff647fa8af2 UnrealEditor.exe!FEngineLoop::Tick() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:5825]
LogOutputDevice: Error: [Callstack] 0x00007ff647fcd28c UnrealEditor.exe!GuardedMain() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Launch.cpp:188]
LogOutputDevice: Error: [Callstack] 0x00007ff647fcd37a UnrealEditor.exe!GuardedMainWrapper() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:118]
LogOutputDevice: Error: [Callstack] 0x00007ff647fd0854 UnrealEditor.exe!LaunchWindowsStartup() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:258]
LogOutputDevice: Error: [Callstack] 0x00007ff647fe6984 UnrealEditor.exe!WinMain() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:298]
LogOutputDevice: Error: [Callstack] 0x00007ff647fe9d7a UnrealEditor.exe!__scrt_common_main_seh() [D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
LogOutputDevice: Error: [Callstack] 0x00007ffd05a4259d KERNEL32.DLL!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ffd06f4af38 ntdll.dll!UnknownFunction []
LogStats: SubmitErrorReport - 0.000 s
LogStats: SendNewReport - 2.994 s
LogStats: FDebug::EnsureFailed - 3.004 s
Based on the message above, I’ve done some investigation into what NetRefHandle (Id=19) is and it’s the AWorldSettings object, I determined this from Iris logs, the Network Insight tool and debug stepping.
I have no idea what to do with that information however, I’ve tried several things such as doing a world cleanup or directly applying the World Settings to no avail.
Does anyone know what could’ve caused this or have any directions I could take?