Since upgrading to 2019.2 alpha, I have had some errors occurring and a bunch of garbage collection warnings repeatedly.
Errors:
Recursive rendering is not supported in SRP (are you calling Camera.Render from within a render pipeline?).
Assertion failed on expression: '!GetPersistentManager().IsStreamLoaded(metaDataPath)'
Asset import did not unload metadata path. This will leak memory. File a bug with repro steps please. (Assets/Prefabs/Parts/Hands/Cannons/Gauss Cannon.prefab)
GUI Window tried to begin rendering while something else had not finished rendering! Either you have a recursive OnGUI rendering, or the previous OnGUI did not clean up properly.
Assertion failed on expression: 'device.IsInsideFrame()'
Warnings (many, repeatedly, even with nothing in scene):
GarbageCollector disposing of ComputeBuffer allocated in C:\Unity\Host 3D - 2019.2 alpha\Library\PackageCache\com.unity.render-pipelines.high-definition@6.6.1-preview\Runtime\Lighting\LightLoop\LightLoop.cs at line 846. Please use ComputeBuffer.Release() or .Dispose() to manually release the buffer.
UnityEngine.ComputeBuffer:Finalize()
GarbageCollector disposing of ComputeBuffer allocated in C:\Unity\Host 3D - 2019.2 alpha\Library\PackageCache\com.unity.render-pipelines.high-definition@6.6.1-preview\Runtime\RenderPipeline\HDRenderPipeline.cs at line 366. Please use ComputeBuffer.Release() or .Dispose() to manually release the buffer.
UnityEngine.ComputeBuffer:Finalize()
GarbageCollector disposing of ComputeBuffer allocated in C:\Unity\Host 3D - 2019.2 alpha\Library\PackageCache\com.unity.render-pipelines.high-definition@6.6.1-preview\Runtime\Lighting\VolumetricLighting\VolumetricLighting.cs at line 251. Please use ComputeBuffer.Release() or .Dispose() to manually release the buffer.
UnityEngine.ComputeBuffer:Finalize()
GarbageCollector disposing of ComputeBuffer allocated in C:\Unity\Host 3D - 2019.2 alpha\Library\PackageCache\com.unity.render-pipelines.high-definition@6.6.1-preview\Runtime\Lighting\Shadow\HDShadowManager.cs at line 219. Please use ComputeBuffer.Release() or .Dispose() to manually release the buffer.
UnityEngine.ComputeBuffer:Finalize()
I don’t know if the erroneous metadatapath prefabs (often containing new VFX effects) are connected to the hdrp garbage collector issues.
I’m sure I have missed out something useful for helping to get to the bottom of this so please suggest anything I can do to help debug this!
My project is becoming unworkable at the moment, the play/stop functions take 10x longer than usual, and this gets progressively worse over each session.
Thanks in advance!
[Packages]
{
"registry": "https://staging-packages.unity.com",
"dependencies": {
"com.unity.2d.sprite": "1.0.0",
"com.unity.2d.tilemap": "1.0.0",
"com.unity.ads": "2.3.1",
"com.unity.analytics": "3.3.2",
"com.unity.collab-proxy": "1.2.16",
"com.unity.package-manager-ui": "2.2.0",
"com.unity.probuilder": "4.0.4",
"com.unity.purchasing": "2.0.6",
"com.unity.render-pipelines.high-definition": "6.6.1-preview",
"com.unity.textmeshpro": "2.0.0",
"com.unity.timeline": "1.0.0",
"com.unity.visualeffectgraph": "6.6.1-preview",
"com.unity.xr.legacyinputhelpers": "2.0.2",
"com.unity.modules.ai": "1.0.0",
"com.unity.modules.androidjni": "1.0.0",
"com.unity.modules.animation": "1.0.0",
"com.unity.modules.assetbundle": "1.0.0",
"com.unity.modules.audio": "1.0.0",
"com.unity.modules.cloth": "1.0.0",
"com.unity.modules.director": "1.0.0",
"com.unity.modules.imageconversion": "1.0.0",
"com.unity.modules.imgui": "1.0.0",
"com.unity.modules.jsonserialize": "1.0.0",
"com.unity.modules.particlesystem": "1.0.0",
"com.unity.modules.physics": "1.0.0",
"com.unity.modules.physics2d": "1.0.0",
"com.unity.modules.screencapture": "1.0.0",
"com.unity.modules.terrain": "1.0.0",
"com.unity.modules.terrainphysics": "1.0.0",
"com.unity.modules.tilemap": "1.0.0",
"com.unity.modules.ui": "1.0.0",
"com.unity.modules.uielements": "1.0.0",
"com.unity.modules.umbra": "1.0.0",
"com.unity.modules.unityanalytics": "1.0.0",
"com.unity.modules.unitywebrequest": "1.0.0",
"com.unity.modules.unitywebrequestassetbundle": "1.0.0",
"com.unity.modules.unitywebrequestaudio": "1.0.0",
"com.unity.modules.unitywebrequesttexture": "1.0.0",
"com.unity.modules.unitywebrequestwww": "1.0.0",
"com.unity.modules.vehicles": "1.0.0",
"com.unity.modules.video": "1.0.0",
"com.unity.modules.vr": "1.0.0",
"com.unity.modules.wind": "1.0.0",
"com.unity.modules.xr": "1.0.0"
}
}