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
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
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
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
- White lighting artifact when a point light with a small emission range and "Hard Shadows" touches an object while a directional light with "Soft Shadows" and another point light are present
- Crash on JobQueue::HasJobGroupIDCompleted when closing the Editor while in Play mode on a specific project
- In "Preferences" section the “SpriteShape” menu item, the details page title “SpriteShape”, and “ControlPoint” entries are displayed as code strings rather than formatted UI strings
- Errors thrown constantly when Virtual Offset Debug is enabled and lighting was baked on AMD machine
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.