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

Commit 0cf8662

Browse files
committed
Testing a lifecycle issue fix
Expect this to break in some edge cases in the editor... Or not.
1 parent 6aa1a37 commit 0cf8662

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

PostProcessing/Runtime/PostProcessLayer.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,9 @@ public void Init(PostProcessResources resources)
153153

154154
public void InitBundles()
155155
{
156+
if (haveBundlesBeenInited)
157+
return;
158+
156159
// Create these lists only once, the serialization system will take over after that
157160
RuntimeUtilities.CreateIfNull(ref m_BeforeTransparentBundles);
158161
RuntimeUtilities.CreateIfNull(ref m_BeforeStackBundles);

0 commit comments

Comments
 (0)