Search Issue Tracker
Fixed
Fixed in 6000.0.38f1, 6000.1.0b6, 6000.2.0a3
Votes
0
Found in
6000.0.33f1
Issue ID
UUM-92137
Regression
No
Floating point division by zero at kernel Warnings are thrown when opening VFX Learning Sample Scenes
Steps to reproduce:
- Create a URP Project and Install the VFX Graph
- From the Package Managers VFX Graph Package page import the Learning Templates Sample
- Open Scene "URP_VFX_Learning_Templates"
- Zoom out in Scene View so all GameObjects are visible
Actual results: Warnings are thrown:
"Shader warning in '[MultiStripsSpawnRate] [Multi Trails] Initialize Particle Strip': floating point division by zero at kernel CSMain at MultiStripsSpawnRate.vfx(179) (on d3d11)"
"Shader warning in '[MultiStripSingleBurst] [Robot Arms] Initialize Particles': floating point division by zero at kernel CSMain at MultiStripSingleBurst.vfx(187) (on d3d11)"
"Shader warning in '[MultiStripsSpawnRate] [Multi Trails] Initialize Particle Strip': floating point division by zero at kernel CSMain at MultiStripsSpawnRate.vfx(178) (on d3d11)"
"Shader warning in '[MultiStripsSpawnRate] [Multi Trails] Initialize Particle Strip': floating point division by zero at kernel CSMain at MultiStripsSpawnRate.vfx(179) (on d3d11)"
Expected results: No Warnings are thrown in Learning Sample Templates
Reproducible with versions: 6000.0.33f1, 6000.1.0b1
Can’t test with versions: 2022.3.55f1 (No Samples)
Tested on (OS): Windows 11, MacOS 15.1
Note: Issue reproduces with HDRP Sample as well
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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note (fix version 6000.2.0a3):
One of the components of transform from Set position shape block was set to zero. This block needs a safe normalize or an explicit warning for the user.