Search Issue Tracker
Won't Fix
Votes
0
Found in
2018.3.0a1
2019.1.0a1
2019.1.7f1
2019.2.0a1
2019.3.0a1
Issue ID
1164079
Regression
Yes
[hlsl2glsl -> HLSLcc][iOS][Metal]GameObjects with Mobile shaders flip&shrink Player when the scene also includes Legacy shaders
How to reproduce:
1. Open the attached project
2. Go to the Hierarchy window-> disable "Standard" GameObject
3. Build for iOS and deploy the Xcode project to the iOS device
Actual: Only three out of five cubes are visible, the aspect ratio is upside down and shrinks (see the photos attached)
Expected: All cubes are visible and the aspect ratio is normal
Reproducible with: 2018.3.0a1, 2018.3.0a11, 2018.4.5f1, 2019.1.13f1, 2019.2.0f1, 2019.3.0a11
Reproducible with:
iPad 4 Generation (iOS 10.3.3)
iPhone 5C (iOS 9.3.2)
Reproducible only with: Metal
Not reproducible with: 2017.4.31f1, 2018.2.21f1
Not reproducible with:
iPad mini 2 (iOS 11.4.1)
iPhone 7 (iOS 10.2)
Not reproducible with Android
Note: if "Standard" GameObject (with standard shader) is enabled in the scene the Player is not fliped or shrinked
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Incorrect warning icon and wrong message displayed in HDRP Decal Projector
- [Dragon Crashers] Build fails in U6
- [Dragon Crashers] 4 Shader error messages on import
- [Dragon Crashers] Readme text is white on light grey
- Cursor stays in front of the first character when entering text in the TextMeshPro field
Resolution Note (2019.3.X):
The bug appeared due to shader compiler change. Can be worked around by adding #pragma prefer_hlsl2glsl gles into the legacy shader. However, as the shader pass causing this is fixed function, users need to convert it to vertex/fragment shader by clicking Generate Shader Code (button is disabled for built-in shaders, so to do this you need to copy/paste legacy shader code into a new shader file)