Description

No problem with 4.22.3

Steps to Reproduce
  1. Open the attached project
  2. Open CustomMipmap.uasset
  3. Set MaximumTextureSize to 256

Alternative steps

  1. Open any project
  2. Import the attached dds
  3. Set MaximumTextureSize to 256
Callstack

LoginId:65c0e6594e6582c06e82a19dd80bdc0e
EpicAccountId:0732afa141084f598cd9b3f514b98f5b

Fatal error: [Link Removed] [Line: 339] Direct3DDevice->CreateTexture2D(TextureDesc,SubResourceData,OutTexture2D) failed at D:/GIT/UnrealEngine-4.24/Engine/Source/Runtime/Windows/D3D11RHI/Private/D3D11Texture.cpp:480 with error E_INVALIDARG, Size=32x32x1 PF=7 Format=(0x0000004C), NumMips=7, Flags=D3D11_BIND_SHADER_RESOURCE , Usage:0x0, CPUFlags:0x0, MiscFlags:0x0, SampleCount:0x1, SampleQuality:0x0, SubresPtr:0x0000000000000000, SubresPitch:0, SubresSlicePitch:0

UE4Editor_D3D11RHI!VerifyD3D11CreateTextureResult() [d:\git\unrealengine-4.24\engine\source\runtime\windows\d3d11rhi\private\d3d11util.cpp:318]
UE4Editor_D3D11RHI!SafeCreateTexture2D() [d:\git\unrealengine-4.24\engine\source\runtime\windows\d3d11rhi\private\d3d11texture.cpp:482]
UE4Editor_D3D11RHI!FD3D11DynamicRHI::CreateD3D11Texture2D<FD3D11BaseTexture2D>() [d:\git\unrealengine-4.24\engine\source\runtime\windows\d3d11rhi\private\d3d11texture.cpp:773]
UE4Editor_D3D11RHI!FD3D11DynamicRHI::RHICreateTexture2D_RenderThread() [d:\git\unrealengine-4.24\engine\source\runtime\windows\d3d11rhi\private\d3d11texture.cpp:1128]
UE4Editor_Engine!FTexture2DResource::InitRHI() [d:\git\unrealengine-4.24\engine\source\runtime\engine\private\texture2d.cpp:1641]
UE4Editor_RenderCore!FRenderResource::InitResource() [d:\git\unrealengine-4.24\engine\source\runtime\rendercore\private\renderresource.cpp:94]
UE4Editor_RenderCore!TGraphTask<TEnqueueUniqueRenderCommandType<`BeginInitResource'::`2'::InitCommandName,<lambda_dbf6d24f3ae5f85cb6ed2474bd81805b> > >::ExecuteTask() [d:\git\unrealengine-4.24\engine\source\runtime\core\public\async\taskgraphinterfaces.h:847]
UE4Editor_Core!FNamedTaskThread::ProcessTasksNamedThread() [d:\git\unrealengine-4.24\engine\source\runtime\core\private\async\taskgraph.cpp:686]
UE4Editor_Core!FNamedTaskThread::ProcessTasksUntilQuit() [d:\git\unrealengine-4.24\engine\source\runtime\core\private\async\taskgraph.cpp:583]
UE4Editor_RenderCore!RenderingThreadMain() [d:\git\unrealengine-4.24\engine\source\runtime\rendercore\private\renderingthread.cpp:340]
UE4Editor_RenderCore!FRenderingThread::Run() [d:\git\unrealengine-4.24\engine\source\runtime\rendercore\private\renderingthread.cpp:471]
UE4Editor_Core!FRunnableThreadWin::Run() [d:\git\unrealengine-4.24\engine\source\runtime\core\private\windows\windowsrunnablethread.cpp:96]

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-85228 in the post.

2
Login to Vote

Fixed
Fix Commit10950746
Main Commit10951038
Release Commit10950746
CreatedDec 2, 2019
ResolvedJan 13, 2020
UpdatedJan 26, 2021
View Jira Issue