#Can't build URP DOTS project

1 messages · Page 1 of 1 (latest)

high hamlet
#

Hi! I have a small prototype project (URP 14.0.6, Unity 2022.2.7f1) and I am trying to build it, but I can't because I get this error:


Compiling Subshader: 0, Pass: ForwardLit, Fragment program with DOTS_INSTANCING_ON _ADDITIONAL_LIGHT_SHADOWS _FORWARD_PLUS _LIGHT_COOKIES _MAIN_LIGHT_SHADOWS _REFLECTION_PROBE_BLENDING _REFLECTION_PROBE_BOX_PROJECTION _SCREEN_SPACE_OCCLUSION
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_SPECCUBE_BLENDING UNITY_SPECCUBE_BOX_PROJECTION UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS
Disabled keywords: DEBUG_DISPLAY DIRLIGHTMAP_COMBINED DYNAMICLIGHTMAP_ON FOG_EXP FOG_EXP2 FOG_LINEAR INSTANCING_ON LIGHTMAP_ON LIGHTMAP_SHADOW_MIXING LOD_FADE_CROSSFADE SHADER_API_GLES30 SHADOWS_SHADOWMASK 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 _ADDITIONAL_LIGHTS _ADDITIONAL_LIGHTS_VERTEX _ALPHAMODULATE_ON```  (it continues with other CAPS LOCKED words)

And the weird thing is that the project builds with a "Succeded" result, but the resulting build doesn't have the `MonoBleedingEdge` folder and can't be run
high hamlet
#

I have 0 custom shaders

solar lotus
#

I'm not nearly 100% sure, but I think it happens when you have gpu instancing off on your materials

high hamlet
#

That would be weird

#

Do all materials need gpu instancing?

solar lotus
high hamlet
#

Nope, still have the same problems

main kelp
#

This is a shader bug, and should be fixed in an upcoming 2022.2 version.

high hamlet
#

Thanks!

last jewel
#

@main kelp which version can we expect the fix in?

main kelp
#

The latest 2023.2 alpha should have the issue fixed, the 2023.1 and 2022.2 fixes are not in yet but should hopefully be coming shortly.

tranquil reef
main kelp
#

I think this fix has been backported, but I'm not sure if the fixed version is published yet.

#

I can try to check.