Skip to content
This repository was archived by the owner on Nov 30, 2020. It is now read-only.

Commit ed7018e

Browse files
authored
Merge pull request #391 from Unity-Technologies/callback-fix
Fix #390
2 parents f38a1e4 + f3ad0f2 commit ed7018e

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

PostProcessing/Runtime/PostProcessLayer.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,11 @@ void OnEnable()
118118
m_TargetPool = new TargetPool();
119119

120120
debugLayer.OnEnable();
121+
122+
if (RuntimeUtilities.scriptableRenderPipelineActive)
123+
return;
124+
125+
CheckInitLegacy();
121126
}
122127

123128
void CheckInitLegacy()

0 commit comments

Comments
 (0)