Search Issue Tracker
Duplicate
Duplicate in 2023.1.X
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
-
Resolution Note:
null
Duplicate of another internal issue: UUM-555: [VFX/SG] Incorrect interpolator specifier -
Resolution Note (2023.1.X):
null
Duplicate of another internal issue: UUM-555: [VFX/SG] Incorrect interpolator specifier
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
- GameObjects change Hierarchy order when undoing adding Component to multiple GameObjects
- [macOS] Editor crashes after entering Play mode with overlapping GameObjects with Cloth Component and Cloth Inter-Collision enabled
- Look Dev constantly regenerates the default Volume Profile when set to "None" instead of using the default one
- Look Dev errors are spammed when opening a new HDRP project when Look Dev was added to the layout in the previous project
- URP Scene Templates are not editable when first opened from the New Scene dialog
This is a duplicate of issue #UUM-573