Search Issue Tracker
Fixed in 2021.3.39f1
Fixed in 2021.3.X, 2022.3.X, 2023.2.X, 2023.3.X, 2023.3.0b8
Votes
6
Found in
2021.3.31f1
2022.3.11f1
2023.1.18f1
2023.2.0b14
2023.3.0a11
Issue ID
UUM-53994
Regression
No
[VFX] Shader warnings thrown after installing Visual Effects Graph package
How to reproduce:
1. Open package manager
2. Install the Visual Effects Graph package
Expected result: No Warnings in the console
Actual result: "Shader warning..." warnings appear in the console
Reproducible with: 12.1.12 (2021.3.31f1), 14.0.9(2022.3.11f1), 15.0.7(2023.1.18f1), 16.0.4(2023.2.0b14), 17.0.1(2023.3.0a11)
Reproducible on: Windows 10 (Both URP and HDRP)
Full warnings:
(DX11, DX12, but both have '(on d3d11)' )
{code:java}
Shader warning in '[05_Head_Trail] [Strip] Initialize Particles': use of potentially uninitialized variable (GetParticleIndex) at kernel CSMain at 05_Head_Trail.vfx(197) (on d3d11)
Shader warning in '[04_Simple_Trail] [Ribbon] Initialize Particle Strip': use of potentially uninitialized variable (GetParticleIndex) at kernel CSMain at 04_Simple_Trail.vfx(181) (on d3d11){code}
(Vulkan)
{code:java}
Shader warning in 'Sort': use of potentially uninitialized variable (CompareKVP) at kernel MergePass at Sort.compute(96) (on vulkan)
Shader warning in 'Sort': use of potentially uninitialized variable (CompareKVP) at kernel MergeFinalPass at Sort.compute(96) (on vulkan)
Shader warning in 'Sort': use of potentially uninitialized variable (CompareKVP) at kernel BitonicSort4096_128 at Sort.compute(96) (on vulkan){code}
(GLES3, GLCore)
{code:java}
Shader warning in '[06_Firework] [Heads] Update Particles': Buffer count exceeding default GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS. Shader might not work on all hw. Consider combining separate buffers into one containing struct elements. at kernel CSMain (on gles3)
Shader warning in '[05_Head_Trail] [Strip] Initialize Particles': use of potentially uninitialized variable (GetParticleIndex) at kernel CSMain at 05_Head_Trail.vfx(197) (on gles3)
Shader warning in 'GenSdfRayMap': HLSLcc: The resource 'rayMap' uses an unsupported type/format for read/write access at kernel RayMapScanX (on gles3)
etc... {code}
(GLCore)
{code:java}
Shader warning in 'Sort': use of potentially uninitialized variable (CompareKVP) at kernel BitonicPrePass at Sort.compute(96) (on glcore) Shader warning in 'Sort': use of potentially uninitialized variable (CompareKVP) at kernel BitonicPrePass2048_128 at Sort.compute(96) (on glcore)
{code}
Comments (1)
-
unity_299B2B77BFFAD3FCF88C
Oct 30, 2023 17:22
These warnings started showing for me after updating from 2022.2.3 to 2022.3.11
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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Resolution Note (fix version 2023.3):
The warnings about the buffer count on GLES3 will still be present, as VFX Graph does not officially support GLES3.