Search Issue Tracker
Fixed in 2019.3.X
Votes
9
Found in
2019.3
2019.3.0f3
2020.1
Issue ID
1205918
Regression
Yes
[HDRP] HDRI and Physically Based sky cause memory leaks when the sun is updated every frame
How to reproduce:
1. Open the attached "SkyRenderMemLeak" project
2. Open the "TestMemoryLeak" scene
3. Open the Profiler window
4. Enter Play mode
5. In the Hierarchy, select the SimWorld GameObject
6. In the Inspector, enable the "Update_sun" property and inspect the Profiler
Expected results: There is no significant decrease in performance or increase memory usage
Actual results: Performance decreases and memory usage increases significantly
Reproducible with: 2019.3.0f1, 2019.3.0f4 (HDRP 7.1.6), 2020.1.0a17 (HDRP 7.1.7)
Not reproducible with: 2019.3.0f1 (HDRP 7.1.5)
Note: With "Update_sun" enabled, a memory snapshot shows many "InScatteredRadianceTable" and "SkyboxCubemap" objects under Not Saved > RenderTexture
Comments (13)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Omi
Jan 31, 2020 20:54
I'm also seeing the same issue in my game. I'm working around the issue by disabling any render volumes that affect the sky render. Leak began after updating from 2019.2.17f1 to 2019.3.0f6.
paradoxical-jay
Jan 29, 2020 02:39
We are still experiencing "InScatteredRadianceTable" leakage in 2019.3.0f6 HDRP 7.1.8
MartinWorker
Jan 22, 2020 09:55
its still problem in 2019.3.0f5 HDRP 7.1.7