Search Issue Tracker

Fixed in 2018.2.X

Votes

0

Found in

2018.1.0b12

Issue ID

1015872

Regression

No

[SRP|Template] Universal Windows Platform build fails on making a project in "Lightweight RP" template.

Graphics - General

-

Universal windows platform build fails on making a project in Lightweight RP template.

Steps to reproduce:
1) Create a new project using Lightweight RP template
2) Click on File Menu > build settings.
3) Switch platform > Universal Windows Platform > Build And Run.

Observe the build fails with errors in console.

Reproducible on:
2018.1.0b12, 2018.1.0b11, 2018.1.0b10, 2018.1.0b5.

Note:
1. Universal Windows Platform is not supported on MAC.
2. Lightweight RP template was introduced in 2018.1.0b5.

Environment:
Windows 10.

Stack trace:
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_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

UnityEditor.BuildPlayerWindow+BuildMethodException: 4 errors
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (BuildPlayerOptions options) [0x0021f] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:182
at UnityEditor.BuildPlayerWindow.CallBuildMethods (Boolean askForBuildLocation, BuildOptions defaultBuildOptions) [0x00065] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:89
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

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.