Search Issue Tracker
Fixed in 2018.2.X
Votes
0
Found in
2018.2.0a1
Issue ID
988915
Regression
No
[HDRP][iOS] Unable to build project for iOS
Steps to reproduce:
1. Open the linked project (or set up a project for HDRP usage from https://github.com/Unity-Technologies/ScriptableRenderPipeline)
2. Switch to iOS target
3. Open any scene and try to build it to iOS
4. The build fails with several similar shader errors:
Shader error in 'Hidden/HDRenderPipeline/OpaqueAtmosphericScattering': 'Min3': ambiguous function call at Assets/ScriptableRenderPipeline/ScriptableRenderPipeline/HDRenderPipeline/HDRP/Lighting/VBuffer.hlsl(48) (on metal)
Shader error in 'Hidden/HDRenderPipeline/DebugViewMaterialGBuffer': 'Max3': ambiguous function call at /Users/robertas/Documents/hdrp-test-3/Assets/ScriptableRenderPipeline/ScriptableRenderPipeline/Core/CoreRP/ShaderLibrary/GeometricTools.hlsl(39) (on metal)
Shader error in 'HDRenderPipeline/Lit': 'Max3': ambiguous function call at /Users/robertas/Documents/hdrp-test-3/Assets/ScriptableRenderPipeline/ScriptableRenderPipeline/Core/CoreRP/ShaderLibrary/GeometricTools.hlsl(39) (on metal)
Shader error in 'Hidden/HDRenderPipeline/DebugViewTiles': 'Max3': ambiguous function call at /Users/robertas/Documents/hdrp-test-3/Assets/ScriptableRenderPipeline/ScriptableRenderPipeline/Core/CoreRP/ShaderLibrary/GeometricTools.hlsl(39) (on metal)
Shader error in 'HDRenderPipeline/LitTessellation': 'Max3': ambiguous function call at /Users/robertas/Documents/hdrp-test-3/Assets/ScriptableRenderPipeline/ScriptableRenderPipeline/Core/CoreRP/ShaderLibrary/GeometricTools.hlsl(39) (on metal)
Shader error in 'HDRenderPipeline/Unlit': 'Max3': ambiguous function call at /Users/robertas/Documents/hdrp-test-3/Assets/ScriptableRenderPipeline/ScriptableRenderPipeline/Core/CoreRP/ShaderLibrary/GeometricTools.hlsl(39) (on metal)
Shader error in 'HDRenderPipeline/LayeredLitTessellation': 'Max3': ambiguous function call at /Users/robertas/Documents/hdrp-test-3/Assets/ScriptableRenderPipeline/ScriptableRenderPipeline/Core/CoreRP/ShaderLibrary/GeometricTools.hlsl(39) (on metal)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment