Hi everyone, I’ve been struggling with an issue since migrating my project to a new PC build. I am using 4.26 and have never seen this error prior to the migration. After some research I have an idea of what it could be but I am not sure how to troubleshoot at this point.
The Crash Reporter reads
“Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:d:\rocketsync\4.26.0-14830424+++ue4+release-4.26\working\engine\source\runtime\core\public\Containers/Array.h] [Line: 674] Array index out of bounds: 0 from an array of size -79174112”
Thank you @3dRaven I’ll give this another shot.
I have rebuilt from just the project folders a few times now on the new PC config/content/plugins/scripts/source.
No dice unfortunately,
Here’s the other error that I am seeing as well.
[2023.04.01-21.16.33:619][ 2]LogRenderer: Reallocating scene render targets to support 1024x1024 Format 10 NumSamples 1 (Frame:3).
[2023.04.01-21.16.33:619][ 2]LogOutputDevice: Warning:
I’ve had the same error in 4.26 (and only 4.26) - if you just continue, everything may work ok - but you may have to have a look in your level for a ISM or HISM trying to handle instances in a constructor somewhere…
So I thought for sure I had found the issue, a patch of landscape foliage trees that were quite far out of bounds. I was able to locate the patch by using the console command to show the HISM Bounds. Edit to add the show command: ShowFlag.HISMCOcclusionBounds 1
This showed a few boxes extending to an area that should not have had any bounds, and there I found a group of about 100 trees.
I removed the trees and rechecked the bounds to see that everything was within the level bounds as it should be. I deleted the temp data within my engine and project but I still received the error in a Dev Build.
One clue seems to be the Y coordinate in the log “Y=-806400.000” this number is significant because it is the specific Y coordinate along which a line of streaming landscapes are placed.
I did a shipping build next and the error was no longer present and the crash no longer occurred. I am assuming some kind of temp built data was/is still present in the dev build but not in the by the book shipping build.
Anyhow, this was my resolution. Thank you all again for your assist.