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
- [VFX] Custom HLSL with 'int' parameter, without the 'in/out/inout' access modifier is not supported
- [Windows] Lens Flare doesn't work in the Lens Flare Showroom URP Sample Scene
- Crash on ujob_execute_job while using OverlapBoxCommand when collisions are more than maxHits
- The validity of the multiple handles can behave differently based on the load/release operations order, when multiple Addressables.LoadAssetAsync and Addressables.Release are used to load and release the same Addressable Asset
- Dynamic text is rendered in the background when it is inside the <font> tag
This is a duplicate of issue #1118665