Search Issue Tracker
Fixed
Fixed in 6000.2.8f1, 6000.3.0b6, 6000.4.0a2
Votes
0
Found in
6000.0.57f1
6000.2.4f1
6000.3.0b1
6000.4.0a1
Issue ID
UUM-116688
Regression
No
VFX Graph compilation fails when Custom HLSL starts with multiple "//" comment lines
Reproduction steps:
1. Open the attached “IN-114004.zip” project
2. From the Project window, double-click on the “BuggeddSystem.vfx” asset
3. In the Visual Effect Graph window, click the Save icon
4. Observe the Console
Expected result: No errors
Actual result: “Shader error in '[BuggeddSystem] [Simple Loop] Initialize Particles': syntax error: unexpected token ')' at kernel CSMain at BuggeddSystem.vfx(140) (on d3d11)” error
Reproducible with: 2023.3.0a2, 6000.0.57f1, 6000.2.4f1, 6000.3.0b1
Reproducible on: Windows 11
Not reproducible on: no other environments tested
Notes:
- Issue does not reproduce with multi‑line /* */ comments or triple‑slash /// comments, only with double‑slash // comments
- The generated code gets an extra parenthesis and line break at the end of the function declaration, which makes the code not compile at all
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Linux] Cannot reorder GameObjects in the Hierarchy when the AI Assistant package is installed
- [iOS] Text Input field stops receiving changes when the "Cancel" button is used on the soft keyboard
- [WebGPU] URP RenderGraph RenderPass doesn't clear textures
- Query Builder items display raw code style names instead of human readable labels in search field
- “+” button does nothing and has no functionality when clicked in Human Template "Bone Template" list
Add comment