Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.4.0f1
2018.3.0a1
2018.4.0f1
2018.4.4f1
2019.1.0a1
2019.2.0a1
2019.3.0a1
2020.1.0a1
Issue ID
1178876
Regression
No
[iOS] tex2Dlod produces Glitches when using a Texture with Anisotropic Filtering enabled
In the Customer project, a Shader is used to offset the vertices based on the value in a Texture. With Anisotropic Filtering enabled on this Texture, the values returned from tex2Dlod inside the vertex program seem to be non-deterministic and not the same for each vertex
To reproduce:
1. Download attached "tex2DlodBug.zip" project and open in Unity
2. Open "SHADER_TEST_SCENE" scene
3. Build for iOS
4. Deploy the Xcode project to the iOS device
Expected result: When App is launched you will see White Plane
Actual result: When App is launched you will see White Plane with Glitches
Notes:
- This issue happens only on iOS
- This issue does not reproduce on Android (Mono and IL2CPP) and Standalone
- Image and Video for reference are attached in the Comments section
- For some reason from Unity 2019.1.0a5 or 2019.1.0a6, this issue does not reproduce anymore on iPhone XR
Tested with:
- iPhone 6, iOS: 12.2 - Not Reproduced
- iPhone 6 Plus, iOS: 11.4.1 - Reproduced
- iPhone 8 Plus, iOS: 12.0 - Reproduced
- iPhone XR, iOS: 12.0 - Reproduced
- VLNQA00121, Samsung Galaxy S9 (SM-G960F), Android 9, CPU: Exynos 9 Series 9810, GPU: Mali-G72 - Not Reproduced
- VLNQA00002, Samsung Galaxy S5 Neo (SM-G903F), Android 6.0.1, CPU: Exynos 7 Octa 7580, GPU: Mali-T720 - Not Reproduced
- VLNQA00052, Xiaomi MI MAX (MI MAX), Android 7.0, CPU: Snapdragon 617 MSM8952, GPU: Adreno (TM) 510 - Not Reproduced
Reproduced on Unity 2017.4.0f1, 2017.4.32f1, 2018.3.14f1, 2018.4.7f1, 2019.1.14f1, 2019.2.3f1, 2019.3.0b1 and 2020.1.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
- Missing script error when clicking “script” link in Cave scene’s Water Sample Description
- [VFX Graph] Set Position Shape Gizmo isn't refreshed after shaper switch
- NullReferenceException is thrown when trying to access volumeStack from the HDCamera class
- Visual artifacts appear when using an Orthographic camera with a Reflection Probe
- Not all animation properties are accessible when a prefab with an avatar model contains a nested copy of itself with a renamed GameObject
Resolution Note (2020.1.X):
This particular case has been investigated thoroughly and we have decided, in the interests of protecting the stability and features of Unity for users that rely upon the affected versions, to not address this fix for the time being. We understand that this will cause problems for some users, and so may address in a future version.