Search Issue Tracker
Fixed
Fixed in 2022.2.13f1, 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
- "Debug Assertion Failed!" error when launching Windows Dedicated Server Player with Script Debugging enabled
- [Cinematic Studio][3D HDRP] Shader warnings thrown in the Console window when creating a new project with Cinematic Studio template
- Autoplay is triggered on Audio Assets when changing Asset Bundle tags
- Inspector Asset Bundle section has no indication for Variants, AssetBundle is written without a space, and Variant dropdown menu is available without setting the Asset Bundle first
- Graphics.DrawProceduralIndirect and Graphics.DrawProceduralNow silently dropped on DX12
Resolution Note (fix version 2023.1.0a22):
Verified in version 2023.1.0a22