Search Issue Tracker
Fixed in 2022.2.13f1
Fixed in 2022.2.X, 2023.1.X, 2023.1.0a22
Votes
0
Found in
2023.1.0a9
Issue ID
UUM-13293
Regression
No
[VFX Graph] Having space in Custom Attribute name breaks compilation
How to reproduce:
- Import the attached VFX
- Drag it to the scene view
- Observe errors in the console and that effect is not rendered
{color:#FF0000}Shader error in 'Hidden/VFX/Custom attributes/System/Output Particle Quad': syntax error: unexpected token 'B_a' at line 118 (on metal){color}
{color:#FF0000}Compiling Subshader: 0, Pass: <Unnamed Pass 2>, Fragment program with INSTANCING_ON{color}
{color:#FF0000}Platform defines: SHADER_API_DESKTOP UNITY_ENABLE_DETAIL_NORMALMAP {color}
{color:#FF0000}OutputUpdate': syntax error: unexpected token 'B_a' at kernel CSMain at attributes.vfx(51) (on metal){color}
{color:#FF0000}[Custom attributes] [System] OutputUpdate.compute: Kernel at index (0) is invalid{color}
{color:#FF0000}UnityEditor.PreviewRenderUtility:Render (bool,bool){color}
{color:#FF0000}VisualEffectAssetEditor:OnInteractivePreviewGUI (UnityEngine.Rect,UnityEngine.GUIStyle) (at /Users/vita.skruibyte/Documents/unity/packages/com.unity.visualeffectgraph/Editor/Inspector/VFXAssetEditor.cs:467){color}
{color:#FF0000}UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&){color}
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
- Project Auditor Analysis is not marked dirty when the save file is deleted even after reopening the Project Auditor window
- “Shader Graphs” text in the blackboard is hard to see
- "NullReferenceException" error is thrown when changing input field focus via script with custom validation
- The Tables in the Project Auditor’s Assemblies, and Precompiled Assemblies tabs does not scale with the Project Auditor window size which leads to unused empty space and bigger scrollbars in the tables
- Tile Palette button with longer Palette name is misaligned and cut-off when Tile Palette Clipboard overlay is resized
Resolution Note (fix version 2023.1):
Verified in version 2023.1.0a22