Search Issue Tracker
Fixed
Fixed in 6000.0.22f1
Votes
0
Found in
6000.0.20f1
Issue ID
UUM-81533
Regression
No
Shader warnings "Sprite-Unlit-Default" are thrown after building 2D Platrformer Microgame Template
*Steps to reproduce:*
1. Create project using 2D Platrformer Microgame Template
2. Build the project and observe the Console window once the build finished
*Actual results:* Shader warnings:
{code:java}
Shader warning in 'Universal Render Pipeline/2D/Sprite-Unlit-Default': use of potentially uninitialized variable (UnitySkinSprite) at (17)/Library/PackageCache/com.unity.render-pipelines.universal/Shaders/2D/Include/Core2D.hlsl(35) (on vulkan)
Compiling Subshader: 0, Pass: , Vertex program with SKINNED_SPRITE
Platform defines: SHADER_API_DESKTOP UNITY_ENABLE_DETAIL_NORMALMAP UNITY_ENABLE_REFLECTION_BUFFERS UNITY_LIGHTMAP_FULL_HDR UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_PBS_USE_BRDF1 UNITY_PLATFORM_SUPPORTS_DEPTH_FETCH UNITY_SPECCUBE_BLENDING UNITY_SPECCUBE_BOX_PROJECTION UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS
Disabled keywords: DEBUG_DISPLAY SHADER_API_GLES30 UNITY_ASTC_NORMALMAP_ENCODING UNITY_COLORSPACE_GAMMA UNITY_FRAMEBUFFER_FETCH_AVAILABLE UNITY_HARDWARE_TIER1 UNITY_HARDWARE_TIER2 UNITY_HARDWARE_TIER3 UNITY_LIGHTMAP_DLDR_ENCODING UNITY_LIGHTMAP_RGBM_ENCODING UNITY_METAL_SHADOWS_USE_POINT_FILTERING UNITY_NO_DXT5nm UNITY_NO_SCREENSPACE_SHADOWS UNITY_PBS_USE_BRDF2 UNITY_PBS_USE_BRDF3 UNITY_PRETRANSFORM_TO_DISPLAY_ORIENTATION UNITY_UNIFIED_SHADER_PRECISION_MODEL UNITY_VIRTUAL_TEXTURING
{code}
are thrown in the Console window after building the project
*Expected results:* no shader warnings are thrown in the Console window after building the project
*Reproducible with versions:* 6000.0.20f1
*Tested on (OS):* Ubuntu 20.04, macOS Sonoma 14.5 (Intel)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Animation Clip with Legacy enabled does not play when Time.timeScale is set to 0 despite Update mode set to "Unscaled time"
- Rename is enabled on subfolder empty space - "Can't rename to empty name" warning
- SamplerState Property Missing Anisotropic Filtering
- Visual glitches when using Handles API
- The RGBA color values are inconsistent when comparing two identical colors set in the Inspector
Add comment