Cause and mechanism
An exposed VFX Graph property can receive values from a script or other external controls. If a value has no effect, check exposure, the property name and type, graph connections, and other scripts overwriting it. Check VFX Graph's actual naming controls rather than assuming they match Shader Graph's Display Name and Reference Name.
Check and correct the setup
- Expose the Blackboard property and save the graph. Use its exact VFX name in C#.
Separate spawning, motion, lifetime and rendering - Check existence and type with HasFloat/HasVector4 and use the matching setter.
Separate spawning, motion, lifetime and rendering - Cache frequent property IDs. Values used only during initialization may affect new particles rather than existing ones.
Separate spawning, motion, lifetime and rendering
Limits and verification
A string-literal call does not inherently allocate each time. Verify type, connections, and competing writers; read values in Update when existing particles must change.
A focused diagnostic setup
Expose a Float named Speed and connect it only to new-particle initialization. Test that separately from changing existing particles.
Test in this order
- Check HasFloat, the component instance and the exact property name/type.
Separate spawning, motion, lifetime and rendering - Compare two clearly different values on newly spawned particles.
Separate spawning, motion, lifetime and rendering - Use an Update-stage dependency for live changes and inspect competing writers.
Separate spawning, motion, lifetime and rendering
Interpret the result
A failed HasFloat suggests exposure/type issues; new-only changes suggest initialization timing; reverted values suggest another writer. Reinit resets the system rather than preserving live particles.