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
- MeshRenderer.sortingLayerID cannot be changed when change is being done in a built Player
- Warnings related to App Icon are being thrown when building project to VisionOS Platform
- [Mobile] Developer Console does not appear when an error is thrown
- [HDRP] Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
Resolution Note (fix version 2023.1.0a22):
Verified in version 2023.1.0a22