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.
1 |
Component | UE - Graphics Features |
---|---|
Affects Versions | 4.27, 5.0 |
Target Fix | 5.4 |
Created | Aug 11, 2021 |
---|---|
Resolved | Feb 9, 2024 |
Updated | Apr 8, 2024 |