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
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
Add comment