预览可以正常运行,开发者工具运行不了
playable-fix.js? [sm]:21 RenderingCommandBuffer: shader Hidden/Universal/CoreBlit: invalid pass index 23 in DrawProcedural
(env: Windows,mg,2.01.2510290; lib: 3.15.2)
尝试调Unity打包设置,不让裁剪Shader,没有解决,看Shader这个应该是个调试的Debug Pass
// 23: Bilinear blit with debug draw and color space conversion support
Pass
{
Name "BilinearDebugDraw"
ZWrite Off ZTest Always Blend Off Cull Off
HLSLPROGRAM
#pragma vertex Vert
#pragma fragment FragmentURPBlitBilinearSampler
#pragma multi_compile_fragment _ _LINEAR_TO_SRGB_CONVERSION
#pragma multi_compile_fragment _ DEBUG_DISPLAY
half4 FragmentURPBlitBilinearSampler(Varyings input) : SV_Target
{
return FragmentURPBlit(input, sampler_LinearClamp);
}
ENDHLSL
}
