x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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

Product Version: UE 4.12
Tags:
more ▼

asked Jul 08 '16 at 04:38 PM in Bug Reports

avatar image

BPANDREW
995 22 26 125

avatar image BPANDREW Jul 08 '16 at 06:43 PM

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.

avatar image Rudy Q ♦♦ STAFF Jul 11 '16 at 05:50 PM

Hello BPANDREW,

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?

avatar image BPANDREW Jul 11 '16 at 06:53 PM

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.

avatar image Rudy Q ♦♦ STAFF Jul 14 '16 at 07:44 PM

Hello BPANDREW,

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

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

Hello BPANDREW,

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

more ▼

answered Jul 18 '16 at 08:48 PM

avatar image

Rudy Q ♦♦ STAFF
47.5k 545 132 522

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Hi! 4.14 Crash dedicated server, standalone. link text alt text [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

more ▼

answered Dec 14 '16 at 07:36 PM

avatar image

ReduxRus
13 1 3 5

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question