Search Issue Tracker
Fixed in 12.0.0
Votes
0
Found in [Package]
12.0.0
Issue ID
1328592
Regression
No
[VFX] Shader Errors are thrown for Output Particle Quad when graph Contains Add Size by Speed block with matching range values
How to reproduce:
1. Create a new URP/HDRP template project
2. Create a new VFX graph
3. Add "Add Size by Speed" block to the Output Particle Quad
4. Set Speed range values to be identical ([1;1] or [10,10])
5. Save the graph and close it
6. Click Edit -> VisualEffects-> Rebuild and Save all Visual Effects Graph OR select the graph in the Project Window
Expected results: No errors are thrown
Actual results: Shader errors are thrown
Reproducible with: 7.5.3(2019.4.24f1) 10.4.0(2020.3.5f1), 11.0.0(2021.1.4f1), 12.0.0(2021.2.0a14)
Notes:
1. Reproducible in URP and HDRP
Errors thrown:
Shader error in 'Hidden/VFX/New VFX/System/Output Particle Quad': incorrect number of arguments to numeric-type constructor at line 451 (on d3d11)
hader error in 'Hidden/VFX/New VFX/System/Output Particle Quad': undeclared identifier 'Infinity' at line 451 (on d3d11)
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
- Inspector loses focus or Material doesn't update when using GetModifiedMaterial with a Mask component
- Crash on GfxDeviceClient::AllocateBufferInternal when entering Play mode using Graphics.RenderPrimitives and Graphics.DrawProcedural in the scene
- Import TextMesh Pro window opens when the Text Mesh Pro Essentials and Examples are already imported when creating a new TextMesh Pro GameObject in the Hierarchy with TextMesh Pro settings reset
- Video is not rendered when the VideoPlayer GameObject is disabled and re-enabled after playback starts while using Material Override render mode
- Missing documentation page - "Sorry...that page seems to be missing" is shown on the browser when clicking the help icon on a Color Preset Library Scriptable Object
Resolution Note (fix version 12.0.0):
Fixed in: 2021.2.0b7