How to reproduce:
1. Open the project folder of the attached "VFXGraphRepro.zip" project
2. Delete the "Library" folder
3. Open the project
4. Build the project (File -> Build Settings -> Build)
5. Open the Console
Expected result: No errors
Actual result: Shader errors (error X4571: vs_4_0 output limit (16) exceeded, shader uses 18 outputs)
Reproducible with: 12.1.0 (2021.2.0b16), 12.1.3 (2021.2.8f1), 13.1.3 (2022.1.0b2)
Couldn't test with: 2019.4.34f1, 2020.3.26f1 (Any VFX Graph version lower than 12.1.0 is untestable)
Note:
- The issue is only testable in 12.1.0 and above, otherwise the scripts used for the shader throw errors
- Not reproducible in a new project
- Not reproducible on MacOS