Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Error On URP Build #77

Open
wojiuxuihuan opened this issue Nov 21, 2023 · 0 comments
Open

[Bug] Error On URP Build #77

wojiuxuihuan opened this issue Nov 21, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@wojiuxuihuan
Copy link

wojiuxuihuan commented Nov 21, 2023

The following errors were often reported during building, and approximately four times were required to build successfully.

Shader error in 'Hair/Default/HairMaterialDefaultLitBuiltin': 'UnitySetupInstanceID': no matching 1 parameter function at line 49 (on d3d11)

Compiling Subshader: 0, Pass: ShadowCaster, Vertex program with HAIR_VERTEX_SRC_SOLVER SHADOWS_DEPTH STEREO_INSTANCING_ON
Platform defines: SHADER_API_DESKTOP UNITY_ENABLE_DETAIL_NORMALMAP UNITY_ENABLE_REFLECTION_BUFFERS UNITY_LIGHTMAP_FULL_HDR UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_PASS_SHADOWCASTER UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BLENDING UNITY_SPECCUBE_BOX_PROJECTION UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS
Disabled keywords: HAIR_VERTEX_ID_LINES HAIR_VERTEX_ID_STRIPS HAIR_VERTEX_SRC_STAGING INSTANCING_ON SHADER_API_GLES30 SHADOWS_CUBE STAGING_COMPRESSION UNITY_ASTC_NORMALMAP_ENCODING UNITY_COLORSPACE_GAMMA 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_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

image

Unity version: 2022.3.10f1
Hair version: 0.10.0-exp.1
URP version: 14.0.8

@wojiuxuihuan wojiuxuihuan changed the title Error On URP Build [Bug] Error On URP Build Nov 21, 2023
@fuglsang fuglsang added the bug Something isn't working label Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants