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
- [CI/CD]Build cache not invalidated when building targets with different defines
- VFX Learning Templates contains an empty folder the HDRP_VFX_Learning_Templates Scene
- Crash on -[NSApplication endModalSession:] when changing code in a Code Editor, saving and clicking on the Unity Window with "Stop Playing and Recompile" selected
- “Install package from git URL” and “Install package by name” tab does not close when resizing undocked Package Manager window and gets pushed outside the window
- "EndLayoutGroup: BeginLayoutGroup must be called first." errors are thrown when creating a Tag with identical name and holding the enter keyboard button
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