Search Issue Tracker
Won't Fix
In Progress in 1.0.X
Votes
0
Found in [Package]
1.0.0
Issue ID
XRMRT-10
Regression
No
Shader warnings are being thrown after building Mixed Reality Template
How to reproduce:
1. Create a new project using Mixed Reality Template
2. Build the Project (File -> Build Settings -> Build)
3. Observe the Console after the build is complete
Expected result: No Errors or Warnings are being thrown
Actual result: Shader warning in 'Shader Graphs/RimLight': 'UNITY_PREV_MATRIX_M': macro redefinition. Previous definition found at /Users/username/Projects/My project/Library/PackageCache/com.unity.render-pipelines.core@14.0.11/ShaderLibrary/UnityInstancing.hlsl:450. at /Users/username/Projects/My project/Library/PackageCache/com.unity.shadergraph@14.0.11/Editor/Generation/Targets/BuiltIn/ShaderLibrary/Input.hlsl(92)
Reproducible with: 2022.3.28f1
Reproduced on: macOS Sonoma 14.4.1
Full warning:
{code:java}
Shader warning in 'Shader Graphs/RimLight': 'UNITY_PREV_MATRIX_M': macro redefinition. Previous definition found at /Users/username/Projects/My project/Library/PackageCache/com.unity.render-pipelines.core@14.0.11/ShaderLibrary/UnityInstancing.hlsl:450. at /Users/username/Projects/My project/Library/PackageCache/com.unity.shadergraph@14.0.11/Editor/Generation/Targets/BuiltIn/ShaderLibrary/Input.hlsl(92)
Compiling Subshader: 1, Pass: Pass, Vertex program with DIRECTIONAL INSTANCING_ON LIGHTPROBE_SH
Platform defines: SHADER_API_DESKTOP UNITY_ENABLE_DETAIL_NORMALMAP UNITY_ENABLE_REFLECTION_BUFFERS UNITY_FRAMEBUFFER_FETCH_AVAILABLE UNITY_LIGHTMAP_FULL_HDR UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_NEEDS_RENDERPASS_FBFETCH_FALLBACK UNITY_PASS_FORWARDBASE UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BLENDING UNITY_SPECCUBE_BOX_PROJECTION UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS
Disabled keywords: DIRLIGHTMAP_COMBINED DYNAMICLIGHTMAP_ON FOG_EXP FOG_EXP2 FOG_LINEAR LIGHTMAP_ON LIGHTMAP_SHADOW_MIXING SHADER_API_GLES30 SHADOWS_SCREEN SHADOWS_SHADOWMASK UNITY_ASTC_NORMALMAP_ENCODING UNITY_COLORSPACE_GAMMA UNITY_HALF_PRECISION_FRAGMENT_SHADER_REGISTERS 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_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 VERTEXLIGHT_ON
{code}
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
- 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
Resolution Note:
We are not able to reproduce this issue