# Standalone/Build Crashing with - Array Out of Bounds Error

**URL:** <https://forums.unrealengine.com/t/standalone-build-crashing-with-array-out-of-bounds-error/1863331>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, question, Blueprint\
**Created:** [May 19, 2024, 2:21pm UTC](https://forums.unrealengine.com/t/standalone-build-crashing-with-array-out-of-bounds-error/1863331 "2024-05-19T14:21:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Paradoxical95](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/paradoxical95/32/888519_2.png) [@Paradoxical95](https://forums.unrealengine.com/u/Paradoxical95)\
**Post date:** [May 19, 2024, 2:21pm UTC](https://forums.unrealengine.com/t/standalone-build-crashing-with-array-out-of-bounds-error/1863331/1 "2024-05-19T14:21:01Z")

</div>

> `Fatal error: [File:D:\build\++UE5\Sync\Engine\Source\Runtime\RenderCore\Private\RenderingThread.cpp] [Line: 949]`  
> `Rendering thread exception:`  
> `Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Public\Containers\Array.h] [Line: 771]`  
> `Array index out of bounds: -1 from an array of size 4`

This is the error I’m facing. Thrown by both Standalone mode and Build Packaged Game.  
The only BP I created since last week (since last time building my game/running as standalone) is for Prop Cars that have Arrays of Static Mesh (coincidentally 4 members, 0 to 3) and a LinearColor Array that picks a random color and applies to the Color Vector Parameter of their Material.  
The issue still persisted even after disconnecting the BP Beginplay from executing any code.

Now I have removed the ref to any array variable and simply using Select nodes yet it’s still crashing. I tried running my test map without the newly made BP Assets and it’s still crashing with the exact same error in standalone mode.
