Search Issue Tracker

Fixed in 2018.2.X

Votes

0

Found in

2018.1.0b6

Issue ID

1014230

Regression

No

[HDRP] [Template] Android/WebGL/IOS build fails on making a project in HighEnd SRP template

Graphics - General

-

Android player fails to build on making a project in HighEnd SRP template. When making a build with colour space Gamma,
build fails with error to switch in Linear mode. On trying to make a build with colour space Linear, build fails with shader errors.
Stack trace is given below for both.

Steps to reproduce:
1) Create a new project in HighEnd SRP template
2) Switch platform> Android
3) Player settings > Other settings > Try building with both Gamma and Linear colour space.

Observe the build fails with errors in console.

Reproducible on : 2018.1.0b13, 2018.1.0b12, 2018.1.0b11, 2018.1.0b10, 2018.1.0b9, 2018.1.0b6, 2018.1.0b5

Note: HighEnd SRP template was introduced in 2018.1.0b5

Environment: Windows 7, 10 and Mac 10.12, 10.13

Stack trace: 1) Colour space Gamma

High Definition Render Pipeline doesn't support Gamma mode, change to Linear mode.
UnityEditor.BuildPlayerWindow+BuildMethodException: 7 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)

2) Colour space Linear

UnityEditor.BuildPlayerWindow+BuildMethodException: 7 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)
Shader error in 'Hidden/HDRenderPipeline/Deferred': 'Max3': ambiguous function call at /ProgramData/Unity/cache/packages/packages.unity.com/com.unity.render-pipelines.core@1.1.1-preview/CoreRP/ShaderLibrary/GeometricTools.hlsl(39) (on vulkan)

Compiling Vertex program with LIGHTLOOP_SINGLE_PASS OUTPUT_SPLIT_LIGHTING
Platform defines: UNITY_NO_DXT5nm UNITY_NO_RGBM UNITY_ENABLE_REFLECTION_BUFFERS UNITY_NO_CUBEMAP_ARRAY UNITY_NO_SCREENSPACE_SHADOWS UNITY_PBS_USE_BRDF3 UNITY_NO_FULL_STANDARD_SHADER SHADER_API_MOBILE UNITY_HARDWARE_TIER1 UNITY_LIGHTMAP_DLDR_ENCODING

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.