We’ve updated on the Unity 2019.3.0f5. That updated the HDRP version and we also updated the Procedural Sky “sample”.
Now the memory increase super fast when the sky is enabled (no limits, my record is 43GB of ram before Unity -and the computer- crash).
In this screenshot the horizontal arrow is the curve to follow, the vertical arrow is the moment where I disabled the sky in the volume. As you can see, it stop growing when I disable it.
Any ideas? This is a critical bug for us
Thanks and have a nice day!
EDIT : The issue seem to be related to the fact that the directional light is rotating at each frame, thus regenerating the sky everytime. In the previous version this was fine and produced no memory leaks.
EDIT2 : It seem to bug only when we have the scene view and the game view opened and visible.
The issue seem to be related to the fact that the directional light is rotating at each frame, thus regenerating the sky everytime. In the previous version this was fine and produced no memory leaks.