Hello,
I am trying to control the rate of a constant spawn block and it works fine when I link an exposed float parameter to it, however if I try to link a value sampled from a 2D Texture I get a compilation error saying Exception while compiling expression graph: System.InvalidOperationException: The expression UnityEditor.VFX.VFXExpressionMax is not valid as it have the invalid flag: InvalidOnCPU
Is it normal ?
The reason I am using a texture instead of an exposed parameter is that I have several systems whose emission rates are linked to other objects in my scene and I find it easier and nicer to pack all the rates values in a texture instead of handling several parameters one by one.
This works fine when linked to block of other contexts by the way, only the Spawn context seems to not support this.
Thanks for any help.