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
Copy file name to clipboardExpand all lines: Packages/com.unity.render-pipelines.core/Editor/Lighting/ProbeVolume/ProbeVolumeLightingTab.cs
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -206,7 +206,10 @@ public override void OnDisable()
206
206
207
207
EditorSceneManager.sceneOpened-=OnSceneOpened;
208
208
209
-
AdaptiveProbeVolumes.Dispose();
209
+
// We keep allocated acceleration structures while the Lighting window is open in order to make subsequent bakes faster, but when the window closes we dispose of them
210
+
// Unless a bake is running, in which case we leave disposing to CleanBakeData()
0 commit comments