Steps to reproduce:
1. Create a new HDRP project
2. In the Project window create any shader (right-click > Create > Shader Graph > Lit Shader Graph)
3. Open the "Create Node" menu > Expression
4. In the text field type vector swizzling expression “a.xw”
5. Observe the Expression node
Actual results: Error is thrown in Expression Node “unity_sq_expression::unity
Expected:_sg_generated::ExpressionNode_2e4b6ab2306a47d3bb4cbdf096f98e4_float’: function must return a value at line 160”
Expected results: No errors are thrown in the Console window
Reproducible with versions: 6000.5.0b11, 6000.6.0a6
Can’t test with versions: 6000.4.10f1, 6000.3.17f1 and lower (Expression Node is not available)
Tested on (OS): macOS Tahoe 26.4.1, Ubuntu 24.04