# Assertion failed: TextureDesc.Extent.X \<= (int32)GetMax2DTextureDimension() 

**URL:** <https://forums.unrealengine.com/t/assertion-failed-texturedesc-extent-x-int32-getmax2dtexturedimension/752484>\
**Category:** Cinematics & Media\
**Tags:** unreal-engine, question\
**Created:** [January 19, 2023, 2:46am UTC](https://forums.unrealengine.com/t/assertion-failed-texturedesc-extent-x-int32-getmax2dtexturedimension/752484 "2023-01-19T02:46:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Menno\_Broere1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Menno\_Broere1](https://forums.unrealengine.com/u/Menno_Broere1)\
**Post date:** [January 19, 2023, 2:46am UTC](https://forums.unrealengine.com/t/assertion-failed-texturedesc-extent-x-int32-getmax2dtexturedimension/752484/1 "2023-01-19T02:46:29Z")

</div>

I’m attempting to render a EXR Sequence at a whopping resolution of 21248 x 2048 pixels. When I start the local render at the render queue unreal crashes immediately with the following error:

`Assertion failed: TextureDesc.Extent.X <= (int32)GetMax2DTextureDimension() [File:D:\build\++UE5\Sync\Engine\Source\Runtime\D3D12RHI\Private\D3D12Texture.cpp] [Line: 522]`

When I scale down to 16384 x 1580 (within the max GPU texture size) it does render perfectly.

I use the High-Resolution setting in the render queue which is set to 4 tiles. The official unreal documentation state:

> High Resolution - Provides a way to use tiled renders to produce larger images than would normally be possible because of maximum texture sizes or memory limits on GPUs.

So what is going on? Why cant I render above 16k with High Resolution enabled?

Thanks!

---

<div class="post-metadata">

**Author:** ![EliasWick](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/eliaswick/32/1175208_2.png) [@EliasWick](https://forums.unrealengine.com/u/EliasWick)\
**Post date:** [January 19, 2023, 11:54am UTC](https://forums.unrealengine.com/t/assertion-failed-texturedesc-extent-x-int32-getmax2dtexturedimension/752484/2 "2023-01-19T11:54:46Z")

</div>

The High Resolution setting in the render queue allows you to use tiled renders to produce larger images than would normally be possible because of maximum texture sizes or memory limits on GPUs. However, it still has some limitations, and the maximum size of the image that can be rendered will depend on the GPU memory and other factors. In your case, the image resolution of 21248 x 2048 pixels exceeds the maximum texture size that your GPU can handle, causing the crash. Scaling down the resolution to 16384 x 1580 allows the render to complete successfully because it falls within the GPU’s maximum texture size limit.

**I also suggest looking at this resource:**

> **[Texture Support and Settings](https://docs.unrealengine.com/4.27/en-US/RenderingAndGraphics/Textures/SupportAndSettings/)**
>
> Information over texture support both within the engine and hardware.

---

<div class="post-metadata">

**Author:** ![DVD4R](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dvd4r/32/88719_2.png) [@DVD4R](https://forums.unrealengine.com/u/DVD4R)\
**Post date:** [February 9, 2023, 4:33pm UTC](https://forums.unrealengine.com/t/assertion-failed-texturedesc-extent-x-int32-getmax2dtexturedimension/752484/3 "2023-02-09T16:33:07Z")

</div>

Any resolution to this? Is there an appropriate place to set this limit larger?

(int32)GetMax2DTextureDimension() ??? where to set???

System has 24GB GB VRAM memory available when rendering and only uses a third of it at most when rendering tiled at 16K.

---

<div class="post-metadata">

**Author:** ![Wachaoo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Wachaoo](https://forums.unrealengine.com/u/Wachaoo)\
**Post date:** [June 7, 2023, 10:59am UTC](https://forums.unrealengine.com/t/assertion-failed-texturedesc-extent-x-int32-getmax2dtexturedimension/752484/4 "2023-06-07T10:59:06Z")

</div>

Hello,  
I’m facing the same error but I didn’t render anything. After I build the project and then load the sub-level this error appears.

---

<div class="post-metadata">

**Author:** ![MAFA0077](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MAFA0077](https://forums.unrealengine.com/u/MAFA0077)\
**Post date:** [January 6, 2024, 2:30am UTC](https://forums.unrealengine.com/t/assertion-failed-texturedesc-extent-x-int32-getmax2dtexturedimension/752484/5 "2024-01-06T02:30:52Z")

</div>

The way i solved it is janky as hell, but i went to the function in the code and slapped //infront of the x-axis checker, just so i can remove the texture and reaply it. You are absolutely not supposed to do that but yeah
