Search Issue Tracker
Active
Under Consideration for 2021.3.X
Votes
0
Found in
2021.3.46f1
Issue ID
UUM-87081
Regression
No
"Shader warning in 'Universal Render Pipeline/Particles/Simple Lit': implicit truncation of vector type" warning is thrown after building the project
*Steps to reproduce:*
1. Create a new project with FPS Microgame template
2. Build And Run
3. Observe the Console
*Actual results:* "Shader warning in 'Universal Render Pipeline/Particles/Simple Lit': implicit truncation of vector type" warning is thrown
*Expected results:* No errors or warnings are thrown
*Reproducible with versions:* 2021.3.46f1
*Not reproducible with versions:* 2022.3.52f1, 6000.0.27f1
*Can't test with versions:* 6000.1.0a4 (No FPS Microgame template)
*Tested on (OS):* macOS Sonoma 14.6 (M1), macOS Sequoia 15 (Intel)
*Note:*
Full warning:
{code:java}
Shader warning in 'Universal Render Pipeline/Particles/Simple Lit': implicit truncation of vector type at (61)/Library/PackageCache/com.unity.render-pipelines.universal@12.1.15/Shaders/Particles/ParticlesSimpleLitForwardPass.hlsl(120) (on metal)
Compiling Subshader: 0, Pass: ForwardLit, Fragment program with _ADDITIONAL_LIGHTS _ADDITIONAL_LIGHT_SHADOWS _ALPHAPREMULTIPLY_ON _EMISSION _MAIN_LIGHT_SHADOWS_CASCADE _SCREEN_SPACE_OCCLUSION _SHADOWS_SOFT _SURFACE_TYPE_TRANSPARENT
Platform defines: SHADER_API_DESKTOP UNITY_ENABLE_DETAIL_NORMALMAP UNITY_ENABLE_REFLECTION_BUFFERS UNITY_LIGHTMAP_RGBM_ENCODING UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BLENDING UNITY_SPECCUBE_BOX_PROJECTION UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS
Disabled keywords: DEBUG_DISPLAY FOG_EXP FOG_EXP2 FOG_LINEAR INSTANCING_ON LIGHTMAP_SHADOW_MIXING PROCEDURAL_INSTANCING_ON SHADER_API_GLES30 UNITY_ASTC_NORMALMAP_ENCODING UNITY_COLORSPACE_GAMMA UNITY_ENABLE_NATIVE_SHADOW_LOOKUPS UNITY_FRAMEBUFFER_FETCH_AVAILABLE UNITY_HALF_PRECISION_FRAGMENT_SHADER_REGISTERS UNITY_HARDWARE_TIER1 UNITY_HARDWARE_TIER2 UNITY_HARDWARE_TIER3 UNITY_LIGHTMAP_DLDR_ENCODING UNITY_LIGHTMAP_FULL_HDR UNITY_METAL_SHADOWS_USE_POINT_FILTERING UNITY_NO_DXT5nm UNITY_NO_FULL_STANDARD_SHADER 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 _ADDITIONAL_LIGHTS_VERTEX _ALPHAMODULATE_ON _ALPHATEST_ON _CLUSTERED_RENDERING _COLORADDSUBDIFF_ON _COLORCOLOR_ON _COLOROVERLAY_ON _DISTORTION_ON _FADING_ON _FLIPBOOKBLENDING_ON _GLOSSINESS_FROM_BASE_ALPHA _LIGHT_COOKIES _MAIN_LIGHT_SHADOWS _MAIN_LIGHT_SHADOWS_SCREEN _NORMALMAP _RECEIVE_SHADOWS_OFF _SOFTPARTICLES_ON _SPECGLOSSMAP _SPECULAR_COLOR
{code}
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Readme” Asset is unreadable in the Inspector window when switching Editor Theme to Light
- “NullReferenceException” error thrown when switching Editor Theme to Light if “Unity Version Control” tab is enabled
- A Warning is displayed in the Inspector when a Mesh with any Material is added as a Terrain Detail
- [Android][Vulkan] Memory leak when playing and stopping a video using the Video Player on some devices
- Caret moves by a character when typing "." and any number into 'Grid and Snap' toolbar's input field
Add comment