Not signed in
Copyright © 2026 Unity Technologies
Will need more informations, we keep this in mind and will log with info needed if we manage to repro
VFX stops when the graph is closed and recompile correctly when the graph is reopened
error:
Unity cannot compile the VisualEffectAsset at path "Assets/Samples/SmokePortal/VFX_Portal 1.vfx" because of the following exception:
System.ArgumentException: This method should not be called on a disabled block
at UnityEditor.VFX.VFXCodeGenerator.BuildBlock (UnityEditor.VFX.VFXTaskCompiledData taskData, 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 .\UnityRepoPackages\Packages\com.unity.visualeffectgraph\Editor\Compiler\VFXCodeGenerator.cs:974
at UnityEditor.VFX.VFXCodeGenerator.Build (UnityEditor.VFX.VFXContext context, UnityEditor.VFX.VFXTask task, System.String templatePath, UnityEditor.VFX.VFXCompilationMode compilationMode, UnityEditor.VFX.VFXTaskCompiledData taskData, System.Collections.Generic.HashSet`1[T] dependencies) [0x00319] in .\UnityRepoPackages\Packages\com.unity.visualeffectgraph\Editor\Compiler\VFXCodeGenerator.cs:611
at UnityEditor.VFX.VFXCodeGenerator.Build (UnityEditor.VFX.VFXContext context, UnityEditor.VFX.VFXTask task, UnityEditor.VFX.VFXCompilationMode compilationMode, UnityEditor.VFX.VFXTaskCompiledData taskData, System.Collections.Generic.HashSet`1[T] dependencies) [0x0001f] in .\UnityRepoPackages\Packages\com.unity.visualeffectgraph\Editor\Compiler\VFXCodeGenerator.cs:215
at UnityEditor.VFX.VFXGraphCompiledData.GenerateShaders (System.Collections.Generic.List`1[T] outGeneratedCodeData, UnityEditor.VFX.VFXExpressionGraph graph, System.Collections.Generic.IEnumerable`1[T] contexts, UnityEditor.VFX.VFXCompiledData compiledData, UnityEditor.VFX.VFXCompilationMode compilationMode, System.Collections.Generic.HashSet`1[T] dependencies) [0x00094] in .\UnityRepoPackages\Packages\com.unity.visualeffectgraph\Editor\Compiler\VFXGraphCompiledData.cs:832
at UnityEditor.VFX.VFXGraphCompiledData.Compile (UnityEditor.VFX.VFXCompilationMode compilationMode, System.Boolean forceShaderValidation) [0x00713] in .\UnityRepoPackages\Packages\com.unity.visualeffectgraph\Editor\Compiler\VFXGraphCompiledData.cs:1191
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
Sign in to see your voted issues