Developer Notes

Duplicate of UE-8519

Description

10 or more Static Meshes set to Simulate Physics and Replicates Movement will crash the editor with PIE set to 2 or more players. Less than 10 don't cause a crash.

The user reporting this got a more informative crash than I did, and I have asked for logs. Will attach when attained. The user gets this in his crash report:

Ensure condition failed: ConsiderList.Num() < ConsiderList.Max() [Link Removed] [Line: 2007]

Reproduced in 4.8 Preview 3 and Main (//depot/UE4/Promotable-CL-2554325)

The crash does not get reported to the Crash Reporter site, so this is the only information I have (plus the attached crash log):

Crash Reporter dialogue:
Access violation - code c0000005 (first/second chance not available)

""

UE4Editor_Engine!SortInternal<FActorPriority * __ptr64,TDereferenceWrapper<FActorPriority * __ptr64,`UNetDriver::ServerReplicateActors'::`331'::FCompareFActorPriority> >() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\core\public\templates\sorting.h:108]
UE4Editor_Engine!UNetDriver::ServerReplicateActors() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\engine\private\networkdriver.cpp:2331]
UE4Editor_Engine!UNetDriver::TickFlush() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\engine\private\networkdriver.cpp:163]
UE4Editor_Engine!TBaseUObjectMethodDelegateInstance<0,UNetDriver,void __cdecl(float)>::ExecuteIfSafe() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\core\public\delegates\delegateinstancesimpl_variadics.inl:772]
UE4Editor_Engine!TBaseMulticastDelegate<void,float>::Broadcast() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\core\public\delegates\delegatesignatureimpl_variadics.inl:1031]
UE4Editor_Engine!UWorld::Tick() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\engine\private\leveltick.cpp:1306]
UE4Editor_UnrealEd!UEditorEngine::Tick() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\editor\unrealed\private\editorengine.cpp:1339]
UE4Editor_UnrealEd!UUnrealEdEngine::Tick() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\editor\unrealed\private\unrealedengine.cpp:366]
UE4Editor!FEngineLoop::Tick() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\launch\private\launchengineloop.cpp:2355]
UE4Editor!GuardedMain() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\launch\private\launch.cpp:142]
UE4Editor!GuardedMainWrapper() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\launch\private\windows\launchwindows.cpp:126]
UE4Editor!WinMain() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\launch\private\windows\launchwindows.cpp:200]
Steps to Reproduce

1. Open any project
2. Drag a Cube from the Basic section in the Modes tab into the level (or any other static mesh)
3. In the Details panel, enable Simulate Physics
4. In the Details panel, enable Static Mesh Replicates Movement
5. Duplicate the static mesh 9 times (for a total of 10 in the level)
6. PIE with Number of Players set to 2

Result:
Crash

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

0
Login to Vote

Duplicate
ComponentUE - Networking
Affects Versions4.84.9
Target Fix4.11
CreatedMay 19, 2015
ResolvedFeb 22, 2016
UpdatedApr 27, 2018
View Jira Issue