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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note (fix version 2023.1):
Verified in version 2023.1.0a22