# Assertion failed: (Index \>= 0) & (Index \< ArrayNum)

**URL:** <https://forums.unrealengine.com/t/assertion-failed-index-0-index-arraynum/1183615>\
**Category:** Debugging, Optimization, & Profiling\
**Tags:** unreal-engine, crash\
**Created:** [May 30, 2023, 5:11pm UTC](https://forums.unrealengine.com/t/assertion-failed-index-0-index-arraynum/1183615 "2023-05-30T17:11:05Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![PRiNZESSiN223](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PRiNZESSiN223](https://forums.unrealengine.com/u/PRiNZESSiN223)\
**Post date:** [May 30, 2023, 5:11pm UTC](https://forums.unrealengine.com/t/assertion-failed-index-0-index-arraynum/1183615/1 "2023-05-30T17:11:06Z")

</div>

Hey,  
i have a litle problem. My created game function perfect in the Editor. And very good after the build. But on other PCs, its crashing when the play enters a triggerbox an open a level by name.

this is the Error:  
Assertion failed: (Index \>= 0) & (Index \< ArrayNum)  
[File:D:\build++UE5\Sync\Engine\Source\Runtime\Core\Public\Containers\Array.h] [Line: 763]  
Array index out of bounds: 0 from an array of size 0

---

<div class="post-metadata">

**Author:** ![zgzg2020](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@zgzg2020](https://forums.unrealengine.com/u/zgzg2020)\
**Post date:** [May 31, 2023, 8:08am UTC](https://forums.unrealengine.com/t/assertion-failed-index-0-index-arraynum/1183615/2 "2023-05-31T08:08:07Z")

</div>

I have an identical problem but was caused when I removed material entries from GeometryCollection, I think :s  
Did you find a solution?

---

<div class="post-metadata">

**Author:** ![Paranoid\_Andy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Paranoid\_Andy](https://forums.unrealengine.com/u/Paranoid_Andy)\
**Post date:** [June 10, 2023, 8:56am UTC](https://forums.unrealengine.com/t/assertion-failed-index-0-index-arraynum/1183615/3 "2023-06-10T08:56:38Z")

</div>

Similar for me too.

Assertion failed: (Index \>= 0) & (Index \< ArrayNum) [File:D:\build++UE5\Sync\Engine\Source\Runtime\Core\Public\Containers\Array.h] [Line: 752] Array index out of bounds: 342 from an array of size 342

---

<div class="post-metadata">

**Author:** ![Cyrus\_Lam](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Cyrus\_Lam](https://forums.unrealengine.com/u/Cyrus_Lam)\
**Post date:** [August 6, 2023, 2:53am UTC](https://forums.unrealengine.com/t/assertion-failed-index-0-index-arraynum/1183615/4 "2023-08-06T02:53:28Z")

</div>

I have the same issue here:

Assertion failed: Index\>=0 && Index\<NumBits [File:D:\build++UE5\Sync\Engine\Source\Runtime\Core\Public\Containers\BitArray.h] [Line: 1265]

UnrealEditor\_Core!FOutputDeviceRedirector::Flush() [D:\build++UE5\Sync\Engine\Source\Runtime\Core\Private\Misc\OutputDeviceRedirector.cpp:753]  
UnrealEditor\_Core!FOutputDeviceRedirector::Panic() [D:\build++UE5\Sync\Engine\Source\Runtime\Core\Private\Misc\OutputDeviceRedirector.cpp:787]  
UnrealEditor\_Core!ReportCrash() [D:\build++UE5\Sync\Engine\Source\Runtime\Core\Private\Windows\WindowsPlatformCrashContext.cpp:1566]  
UnrealEditor\_RenderCore!`FRenderingThread::Run'::`1’::filt$0() [D:\build++UE5\Sync\Engine\Source\Runtime\RenderCore\Private\RenderingThread.cpp:544]  
VCRUNTIME140  
ntdll  
ntdll  
ntdll  
UnrealEditor\_Paper2D!FSpriteTextureOverrideRenderProxy::GetMaterialNoFallback() [D:\build++UE5\Sync\Engine\Plugins\2D\Paper2D\Source\Paper2D\Private\PaperRenderSceneProxy.cpp:104]  
UnrealEditor\_Engine!FMaterialRenderProxy::UpdateDeferredCachedUniformExpressions() [D:\build++UE5\Sync\Engine\Source\Runtime\Engine\Private\Materials\MaterialRenderProxy.cpp:673]  
UnrealEditor\_Renderer!FScene::UpdateAllPrimitiveSceneInfos() [D:\build++UE5\Sync\Engine\Source\Runtime\Renderer\Private\RendererScene.cpp:5265]  
UnrealEditor\_Engine!FSceneInterface::UpdateAllPrimitiveSceneInfos() [D:\build++UE5\Sync\Engine\Source\Runtime\Engine\Private\SceneInterface.cpp:22]  
UnrealEditor\_Renderer!TEnqueueUniqueRenderCommandType\<`FScene::Release'::`2’::FReleaseCommandName,\<lambda\_50862d4aa5f35860009f8d1c20e008d7\> \>::DoTask() [D:\build++UE5\Sync\Engine\Source\Runtime\RenderCore\Public\RenderingThread.h:209]  
UnrealEditor\_Renderer!TGraphTask\<TEnqueueUniqueRenderCommandType\<`FScene::Release'::`2’::FReleaseCommandName,\<lambda\_50862d4aa5f35860009f8d1c20e008d7\> \> \>::ExecuteTask() [D:\build++UE5\Sync\Engine\Source\Runtime\Core\Public\Async\TaskGraphInterfaces.h:1310]  
UnrealEditor\_Core!FNamedTaskThread::ProcessTasksNamedThread() [D:\build++UE5\Sync\Engine\Source\Runtime\Core\Private\Async\TaskGraph.cpp:758]  
UnrealEditor\_Core!FNamedTaskThread::ProcessTasksUntilQuit() [D:\build++UE5\Sync\Engine\Source\Runtime\Core\Private\Async\TaskGraph.cpp:649]  
UnrealEditor\_RenderCore!RenderingThreadMain() [D:\build++UE5\Sync\Engine\Source\Runtime\RenderCore\Private\RenderingThread.cpp:416]  
UnrealEditor\_RenderCore!FRenderingThread::Run() [D:\build++UE5\Sync\Engine\Source\Runtime\RenderCore\Private\RenderingThread.cpp:542]  
UnrealEditor\_Core!FRunnableThreadWin::Run() [D:\build++UE5\Sync\Engine\Source\Runtime\Core\Private\Windows\WindowsRunnableThread.cpp:149]

---

<div class="post-metadata">

**Author:** ![JJEEGames](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jjeegames/32/1067575_2.png) [@JJEEGames](https://forums.unrealengine.com/u/JJEEGames)\
**Post date:** [October 9, 2023, 10:37am UTC](https://forums.unrealengine.com/t/assertion-failed-index-0-index-arraynum/1183615/5 "2023-10-09T10:37:28Z")

</div>

i have the same issue too. it appears when i try to set a parameter of a material using blueprints(using a tick function ) and end the PIE session. it does not occur 100% but eventually will crash the editor.  
any ideas of how to fix ?

---

<div class="post-metadata">

**Author:** ![rrebati21yala](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rrebati21yala](https://forums.unrealengine.com/u/rrebati21yala)\
**Post date:** [December 19, 2023, 2:01pm UTC](https://forums.unrealengine.com/t/assertion-failed-index-0-index-arraynum/1183615/6 "2023-12-19T14:01:21Z")

</div>

Assertion failed: SerializeNum \>= 0 [File:D:\build++UE5\Sync\Engine\Source\Runtime\Core\Public\Containers\Array.h] [Line: 3543]

UnrealEditor\_CoreUObject  
UnrealEditor\_CoreUObject  
UnrealEditor\_CoreUObject  
UnrealEditor\_CoreUObject  
UnrealEditor\_CoreUObject  
UnrealEditor\_CoreUObject  
UnrealEditor\_CoreUObject  
UnrealEditor\_CoreUObject  
UnrealEditor\_CoreUObject  
UnrealEditor\_CoreUObject  
UnrealEditor\_CoreUObject  
UnrealEditor\_CoreUObject  
UnrealEditor\_CoreUObject  
UnrealEditor\_CoreUObject  
UnrealEditor\_CoreUObject  
UnrealEditor\_CoreUObject  
UnrealEditor\_CoreUObject  
UnrealEditor\_CoreUObject  
UnrealEditor\_CoreUObject  
UnrealEditor\_CoreUObject  
UnrealEditor\_CoreUObject  
UnrealEditor\_CoreUObject  
UnrealEditor\_CoreUObject  
UnrealEditor\_CoreUObject  
UnrealEditor\_CoreUObject  
UnrealEditor\_CoreUObject  
UnrealEditor\_CoreUObject  
UnrealEditor\_UnrealEd  
UnrealEditor\_UnrealEd  
UnrealEditor\_UnrealEd  
UnrealEditor\_Core  
UnrealEditor\_Engine  
UnrealEditor\_UnrealEd  
UnrealEditor\_UnrealEd  
UnrealEditor\_UnrealEd  
UnrealEditor\_UnrealEd  
UnrealEditor\_UnrealEd  
UnrealEditor  
UnrealEditor  
UnrealEditor  
UnrealEditor  
UnrealEditor  
kernel32  
ntdll

me too this problem is comman but no solution

---

<div class="post-metadata">

**Author:** ![Anonymous\_b776def29668db7972a7f66758ec79f9](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/anonymous_b776def29668db7972a7f66758ec79f9/32/583123_2.png) [@Anonymous\_b776def29668db7972a7f66758ec79f9](https://forums.unrealengine.com/u/Anonymous_b776def29668db7972a7f66758ec79f9)\
**Post date:** [April 23, 2024, 7:12am UTC](https://forums.unrealengine.com/t/assertion-failed-index-0-index-arraynum/1183615/7 "2024-04-23T07:12:42Z")

</div>

LogWindows: Error: appError called: Assertion failed: Index\>=0 && Index\<NumBits [File:F:\UE\UnrealEngine-5.1.1-release\Engine\Source\Runtime\Core\Public\Containers\BitArray.h] [Line: 1269]

---

<div class="post-metadata">

**Author:** ![bwylde01](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@bwylde01](https://forums.unrealengine.com/u/bwylde01)\
**Post date:** [January 6, 2025, 10:51am UTC](https://forums.unrealengine.com/t/assertion-failed-index-0-index-arraynum/1183615/8 "2025-01-06T10:51:58Z")

</div>

Me too.

Assertion failed: Index\>=0 && Index\<NumBits [File:D:\build++UE5\Sync\Engine\Source\Runtime\Core\Public\Containers\BitArray.h] [Line: 1412]

UnrealEditor\_Engine  
UnrealEditor\_ChaosVehicles  
UnrealEditor\_AnimGraphRuntime
