Search Issue Tracker
Fixed in 10.3.0
Votes
1
Found in [Package]
10.0.0-preview.27
Issue ID
1269756
Regression
No
[VFX Graph] Exception while compiling expression graph is thrown on assigning Event node to Output Event node
Exception while compiling expression graph is thrown on assigning Event node to Output Event node.
Steps to repro:
1. Create a new URP template project
2. Project window > Click on "+" > Visual Effects > Visual Effect.
3. Open Visual Effect Graph > Right Click > Search for "Output Event" node.
4. Assign Event node to "Output Event" node.
Actual Result:
Exception while compiling expression graph is thrown in the console.
Expected Result:
No errors in the console.
Reproducible in:
2020.2.0a20 with Package version 10.0.0-preview.27.
Note: Output Event introduced in 10.0.0-preview.27 which is available only in 2020.2.0a20.
Environment:
Occurring on Windows 10 & Mac 10.15.
Stacktrace:
New VFX : Exception while compiling expression graph: System.InvalidOperationException: VFXDataOutputEvent unexpected link on Output event
at UnityEditor.VFX.VFXDataOutputEvent.FillDescs (System.Collections.Generic.List`1[T] outBufferDescs, System.Collections.Generic.List`1[T] outTemporaryBufferDescs, System.Collections.Generic.List`1[T] outSystemDescs, UnityEditor.VFX.VFXExpressionGraph expressionGraph, System.Collections.Generic.Dictionary`2[TKey,TValue] contextToCompiledData, System.Collections.Generic.Dictionary`2[TKey,TValue] contextSpawnToBufferIndex, UnityEditor.VFX.VFXDependentBuffersData dependentBuffers, System.Collections.Generic.Dictionary`2[TKey,TValue] effectiveFlowInputLinks, UnityEditor.VFX.VFXSystemNames systemNames) [0x00163] in c:\users\gs1799\downloads\customevent-urp\library\packagecache\com.unity.visualeffectgraph@10.0.0-preview.27\editor\data\vfxdataoutputevent.cs:91
at UnityEditor.VFX.VFXGraphCompiledData.Compile (UnityEditor.VFX.VFXCompilationMode compilationMode, System.Boolean forceShaderValidation) [0x00836] in c:\users\gs1799\downloads\customevent-urp\library\packagecache\com.unity.visualeffectgraph@10.0.0-preview.27\editor\compiler\vfxgraphcompileddata.cs:1142 : at UnityEditor.VFX.VFXDataOutputEvent.FillDescs (System.Collections.Generic.List`1[T] outBufferDescs, System.Collections.Generic.List`1[T] outTemporaryBufferDescs, System.Collections.Generic.List`1[T] outSystemDescs, UnityEditor.VFX.VFXExpressionGraph expressionGraph, System.Collections.Generic.Dictionary`2[TKey,TValue] contextToCompiledData, System.Collections.Generic.Dictionary`2[TKey,TValue] contextSpawnToBufferIndex, UnityEditor.VFX.VFXDependentBuffersData dependentBuffers, System.Collections.Generic.Dictionary`2[TKey,TValue] effectiveFlowInputLinks, UnityEditor.VFX.VFXSystemNames systemNames) [0x00163] in c:\users\gs1799\downloads\customevent-urp\library\packagecache\com.unity.visualeffectgraph@10.0.0-preview.27\editor\data\vfxdataoutputevent.cs:91
at UnityEditor.VFX.VFXGraphCompiledData.Compile (UnityEditor.VFX.VFXCompilationMode compilationMode, System.Boolean forceShaderValidation) [0x00836] in c:\users\gs1799\downloads\customevent-urp\library\packagecache\com.unity.visualeffectgraph@10.0.0-preview.27\editor\compiler\vfxgraphcompileddata.cs:1142
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- An error is thrown when one TreeView root element is dragged and held over a parent element but is dropped between the elements
- Text Object position shifts when selecting multiple Text Objects and expanding the Extra Settings in the Inspector
- Keywords on Material Variants aren't automatically saved when changed on original Material through Shader Graph
- Light Probes get baked when calling LightProbes.Tetrahedralize
- Shadows flicker and cause visual artifacts when modifying a GameObject's bounds using Swizzle (Y Mask) and Sine Time nodes
Resolution Note (fix version 10.3.0):
Fixed in Package version 10.3.0