STAT_VolumetricLightmapBuildData isn't counted correctly.
It seems that the root cause is Volume.IndirectionTexture.DataSize is set to 0 before STAT_VolumetricLightmapBuildData is decreased.
// PrecomputedVolumetricLightmap.cpp FPrecomputedVolumetricLightmapData::~FPrecomputedVolumetricLightmapData() { if (!bTransient) { const SIZE_T VolumeBytes = GetAllocatedBytes(); // <---- GetAllocatedBytes() returns 0 DEC_DWORD_STAT_BY(STAT_VolumetricLightmapBuildData, VolumeBytes); } }
In the following code, DataSize is cleared.
ENGINE_API void FPrecomputedVolumetricLightmapData::AddToSceneData(FPrecomputedVolumetricLightmapData* SceneData) { .... if (!GIsEditor) { // Steal the indirection texture. When the sublevels are unloaded the values will be restored. IndirectionTexture = SceneData->IndirectionTexture; }
I am not able to find world outliner how to enable it?
Undefined sysmbol: typeinfo for AActor when cross-compile linux dedicated server on windows
How to achieve HLSL Multiple Render Target in Material blueprints?
How can i modify the param name in EQS node
Teleporter in the Creative Hub is Locked and cannot be accessed
I'm working on a VR Project and I cannot add Nav Mesh to the stairs??
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-172465 in the post.
1 |
Component | UE - Graphics Features |
---|---|
Affects Versions | 5.1 |
Created | Dec 9, 2022 |
---|---|
Updated | Aug 14, 2024 |