In our project, using the ApplyNonResolutionSettings()
function results in an unusually high VRAM usage increase. Using stat rhi
shows that two categories increase:
- UAV Texture Memory
- RenderTarget2D Memory
These stats are upon launching the map, using Medium scalability
And these stats are after changing the scalability settings to High
Switching back to Medium doesn’t return to the original values
The issue is not VRAM increasing, it’s kind of expected when switching to a higher scalability level, it’s the fact that VRAM usage doesn’t match up with what was prior to applying higher settings
I’ve had a similar issue with SceneCaptureComponent
and their RenderTargets UAV not being cleared from VRAM even after calling ReleaseResource()
. Was fixed only after calling ResetSceneTextureExtentsHistory()
before releasing resources, which I tried to do here similarly, but found no success.