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
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
- Channel remapping dropdown in the Terrain Layer does not open when clicked on the title
- The Editor freezes indefinitely when a large number of elements are entered in the Subgraphs or Categories lists
- Some Visual Effects package Assets links to documentation are not working
- Heatmap asset’s documentation button in the Inspector window leads to “Sorry... that page seems to be missing!” page when clicked
- Crash on MonoBehaviour::CallMethodIfAvailable when performing various actions
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