Search Issue Tracker

Duplicate

Votes

1

Found in [Package]

7.1.6, 7.1.5, 7.0.1, 7.0.0

Issue ID

1201602

Regression

No

[VFX Graph] Shader errors are thrown when 'VFX Graph' close which has "Add Age by Speed" curve added in the "Initialize Particle

Package: Visual Effect Graph

-

On adding "Add Age by Speed" curve in the "Initialize Particle" block and closing the "VFX Graph" throws "Shader errors" (Shader error in '[System 1]Initialize Particle': incorrect number of arguments to numeric-type constructor at kernel CSMain at VFX.vfx(195) (on d3d11)), refer attached video.

Steps to repro:
1. Create a new project
2. Windows > Package Manager > Visual Effects Graph(7.1.6) > Install
3. Project > Visual Effects > Visual Effect Graph
4. Project > New VFX Graph > Open
5. Initialize Particle > Add Age by Speed (Attribute Curve)
6. Close the New VFX Graph

Actual Result:
Shader errors are thrown
1. Shader error in '[System 1]Initialize Particle': incorrect number of arguments to numeric-type constructor at kernel CSMain at VFX.vfx(195) (on d3d11)
2. Shader error in '[System 1]Initialize Particle': undeclared identifier 'Infinity' at kernel CSMain at VFX.vfx(195) (on d3d11)

Expected Result:
Curve get added under Initialize Particle Block without any errors even if VFX Graph is close

NOTE:
Visual Effect Graph 7.0.0 is introduced in 2019.3.0a10.

Reproducible in:
2020.1.0a15, 2019.3.0f1

Package Version found: 7.1.6, 7.1.5, 7.1.2, 7.0.1, 7.0.0

Environment:
Windows 10 & macOS 10.14

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.