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
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
- [Windows] No minimum “Select” window size
- Enabling “Editor Extension Authoring” in UI Builder doesn’t dirty the document and saving with shortcut doesn’t persist the state
- WebRequest.Create() function fails with "URI prefix is not recognized" errors when the project is built for Linux Standalone or Windows Dedicated Server
Resolution Note (fix version 10.3.0):
Fixed in Package version 10.3.0