HISM error crashes compiled game after migration to a new PC

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”

The Call Stack reads
“LogOutputDevice: Error: Ensure condition failed: BuiltInstanceBounds.IsValid || ClusterTreePtr->Num() == 0 [File:D:/Build/++UE4/Sync/Engine/Source/Runtime/Engine/Private/HierarchicalInstancedStaticMesh.cpp] [Line: 1898]”

How can I identify what object is triggering the issue?

Thank you in advance.

If your pc configuration changed, then stale cache could be causing a conflict with your new configuration. Try deleting the project temporary folders

  • Binaries
  • DerivedDataCache
  • Intermediate
  • Saved

and try regenerating your project.

2 Likes

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:

Script Stack (0 frames):

[2023.04.01-21.16.33:628][ 2]LogStats: FPlatformStackWalk::StackWalkAndDump - 0.009 s
[2023.04.01-21.16.33:629][ 2]LogOutputDevice: Error: === Handled ensure: ===
[2023.04.01-21.16.33:629][ 2]LogOutputDevice: Error:
[2023.04.01-21.16.33:629][ 2]LogOutputDevice: Error: Ensure condition failed: !Primitive->Bounds.BoxExtent.ContainsNaN() && !Primitive->Bounds.Origin.ContainsNaN() && !FMath::IsNaN(Primitive->Bounds.SphereRadius) && FMath::IsFinite(Primitive->Bounds.SphereRadius) [File:D:/Build/++UE4/Sync/Engine/Source/Runtime/Renderer/Private/RendererScene.cpp] [Line: 1277]
[2023.04.01-21.16.33:629][ 2]LogOutputDevice: Error: Nans found on Bounds for Primitive HierarchicalInstancedStaticMeshComponent_2147480606: Origin X=-973084005820312450464731495399424.000 Y=-806400.000 Z=0.000, BoxExtent X=973084005820312450464731495399424.000 Y=0.000 Z=0.000, SphereRadius inf
[2023.04.01-21.16.33:629][ 2]LogOutputDevice: Error: Stack:

Hi imfgdude2,

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…

1 Like

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.

1 Like