Skip to content

Commit 02c9c61

Browse files
arttu-peltonenEvergreen
authored andcommitted
Fix memory leak from NativeList in RenderGraph
Fix https://jira.unity3d.com/browse/UUM-60154 Fixes memory leak reported by beta user on the forums, caused by missing Dispose() call on a NativeList. Slack thread: https://unity.slack.com/archives/C02LJ5VSV97/p1704700987597219
1 parent 6b0ada6 commit 02c9c61

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Packages/com.unity.render-pipelines.core/Runtime/RenderGraph/Compiler/CompilerContextData.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,7 @@ void Cleanup()
299299
fragmentData.Dispose();
300300
createData.Dispose();
301301
destroyData.Dispose();
302+
randomAccessResourceData.Dispose();
302303
nativePassData.Dispose();
303304
nativeSubPassData.Dispose();
304305
m_Disposed = true;

0 commit comments

Comments
 (0)