Hi,
We are getting a crash when using ‘BinkMediaTexture’.
hr failed at C:\Clients\P1\P1\Engine\Source\Runtime\D3D12RHI\Private\D3D12CommandList.cpp:277 with error E_INVALIDARG
Same issue as seen in this link:
So checking is that the right thing to do changing the code to add:
ETextureCreateFlags::UAV
is the right thing to do or should be looking somewhere else? And if this is the fix is this good for Consoles too?
Thanks,
Simon
From:
const FRHITextureCreateDesc Desc =
FRHITextureCreateDesc::Create2D(DebugName)
.SetExtent(w, h)
.SetFormat(PixelFormat)
.SetFlags(TexCreateFlags | ETextureCreateFlags::RenderTargetable | ETextureCreateFlags::ShaderResource)
.SetInitialState(ERHIAccess::SRVMask);
To:
const FRHITextureCreateDesc Desc =
FRHITextureCreateDesc::Create2D(DebugName)
.SetExtent(w, h)
.SetFormat(PixelFormat)
.SetFlags(TexCreateFlags | ETextureCreateFlags::RenderTargetable | ETextureCreateFlags::ShaderResource | ETextureCreateFlags::UAV)
.SetInitialState(ERHIAccess::SRVMask);
[Attachment Removed]