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
- Editor crashes on StoredGraphicsBuffer::GetGfxBufferID when VFX Graph property is modified during Play Mode and Application.targetFrameRate is used to limit FPS
- Crash on NVAPI_Thunk when changing Player resolution while HDR display is used and Direct3D12 is set as the graphics API
- Only one out of multiple cameras is shown in the Play Mode while HDR display is used and Direct3D12 is set as the graphics API
- The "Paste Component as New" option is incorrectly displayed as active despite the action being prohibited
- "TLS Allocator ALLOC_TEMP_TLS" errors are thrown when unsuccessfully importing an FBX file
Resolution Note (fix version 2023.1.0a22):
Verified in version 2023.1.0a22