radeon_memory_visualizer icon indicating copy to clipboard operation
radeon_memory_visualizer copied to clipboard

Only the first settings of a debug name to a resource is registered with D3D12

Open WoodyPWX opened this issue 4 months ago • 3 comments

Hello there, We are using Unity 6000.1.15f1 and wanted to investigate huge amount of unbound memory (over 4GB). Sadly, Unity is settings debug resource names multiple times. Once it's a generic name of the resource type and function creating it and later it's setting user friendly name like the texture or mesh name. RMV is registering just the first one:

Image

If I comment out the generic setting, it looks better:

Image

Could RMV remember the last name set to resources?

Regards, Tomas

RDP Version: Radeon Developer Panel v3.3.1.29 RDP build Date: 06/23/2025 Operating System Name: Windows 11 Pro Operating System Description: 26100.1.amd64fre.ge_release.240331-1435 GPU AMD Radeon RX 9070 Driver Version: 25.10.25.01-250724a-417878C-AMD-Software-Adrenalin-Edition

WoodyPWX avatar Sep 04 '25 14:09 WoodyPWX

Hi Tomas,

Thank you for this feedback. It's a while since we looked at the resource naming but I was under the impression that if resource name changed during an application's lifetime, that change would be recorded. You could then take snapshots at different times and see the resource name change. We can investigate this and see if there's an issue.

A quick question though: When you say you commented out the generic setting, where did you comment it out? From within Unity?

ahosier avatar Sep 04 '25 20:09 ahosier

Yes, we have a full source code access to Unity, so I removed it there.

WoodyPWX avatar Sep 04 '25 20:09 WoodyPWX

Hi Tony, Any news about this? It would be great if any amount of name settings works. I would like to keep at least the generic name in case there is no user friendly name assigned later. Regards, Tomas

WoodyPWX avatar Oct 21 '25 13:10 WoodyPWX