Description

If ten or more of the same actor in a level have the "replicate movement" checkbox set to true, the editor will crash on PIE if the number of players is set to 2 (or with 1/2/3 players if dedicated server is checked). Error does not occur with 3 or 4 players (or with a dedicated server with 4 players)

Crash Reporter:
[Link Removed]

Steps to Reproduce

1. Open UE4 Editor with starter content
2. In the content browser, drag in 10 instances of the SM_chair
3. Select an instance of the chair in the scene outliner and type "rep" in the detail panel search bar
4. Check the "replicate movement" option
5. Select each of the other instance of the chair in the scene outliner and set them to replicate movement as well
6. Click the drop down arrow next to Play and set number of players to 2
7. Click Play to play in editor

Callstack
Ensure condition failed: ConsiderList.Num() < ConsiderList.Max() [File:D:\BuildFarm\buildmachine_++depot+UE4\Engine\Source\Runtime\Engine\Private\NetworkDriver.cpp] [Line: 2052] 



Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000

UE4Editor-Engine.dll!SortInternal<FActorPriority * __ptr64,TDereferenceWrapper<FActorPriority * __ptr64,`UNetDriver::ServerReplicateActors'::`271'::FCompareFActorPriority> >() (0x000007fede55767f) + 15 bytes [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\core\public\templates\sorting.h:108]
UE4Editor-Engine.dll!UNetDriver::ServerReplicateActors() (0x000007fede5ca2cc) + 27 bytes [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\engine\private\networkdriver.cpp:2382]
UE4Editor-Engine.dll!UNetDriver::TickFlush() (0x000007fede5d1b95) + 15 bytes [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\engine\private\networkdriver.cpp:162]
UE4Editor-Engine.dll!TBaseUObjectMethodDelegateInstance<0,UNetDriver,void __cdecl(float)>::ExecuteIfSafe() (0x000007fede58c0f6) + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\core\public\delegates\delegateinstancesimpl_variadics.inl:772]
UE4Editor-Engine.dll!TBaseMulticastDelegate<void,float>::Broadcast() (0x000007fede0693c4) + 14 bytes [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\core\public\delegates\delegatesignatureimpl_variadics.inl:1030]
UE4Editor-Engine.dll!UWorld::Tick() (0x000007fede54904a) + 15 bytes [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\engine\private\leveltick.cpp:1239]
UE4Editor-UnrealEd.dll!UEditorEngine::Tick() (0x000007fedccc9da9) + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4\engine\source\editor\unrealed\private\editor.cpp:1334]
UE4Editor-UnrealEd.dll!UUnrealEdEngine::Tick() (0x000007fedd1c2886) + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4\engine\source\editor\unrealed\private\unrealedengine.cpp:306]
UE4Editor.exe!FEngineLoop::Tick() (0x000000013f3f0d04) + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\launch\private\launchengineloop.cpp:2263]
UE4Editor.exe!GuardedMain() (0x000000013f3e3f50) + 0 bytes [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\launch\private\launch.cpp:142]
UE4Editor.exe!GuardedMainWrapper() (0x000000013f3e3fca) + 5 bytes [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\launch\private\windows\launchwindows.cpp:126]
UE4Editor.exe!WinMain() (0x000000013f3f2bb9) + 17 bytes [d:\buildfarm\buildmachine_++depot+ue4\engine\source\runtime\launch\private\windows\launchwindows.cpp:202]
UE4Editor.exe!__tmainCRTStartup() (0x000000013f3f3b89) + 21 bytes [f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c:618]
kernel32.dll!UnknownFunction (0x00000000776759ed) + 0 bytes [UnknownFile:0]
ntdll.dll!UnknownFunction (0x00000000777ac541) + 0 bytes [UnknownFile:0]
ntdll.dll!UnknownFunction (0x00000000777ac541) + 0 bytes [UnknownFile:0]

Have Comments or More Details?

Head over to the existingAnswerHub thread and let us know what's up.

0
Login to Vote

Fixed
ComponentNetworking
Affects Versions4.6.14.74.8
Target Fix4.11
Fix Commit2878073
Main Commit2905127
Release Commit2878073
CreatedJan 28, 2015
ResolvedFeb 23, 2016
UpdatedApr 27, 2018