Search Issue Tracker
In Progress
Fixed in 6000.0.27f1, 6000.1.0a2
Votes
0
Found in
6000.0.21f1
Issue ID
UUM-83676
Regression
No
[VFX] Custom HLSL Operator with two output parameters function duplicates its code
*Steps to reproduce:*
1. Create a new VFX Graph asset (use the simple loop template)
2. Open this VFX Graph
3. Add a Custom HLSL operator
4. Replace the default code by this one:
{code:c#}
void FloatFunction(in float value, out float a, out float b)
{
a = value * 2;
b = value * 3;
} {code}
5. Connect the output a and output b to the gravity Force input (X and Y)
*Actual results:*
The VFX Graph do not compile because the function is duplicated
*Expected results:*
The VFX Graph works fine
*Reproducible with versions:*
6000.0.22.f1
*Tested on (OS):*
Windows
*Notes:*
* Feedback from the Unity discussion forum: https://discussions.unity.com/t/does-two-outlets-on-a-customhlsl-node-cause-function-redefinition-error/1530174
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (fix version 6000.1.0a2):
All good. It now works
Resolution Note (fix version 6000.0.27f1):
Verified on build 6000.0.27f1