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
- Crash on D3D12CommonShader::ApplyGpuProgram when attaching material which samples "_UnityFBInput0" to "Full Screen Pass Renderer Feature" Component
- SpeedTree meshes and objects count differs when comparing the numbers in the Player with the Editor
- Model and Prefab Preview icons are not updated after upgrading associated Materials to URP
- Game view is rendered white when viewing the Editor with HDR display and Post Proccesing is enabled on the Main Camera with 2D URP
- "GetPreferedValue" returns max value when using auto-sizing
Resolution Note (fix version 10.3.0):
Fixed in Package version 10.3.0