Search Issue Tracker

Won't Fix

Votes

0

Found in

2018.3.0a1

2018.4.0f1

2019.1.0a1

2019.2.0a1

2019.3.0a1

2020.1.0a1

Issue ID

1182452

Regression

Yes

[hlsl2glsl -> HLSLcc][iOS][OpenGLES2]Reduced precision in shader floats on devices that only support OpenGLES2

iOS

-

How to reproduce:
1. Open the attached ShaderPrecision.zip project
2. Open the "MainScene" in the Assets folder
3. Make sure that OpenGLES2 is set in Player Settings-> Graphic API
3. Build for iOS and deploy the Xcode project to the iOS device

Expected: The shader looks the same as in the Editor
Actual: Reduced precision in shader floats (see the attached Actual:Unity2018_4.mov and Expected:Unity5_6.mov videos in the Edit section)

Reproducible with: 2018.3.14f1, 2020.1.0a4

Reproducible with:
iPad 4th generation (iOS 10.3.3)
iPhone 5c (iOS 9.3.2)

Not reproducible with: 2017.4.32f1, 2018.2.21f1

Reggresed in: 2018.3.0a1

  1. Resolution Note (2019.3.X):

    This is due to our move from hlsl2glsl to HLSLcc on GLES2. ATM there seems to be no workaround to the issue.

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.