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
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
- Polygons are created on the opposite side of the Sprite when the Sprite boundaries are above the edge of the Texture
- Render Graph Viewer Resource list becomes shrunk after using a filter that yields no results
- [Android] [Vulkan] "VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT" not added on some Android devices in "com.unity3d.player.UnityPlayerActivity/2D Colour Attachement"
- ResolveUsePasses now extracts passes from all subshaders including fallbacks, in contrast to documented behaviour
- [UIBuilder] Changes aren't detected on types implementing IList
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