Steps to reproduce:
1. Open HDRP Sample
2. Observe the Console
Reproduced in: 2022.2.0b4, 2023.1.0a5
Not reproduced in: 2022.2.0b3, 2023.1.0a4
Reproduces on: MacOS, Windows, Linux
Notes:
- Full error message:
(Null Asset) : Exception while compiling expression graph: System.ArgumentException: This method should not be called on a disabled block at UnityEditor.VFX.VFXCodeGenerator.BuildBlock (UnityEditor.VFX.VFXContextCompiledData contextData, System.Collections.Generic.List`1[T] linkedEventOut, UnityEditor.VFX.VFXShaderWriter blockFunction, UnityEditor.VFX.VFXShaderWriter blockCallFunction, System.Collections.Generic.HashSet`1[T] blockDeclared, System.Collections.Generic.Dictionary`2[TKey,TValue] expressionToName, UnityEditor.VFX.VFXBlock block, System.Int32& blockIndex) [0x00360] in /Users/username/Desktop/My project (67)/Library/PackageCache/com.unity.visualeffectgraph@15.0.0/Editor/Compiler/VFXCodeGenerator.cs:926