You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running with Unity 2020.2.3f1 with Barracuda 1.0.4 or 1.3.0 preview in Editor, I get memory leaks and a load of yellow warnings for:
Found unreferenced, but undisposed Tensor data which might lead to GPU resource leak: (GPU:#-169063296 (1, 320, 320, 3) buffer: UnityEngine.ComputeBuffer created at: ) UnityEngine.Debug:LogWarning (object)
and also
''GarbageCollector disposing of ComputeBuffer allocated in D:\UnityProjects\BarracudaUNet2Test\Library\PackageCache\com.unity.barracuda@1.0.4\Barracuda\Runtime\Core\Backends\BarracudaReferenceCompute.cs at line 47. Please use ComputeBuffer.Release() or .Dispose() to manually release the buffer.''
Since this is in the update look, I tried adding m_worker.dispose(); at various points in the update loop and tried it in lateupdate but it didn't help
The text was updated successfully, but these errors were encountered:
Running with Unity 2020.2.3f1 with Barracuda 1.0.4 or 1.3.0 preview in Editor, I get memory leaks and a load of yellow warnings for:
Found unreferenced, but undisposed Tensor data which might lead to GPU resource leak: (GPU:#-169063296 (1, 320, 320, 3) buffer: UnityEngine.ComputeBuffer created at: ) UnityEngine.Debug:LogWarning (object)
and also
''GarbageCollector disposing of ComputeBuffer allocated in D:\UnityProjects\BarracudaUNet2Test\Library\PackageCache\com.unity.barracuda@1.0.4\Barracuda\Runtime\Core\Backends\BarracudaReferenceCompute.cs at line 47. Please use ComputeBuffer.Release() or .Dispose() to manually release the buffer.''
Since this is in the update look, I tried adding m_worker.dispose(); at various points in the update loop and tried it in lateupdate but it didn't help
The text was updated successfully, but these errors were encountered: