texture streaming is one of the reasons that drop the label but not the only reason.
add a line of code RHIBindDebugLabelName(NewTexture, *OldTexture->GetName().ToString()); into FMetalDynamicRHI::RHIAsyncReallocateTexture2D could solve the texturestreaming issue but still some other textures not labeled.
1、enable texture streaming for a texture
2、get a gpu capture(renderdoc or XCode)
3、the debug label of the texture is gone once it was streamed in with resolution larger than 64x64
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-121439 in the post.
|Component||UE - Rendering|
|Affects Versions||4.27, 5.0|
|Created||Aug 11, 2021|
|Updated||Jan 24, 2023|