4.12 - dedicated server - Array index out of bounds: 1 from an array of size 0

hi, i recently updated my game to 4.12

i successfully was able to build and run my android client, my windows 64 bit client - however my dedicated server was able to build - but when i run it, it fails

[2016.07.08-16.06.42:927][ 60]LogWindows: Windows GetLastError: The operation completed successfully. (0)
[2016.07.08-16.06.43:019][ 60]LogWindows:Warning: CreateProc failed (2) …\Engine\Binaries/Win64/CrashReportClient.exe -Unattended -nullrhi -AppName=UE4-ZOMBIETOWNAHHH -CrashGUID=UE4CC-Windows-6983F472438113A62D8073900940D78D_0000 -DebugSymbols=…\Engine\Intermediate\Symbols
[2016.07.08-16.06.43:019][ 60]LogWindows:Error: === Critical error: ===
Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:D:\4_12_5\Engine\Source\Runtime\Core\Public\Containers\Array.h] [Line: 804]
Array index out of bounds: 1 from an array of size 0

I think this must be a bug, as this code works fine in 2/3 of my other executables

i think this is related to the foliage system - i deleted all of my foliage and my server was able to start correctly. this is odd seeing as my windows and android clients can start with foliage but my dedicated server cannot.

Hello ,

I have a few questions for you that will help narrow down what issue it is that you are experiencing.

Quick questions:

  1. Could you provide your complete callstack?
  2. Can you reproduce this issue in a clean project?
  3. If so, could you provide a detailed list of steps to reproduce this issue on our end?
  4. Could you provide any code and/or screen shots of any blueprints that may be involved?

if I get time I will attempt to make a isolation sample in the next few days

what I’m doing is swapping out the foliage with actors at begin play, a technique I found off youtube - but isn’t ideal for my multiplayer environment so I was going to phase out this technique anyway.

this technique had 0 issues in 4.8-4.11, and its only the dedicated server that’s failing to start correctly - my single player windows and android client start up no problem.

Hello ,

I wanted to follow up and see if you were able to recreate this issue in a clean project.

Hello ,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will follow up.

Thanks

Hi!
4.14
Crash dedicated server, standalone.
[link text][1]

[2016.12.14-13.02.38:593][672]LogLinux:Error: appError called: Assertion failed: Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:Runtime/Core/Public\Containers/Array.h] [Line: 634]
Array index out of bounds: 3530 from an array of size 0

[2016.12.14-13.02.39:729][672]LogLinux: === Critical error: ===
Unhandled Exception: SIGSEGV: invalid attempt to write memory at address 0x0000000000000003

[2016.12.14-13.02.39:729][672]LogLinux: Assertion failed: Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:Runtime/Core/Public\Containers/Array.h] [Line: 634]
Array index out of bounds: 3530 from an array of size 0