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