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
- Some UXML Template Asset foldouts appear enabled when all fields inside are disabled
- URP Terrain Demo crash on burst_signal_handler after Generating lighting
- Project window button icons are poorly visible and their shades differ in Light theme
- GC.Alloc called by HDRenderPipeline.LensFlareMergeOcclusionDataDrivenPass() when playing the default HDRP Sample Template project
- Automatic LOD fails and SRP Batcher incompatibility occurs when using spline-based quad-topology meshes
Add comment