Search Issue Tracker

Won't Fix



Found in









Issue ID




[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 "" 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

- 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

  1. Response avatar

    Resolution Note:

    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.

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.