# \[UE5.7 / DX12\] Crash in packaged game when entering a specific region – Array Index Out of Bounds (DX12 only, DX11 works fine)

**URL:** <https://forums.unrealengine.com/t/ue5-7-dx12-crash-in-packaged-game-when-entering-a-specific-region-array-index-out-of-bounds-dx12-only-dx11-works-fine/2725887>\
**Category:** Blueprint\
**Tags:** unreal-engine, bug-report\
**Created:** [June 2, 2026, 3:48pm UTC](https://forums.unrealengine.com/t/ue5-7-dx12-crash-in-packaged-game-when-entering-a-specific-region-array-index-out-of-bounds-dx12-only-dx11-works-fine/2725887 "2026-06-02T15:48:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Himiko\_bln](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/himiko_bln/32/1018415_2.png) [@Himiko\_bln](https://forums.unrealengine.com/u/Himiko_bln)\
**Post date:** [June 2, 2026, 3:48pm UTC](https://forums.unrealengine.com/t/ue5-7-dx12-crash-in-packaged-game-when-entering-a-specific-region-array-index-out-of-bounds-dx12-only-dx11-works-fine/2725887/1 "2026-06-02T15:48:37Z")

</div>

Hello everyone,

since updating my project from **UE5.3 to**

**UE5.7** , I’m experiencing a reproducible crash in the **packaged build using DirectX12**.  
When packaging with **DirectX11** , the issue does **not** occur — everything runs normally.

As soon as I enter a specific region in the game, the build crashes with the following error:

 ![2026-06-02 17_29_23-Refuge_Zone_UE5_7 (64-bit Development PCD3D_SM6)](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/9/d/e9d00e359be450a5ca175e77f3f7b2220750f3b1.png)

Code

```auto
Assertion failed: (Index >= 0) & (Index < ArrayNum)
File: Engine\Source\Runtime\Core\Public\Containers\Array.h
Line: 1095
Array index out of bounds: 1 into an array of size 1

```

The region only contains simple **Blueprint objects** , such as:

- **Door Blueprints**

- **Road markings**

- **Construction scripts**

- **A barrier gate**

All of these Blueprints also exist in other areas of the map and work **without any issues** there.  
The crash happens **only in this one region** and **only under DX12**.

## **What I have checked so far**

- Inspected all related Blueprints for **array access** → no dynamic arrays, no ForEach loops, no index operations.

- Tested the same doors/barrier in other locations → works fine.

- Rebuilt the entire region → crash persists.

- Rebuilt lighting → no change.

- Packaged with **DX11** → **no crash**.

- Packaged with **DX12** → crash is **100% reproducible**.

## **My suspicion**

Since the issue only started after updating to UE5.7 and only occurs under DX12, I suspect:

- **an engine regression in 5.7** , possibly related to Blueprint Construction Scripts or Instanced Static Meshes

- or an **internal array access in an engine subsystem** triggered only under DX12 (Nanite, Lumen, HLOD, streaming, navigation, etc.)

## **Question to Epic / the community**

Has anyone experienced similar issues since updating to **UE5.7 + DX12**?

Are there any known problems where **DX12 triggers array out‑of‑bounds errors** in packaged builds, even when the Blueprints themselves do not use arrays?

I can provide:

- an isolated test region

- logs / crash dumps

- a stripped‑down test project

Thanks in advance for any help!  
Himiko

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [June 2, 2026, 4:27pm UTC](https://forums.unrealengine.com/t/ue5-7-dx12-crash-in-packaged-game-when-entering-a-specific-region-array-index-out-of-bounds-dx12-only-dx11-works-fine/2725887/2 "2026-06-02T16:27:29Z")

</div>

I’ll take a look at the stripped down project ( or map ), can you provide a link? 🙂

---

<div class="post-metadata">

**Author:** ![Himiko\_bln](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/himiko_bln/32/1018415_2.png) [@Himiko\_bln](https://forums.unrealengine.com/u/Himiko_bln)\
**Post date:** [June 2, 2026, 4:30pm UTC](https://forums.unrealengine.com/t/ue5-7-dx12-crash-in-packaged-game-when-entering-a-specific-region-array-index-out-of-bounds-dx12-only-dx11-works-fine/2725887/3 "2026-06-02T16:30:09Z")

</div>

I can provide the log files and crash context. Since the game is not released yet, I cannot share the full project, but the logs should help to identify the issue.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [June 2, 2026, 5:41pm UTC](https://forums.unrealengine.com/t/ue5-7-dx12-crash-in-packaged-game-when-entering-a-specific-region-array-index-out-of-bounds-dx12-only-dx11-works-fine/2725887/4 "2026-06-02T17:41:59Z")

</div>

I’m not that good at it. But if you can just make a small project and put a minimal level in that, that demonstrates this behavior, I’ll take a look. ( In fact, you might figure it out by doing this actually… ).

---

<div class="post-metadata">

**Author:** ![Himiko\_bln](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/himiko_bln/32/1018415_2.png) [@Himiko\_bln](https://forums.unrealengine.com/u/Himiko_bln)\
**Post date:** [June 5, 2026, 7:18am UTC](https://forums.unrealengine.com/t/ue5-7-dx12-crash-in-packaged-game-when-entering-a-specific-region-array-index-out-of-bounds-dx12-only-dx11-works-fine/2725887/5 "2026-06-05T07:18:01Z")

</div>

THX [ClockworkOcean](https://dev.epicgames.com/community/api/user_profiles/tab-redirect/about?discourse_username=ClockworkOcean), I’ll proceed this way for now.

As a next step, I will also test the project with **Nanite disabled**.  
My goal is to temporarily match the rendering setup I originally used in **UE5.3** , to see whether the crash under DX12 is related to the updated Nanite pipeline in UE5.7.

I haven’t run this test yet, but it is planned as part of the ongoing investigation.
