Search Issue Tracker

Duplicate

Votes

1

Found in

2021.3.7f1

2022.1.12f1

2023.1.0a6

Issue ID

UUM-11772

Regression

No

[VFX Graph] Lit/Unlit particles are not compiled with new ShaderGraph integration when property contains Mode set to Integer

--

-

How to reproduce:
# Open the attached package
# Open Repro Scene (SG is in HDRP, if you are using URP Support VFX Graph flag gonna be needed)
# Open Unlit_VFX SG
# Select Float property in Blackboard
# in Graph Inspector change Mode from Default to Integer

Expected result: Shader is compiled for particles and errors are thrown

Actual result: Shader is not compiled for particles and errors are thrown

 

Error messages:

{color:#FF0000}[Worker1] Shader error in 'Hidden/VFX/TestTransparent/System (1)/B/Mesh{color}
{color:#FF0000}VFX Unlit{color}
{color:#FF0000}SG  Unlit': 'Frag': input parameter 'packedInput' missing semantics at /Users/Vita/Documents/unity/packages/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/ShaderPass/ShaderPassForwardUnlit.hlsl(88) (on d3d11)Compiling Subshader: 0, Pass: ForwardOnly, Fragment program with _BLENDMODE_OFF{color}

{color:#FF0000}[Worker1] Shader error in 'Hidden/VFX/TestTransparent/System (1)/A/VFX Unlit{color}
{color:#FF0000}SG  Unlit': 'Frag': input parameter 'packedInput' missing semantics at /Users/Vita/Documents/unity/packages/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/ShaderPass/ShaderPassForwardUnlit.hlsl(88) (on d3d11){color}

{color:#FF0000}Shader error in 'Hidden/VFX/TestTransparent/System (1)/A/VFX Unlit{color}
{color:#FF0000}SG  Unlit': 'VertVFX': function return value missing semantics at /Users/Vita/Documents/unity/packages/com.unity.render-pipelines.high-definition/Runtime/ShaderLibrary/VisualEffectVertex.hlsl(18) (on d3d11){color}

Tested and reproduced on: 2021.3.7f1, 2023.1.0a6

Note: This affects both Lit and Unlit Output. With Unlit outputs are dispalyed in magenta color, Lit contains visual artifacts

  1. Resolution Note:

    null
    Duplicate of another internal issue: UUM-555: [VFX/SG] Incorrect interpolator specifier

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.