VisualEffect.SetTexture doesn't dirty the vfx component
Unity: Visual Effects
VFX Graph
Fixed
6.2.X
6.1.X
6.0.X
2022.3.X
Won't Fix
7.0.X
Closing U7 bugs and ports
Steps to reproduce:
import the provided UnityPackage
open the map named VFXG_BugRepro_SetTexture
In the scene hierarchy select the VFX object VFXG_Gradient_toCOlor
Enter Playmode.
Actual results: The Color of particles are updated thanks to a texture set by script.
The Gradient TXT texture property isn't properly updated has the asset isn't dirty when doing a VisualEffect.SetTexture via script.
Expected results:
The GradientTXT texture property should be properly updated and vfx object dirty so that it can be saved.
Reproducible with versions: 6000.2.0a1 & 2022.3.53f1
Prioritise and Follow this issue
Have a workaround or additional info about this issue?