Search Issue Tracker

Fixed in 2018.2.X

Fixed in 2018.1.X

Votes

0

Found in

2018.1.0f1

Issue ID

1025523

Regression

Yes

Lightweight SRP and Lightweight SRP VR templates don't build on UWP

Graphics - General

-

It fails with these errors:

Shader error in 'Hidden/LightweightPipeline/ScreenSpaceShadows': unsupported shader api at /ProgramData/Unity/cache/packages/packages.unity.com/com.unity.render-pipelines.core@1.1.2-preview/CoreRP/ShaderLibrary/Common.hlsl(141) (on d3d11_9x)

Compiling Vertex program
Platform defines: UNITY_ENABLE_REFLECTION_BUFFERS UNITY_NO_CUBEMAP_ARRAY UNITY_NO_SCREENSPACE_SHADOWS UNITY_PBS_USE_BRDF3 SHADER_API_MOBILE UNITY_HARDWARE_TIER1 UNITY_COLORSPACE_GAMMA UNITY_LIGHTMAP_RGBM_ENCODING

(Filename: /ProgramData/Unity/cache/packages/packages.unity.com/com.unity.render-pipelines.core@1.1.2-preview/CoreRP/ShaderLibrary/Common.hlsl Line: 141)

Shader error in 'Hidden/LightweightPipeline/Blit': unsupported shader api at /ProgramData/Unity/cache/packages/packages.unity.com/com.unity.render-pipelines.core@1.1.2-preview/CoreRP/ShaderLibrary/Common.hlsl(141) (on d3d11_9x)

Compiling Vertex program
Platform defines: UNITY_ENABLE_REFLECTION_BUFFERS UNITY_NO_CUBEMAP_ARRAY UNITY_NO_SCREENSPACE_SHADOWS UNITY_PBS_USE_BRDF3 SHADER_API_MOBILE UNITY_HARDWARE_TIER1 UNITY_COLORSPACE_GAMMA UNITY_LIGHTMAP_RGBM_ENCODING

(Filename: /ProgramData/Unity/cache/packages/packages.unity.com/com.unity.render-pipelines.core@1.1.2-preview/CoreRP/ShaderLibrary/Common.hlsl Line: 141)

Shader error in 'Hidden/LightweightPipeline/CopyDepth': unsupported shader api at /ProgramData/Unity/cache/packages/packages.unity.com/com.unity.render-pipelines.core@1.1.2-preview/CoreRP/ShaderLibrary/Common.hlsl(141) (on d3d11_9x)

Compiling Vertex program
Platform defines: UNITY_ENABLE_REFLECTION_BUFFERS UNITY_NO_CUBEMAP_ARRAY UNITY_NO_SCREENSPACE_SHADOWS UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP SHADER_API_MOBILE UNITY_HARDWARE_TIER2 UNITY_COLORSPACE_GAMMA UNITY_LIGHTMAP_RGBM_ENCODING

(Filename: /ProgramData/Unity/cache/packages/packages.unity.com/com.unity.render-pipelines.core@1.1.2-preview/CoreRP/ShaderLibrary/Common.hlsl Line: 141)

Compressed shader 'Hidden/PostProcessing/Uber' on d3d11 from 5.09MB to 0.33MB
Compressed shader 'Hidden/PostProcessing/Uber' on d3d11_9x from 0.00MB to 0.00MB
Compressed shader 'LightweightPipeline/Standard (Physically Based)' on d3d11 from 3.97MB to 0.29MB
Compressed shader 'LightweightPipeline/Standard (Physically Based)' on d3d11_9x from 0.00MB to 0.00MB
DisplayProgressNotification: Build Failed
Error building Player: 3 errors

Workaround:

• Open Package Manager window (Window -> Package Manager)
• Select Lightweight Render Pipeline package
• Select Update to Latest Version

Comments (1)

  1. bodn10

    Aug 13, 2018 10:51

    Same issue. Unable to build to UWP using lightweight render pipeline.

    Unity 2018.2.3f1 (64-bit)

    Lightweight Render Pipline 3.0.0-preview

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.