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
- Value on Slider (Int) control in UI Builder displays as default when saving UI Document
- Color mismatch in UI Builders Library panel when the Editors theme is set to Light Mode
- [Android ] "AndroidJNI.ToBooleanArray" returns a random non-zero value instead of "IntPtr.Zero" when the method argument is null
- Non-HDR color picker opens when selecting material color with HDR enabled
- Crash on EditorApplication:Internal_CallUpdateFunctions when pushing property block by index to SpriteShapeRenderer
Resolution Note (fix version 10.3.0):
Fixed in Package version 10.3.0