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
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
This is a duplicate of issue #1118665