Description

Adding an instance of an HISM on a dedicated server causes an assert.

Regression?: No
This occurred in 4.20

Steps to Reproduce
  1. Download the attached project
  2. Compile the project for your Source Editor version
  3. Open UnrealFrontend for that Source Editor version
  4. Select the downloaded project
  5. Select "Advanced" at the top right to show additional options
  6. Run the Windows launch with the WindowsServer variant and with By The Book cooking
  7. After completion, navigate to the project's Saved/StagedBuilds/WindowsServer folder and launch the DedicatedHismServer.exe with the -log commandline argument
    Result: The dedicated server instance throws an assert and crashes
    Expected: The dedicated server successfully adds the HISM instance and does not crash
Callstack
[2018.11.14-17.05.25:773][ 61]LogWindows: Error: === Critical error: ===
[2018.11.14-17.05.25:774][ 61]LogWindows: Error: 
[2018.11.14-17.05.25:775][ 61]LogWindows: Error: Assertion failed: InstanceIndex == InstanceReorderTable.Num() [File:D:\matthew.clark_Main_Stream\Engine\Source\Runtime\Engine\Private\HierarchicalInstancedStaticMesh.cpp] [Line: 2203] 
[2018.11.14-17.05.25:775][ 61]LogWindows: Error: 
[2018.11.14-17.05.25:776][ 61]LogWindows: Error: 
[2018.11.14-17.05.25:777][ 61]LogWindows: Error: 
[2018.11.14-17.05.25:777][ 61]LogWindows: Error: [Callstack] 0x000007fefd3abded KERNELBASE.dll!UnknownFunction []
[2018.11.14-17.05.25:778][ 61]LogWindows: Error: [Callstack] 0x0000000140845f56 DedicatedHismBugServer.exe!FWindowsErrorOutputDevice::Serialize() [d:\matthew.clark_main_stream\engine\source\runtime\core\private\windows\windowserroroutputdevice.cpp:63]
[2018.11.14-17.05.25:779][ 61]LogWindows: Error: [Callstack] 0x0000000140642977 DedicatedHismBugServer.exe!FOutputDevice::LogfImpl() [d:\matthew.clark_main_stream\engine\source\runtime\core\private\misc\outputdevice.cpp:71]
[2018.11.14-17.05.25:779][ 61]LogWindows: Error: [Callstack] 0x0000000140580409 DedicatedHismBugServer.exe!FDebug::AssertFailed() [d:\matthew.clark_main_stream\engine\source\runtime\core\private\misc\assertionmacros.cpp:417]
[2018.11.14-17.05.25:780][ 61]LogWindows: Error: [Callstack] 0x00000001427a54ed DedicatedHismBugServer.exe!UHierarchicalInstancedStaticMeshComponent::AddInstance() [d:\matthew.clark_main_stream\engine\source\runtime\engine\private\hierarchicalinstancedstaticmesh.cpp:2205]
[2018.11.14-17.05.25:781][ 61]LogWindows: Error: [Callstack] 0x000000014281c890 DedicatedHismBugServer.exe!UInstancedStaticMeshComponent::AddInstanceWorldSpace() [d:\matthew.clark_main_stream\engine\source\runtime\engine\private\instancedstaticmesh.cpp:1801]
[2018.11.14-17.05.25:781][ 61]LogWindows: Error: [Callstack] 0x000000013ff0c4d1 DedicatedHismBugServer.exe!ABP_HismTest_C__pf1010915279::bpf__ExecuteUbergraph_BP_HismTest__pf_0() [d:\a - user stuff\dedicatedhismbugmain\intermediate\plugins\nativizedassets\windows\server\source\nativizedassets\private\bp_hismtest__pf1010915279.cpp:473]
[2018.11.14-17.05.25:782][ 61]LogWindows: Error: [Callstack] 0x000000013ff15f0e DedicatedHismBugServer.exe!ABP_HismTest_C__pf1010915279::execbpf__ExecuteUbergraph_BP_HismTest__pf_0() [d:\a - user stuff\dedicatedhismbugmain\intermediate\plugins\nativizedassets\windows\server\source\nativizedassets\public\bp_hismtest__pf1010915279.h:10]
[2018.11.14-17.05.25:783][ 61]LogWindows: Error: [Callstack] 0x00000001409561f2 DedicatedHismBugServer.exe!UFunction::Invoke() [d:\matthew.clark_main_stream\engine\source\runtime\coreuobject\private\uobject\class.cpp:4862]
[2018.11.14-17.05.25:784][ 61]LogWindows: Error: [Callstack] 0x0000000140b4e461 DedicatedHismBugServer.exe!UObject::ProcessEvent() [d:\matthew.clark_main_stream\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:1480]
[2018.11.14-17.05.25:785][ 61]LogWindows: Error: [Callstack] 0x0000000142275e3b DedicatedHismBugServer.exe!AActor::ProcessEvent() [d:\matthew.clark_main_stream\engine\source\runtime\engine\private\actor.cpp:719]
[2018.11.14-17.05.25:786][ 61]LogWindows: Error: [Callstack] 0x00000001428e2074 DedicatedHismBugServer.exe!FLatentActionManager::TickLatentActionForObject() [d:\matthew.clark_main_stream\engine\source\runtime\engine\private\latentactionmanager.cpp:200]
[2018.11.14-17.05.25:787][ 61]LogWindows: Error: [Callstack] 0x00000001428ce096 DedicatedHismBugServer.exe!FLatentActionManager::ProcessLatentActions() [d:\matthew.clark_main_stream\engine\source\runtime\engine\private\latentactionmanager.cpp:137]
[2018.11.14-17.05.25:787][ 61]LogWindows: Error: [Callstack] 0x0000000142926cb2 DedicatedHismBugServer.exe!UWorld::Tick() [d:\matthew.clark_main_stream\engine\source\runtime\engine\private\leveltick.cpp:1513]
[2018.11.14-17.05.25:788][ 61]LogWindows: Error: [Callstack] 0x00000001427882f0 DedicatedHismBugServer.exe!UGameEngine::Tick() [d:\matthew.clark_main_stream\engine\source\runtime\engine\private\gameengine.cpp:1364]
[2018.11.14-17.05.25:789][ 61]LogWindows: Error: [Callstack] 0x000000013feeb4ae DedicatedHismBugServer.exe!FEngineLoop::Tick() [d:\matthew.clark_main_stream\engine\source\runtime\launch\private\launchengineloop.cpp:3699]
[2018.11.14-17.05.25:790][ 61]LogWindows: Error: [Callstack] 0x000000013fef8850 DedicatedHismBugServer.exe!GuardedMain() [d:\matthew.clark_main_stream\engine\source\runtime\launch\private\launch.cpp:174]
[2018.11.14-17.05.25:790][ 61]LogWindows: Error: [Callstack] 0x000000013fef88da DedicatedHismBugServer.exe!GuardedMainWrapper() [d:\matthew.clark_main_stream\engine\source\runtime\launch\private\windows\launchwindows.cpp:145]
[2018.11.14-17.05.25:791][ 61]LogWindows: Error: [Callstack] 0x000000013ff050c1 DedicatedHismBugServer.exe!WinMain() [d:\matthew.clark_main_stream\engine\source\runtime\launch\private\windows\launchwindows.cpp:276]
[2018.11.14-17.05.25:792][ 61]LogWindows: Error: [Callstack] 0x00000001441d03be DedicatedHismBugServer.exe!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:283]
[2018.11.14-17.05.25:793][ 61]LogWindows: Error: [Callstack] 0x00000000772a59cd kernel32.dll!UnknownFunction []
[2018.11.14-17.05.25:794][ 61]LogWindows: Error: [Callstack] 0x000000007750385d ntdll.dll!UnknownFunction []
[2018.11.14-17.05.25:794][ 61]LogWindows: Error: 

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-66500 in the post.

2
Login to Vote

Fixed
ComponentTools
Affects Versions4.204.21
Target Fix4.22
Fix Commit4570369
Main Commit4676940
Release Commit4862694
CreatedNov 14, 2018
ResolvedNov 15, 2018
UpdatedFeb 12, 2019
View Jira Issue