Search Issue Tracker

By Design

Votes

0

Found in

6000.0.40f1

6000.1.0b8

6000.2.0a5

Issue ID

UUM-98340

Regression

No

"Sample Gradient" node can be connected to the "Sub Mesh Mask" input and makes the VFX Graph uncompilable

-

How to reproduce:
1. Open the attached project "Test"
2. Open the "New VFX" VFX Graph
3. Navigate to the "Output Particle: Shader Graph" block and observe the "Sample Gradient" node near it
4. Connect the "Sample Gradient" output to the "Sub Mesh Mask" input
5. Observe the results

Expected results: No errors are thrown
Actual results: "Unity cannot compile the VisualEffectAsset at path "Assets/Scenes/Thunder.vfx" because of the following exception:
System.InvalidOperationException: Can not link a GPU operator to a system wide (CPU) input: subMeshMask" error is thrown

Reproducible with: 6000.0.40f1, 6000.1.0b8, 6000.2.0a5

Reproducible on: macOS Sequoia 15.3 (M1)
Not reproducible on: No other environment tested

Note: If the error is not thrown, repeat the same steps with the "Thunder.vfx" in the same project

  1. Resolution Note:

    The error feedback system needs improvement to provide better outcomes when attempting to connect a GPU slot to a slot evaluated on the CPU. This is a common issue that users frequently encounter. For example, see this forum post: https://discussions.unity.com/t/use-random-mesh/926362

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.