Cause and mechanism
To pass a texture into VFX Graph, match the texture kind with the receiving property. Check dimensions such as 2D, 3D, or arrays, exposure, graph connections, sample coordinates (UVs), and color-space handling. Converting every property to Texture2D can create another mismatch when a different texture kind is required.
Check and correct the setup
- Check property existence/dimension and match the texture input type.
Separate spawning, motion, lifetime and rendering - For position/velocity data, use suitable non-sRGB sampling rather than color-image assumptions.
Separate spawning, motion, lifetime and rendering - Inspect UV range, wrapping/filtering, and the graph stage; initialization-only reads may not update existing particles.
Separate spawning, motion, lifetime and rendering
Limits and verification
Texture Read/Write controls CPU accessibility and is not universally required for GPU sampling. Debug with a small known-value texture.
A focused diagnostic setup
Use a small texture with known values and visualize UVs first. Treat position data separately from display imagery.
Test in this order
- Check the texture property and expected dimension.
Separate spawning, motion, lifetime and rendering - Test fixed and varying 0–1 UVs with known wrap/filter settings.
Separate spawning, motion, lifetime and rendering - Compare new and existing particles after replacement and inspect initialization versus update usage.
Separate spawning, motion, lifetime and rendering
Interpret the result
A valid reference can still have wrong UVs, dimensions or sRGB conversion. Do not enable CPU Read/Write universally when no CPU pixel access is required.