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
- Rigidbody2D.Slide API does not have the needed configuration when creating a 2D Top-Down character controller
- Opening reference for "Playables"component redirects to a missing page
- Sprite Renderer image is changed when switching Mask Interaction and changing Sprite to a shared Sprite
- An unsigned integer is not compared with an integer correctly in player when using IL2CPP backend
- Graphical artifacts are being rendered in Scenes that are loaded during run-time when GPU Resident Drawer is turned on
Resolution Note (fix version 10.3.0):
Fixed in Package version 10.3.0