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

HD RP

-

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)

  1. 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.

  2. paradoxical-jay

    Jan 29, 2020 02:39

    We are still experiencing "InScatteredRadianceTable" leakage in 2019.3.0f6 HDRP 7.1.8

  3. MartinWorker

    Jan 22, 2020 09:55

    its still problem in 2019.3.0f5 HDRP 7.1.7

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.