Search Issue Tracker

Won't Fix

Votes

5

Found in

2023.3.0a18

6000.0.0b1

6000.1.0a7

6000.2.0a1

7000.0.0a1

Issue ID

UUM-20390

Regression

No

[VFX] Sample Gradient Compilation Failure

-

Sample Gradient when the result can be constant folded on the GPU is generating a failure:
```
Invalid VFX parent for sample Gradient : 2
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
```
```
Unity cannot compile the VisualEffectAsset at path "Assets/Repro_SampleGradient.vfx" because of the following exception:
System.ArgumentException: Invalid expression sheet
at (wrapper managed-to-native)
```

Step to repro:
- Import Repro_SampleGradient.package
- Open VisualEffect
- Switch from Runtime to Editor
- Observe the failure during compilation

!image-2022-11-29-14-17-22-883.png|thumbnail!

_N.B.:_ This issue was related to [1284358|https://issuetracker.unity3d.com/product/unity/issues/guid/1284358/]

  1. Resolution Note:

    There are no fixes planned for this Bug

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.