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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
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