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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment