Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Strange random black glitch

Discussion in 'General Graphics' started by thibouf, Oct 15, 2018.

  1. thibouf

    thibouf

    Joined:
    Mar 17, 2017
    Posts:
    105
    Hello,

    We have some players complaining about some strange blinking glitches in our game. Here is how it look :
    upload_2018-10-15_17-56-33.png

    I cannot reproduce on my device, but the problem seem reproduced for several user with different devices...

    The black zones does not match any in game element... One player said that the glitches change position when he restart the game..

    Does anybody have any idea of what could cause this type of artifact to help me trace the origin ?
     
  2. thibouf

    thibouf

    Joined:
    Mar 17, 2017
    Posts:
    105
    Hello,

    Asking again as I cannot figure the origin of the problem ....
    Here is a different screen shot :

    upload_2018-10-19_11-52-12.png

    As you can see, it seems that some triangles are rendered totally black, with the wrong resolution / and some time wrong position. Please note that its flickering, so they may appears then disappear.
    Problem seems to be only on some Android device (ex Galaxy Tab S2 ), but necessary for all same device ....

    It is really hard to track down as we don't have any device with the problem ... So iterating is very slow (we need to send a build to a nice user that is willing to test ...)

    Any idea what may be the cause , so I can try disabling it / change it ?
     
  3. derkoi

    derkoi

    Joined:
    Jul 3, 2012
    Posts:
    2,255
    Hey, it looks like the same as my game, also happening on Galaxy Tab S2

    I've tried changing shaders etc but not fixed it yet.

     
    tym8557_unity likes this.
  4. thibouf

    thibouf

    Joined:
    Mar 17, 2017
    Posts:
    105
    Mhh yes , look quite similar issue.
    So, I may have a lead, it seems related to GPU instancing ... I have disabled it on all my materials , and problem seems gone...
     
  5. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,983
    Hi!
    On which Unity version and which specific device model is this happening?
     
  6. thibouf

    thibouf

    Joined:
    Mar 17, 2017
    Posts:
    105
    Unity 2018.2.13 .Here are some devices from the play store comment section related to this bug :
    - LG Stylo 2 Plus (ph2n)
    - Moto G Plus (5th Gen) (potter)
    - Blade X Max (stollen)
    - Galaxy Note9 (crownqltesq)
    - Galaxy Tab S2 (gts210vewifi)
    - Galaxy S8 Active (cruiserlteatt)

    But in the meantime we has some good review from different users with the devices, so it is hard to tell if the issue is not systematic on these device, or just some users don't care ...
     
  7. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,983
  8. thibouf

    thibouf

    Joined:
    Mar 17, 2017
    Posts:
    105
    Hey, thanks for the answer and the link to the bug report. 2 questions :
    - Any chance we get the fix on 2018.2 ? (The bug report says Fixed in: 2019.1.0a8 ...)
    - I am not sure enabling Vulkan is a real workaround ? Is it enough stable ? Is there has many devices compatible as with openGL ES 3??
     
  9. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,983
    The fix will be backported to 2018.3, but I'm not sure about 2018.2.
    If you're concerned about Vulkan, you can wait for a patch in 2018.3.
     
  10. thibouf

    thibouf

    Joined:
    Mar 17, 2017
    Posts:
    105
    Any new about an eventual backport of the fix to 2018.2 ? And yes I am a bit concerned about vulkan support to make the switch ...
     
  11. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,983
    No, I don't think it will be backported to 2018.2, as 2018.3 should soon be available.
     
  12. dandepeched

    dandepeched

    Joined:
    Feb 22, 2016
    Posts:
    31
    Hi all,

    I observe same problem with the latest 2018.4 Unity for OnePlus 3T (Adreno 530).
    Another model is Honor 10 (Mali-G72 MP12).
    Unfortunately this are users devices and I cannot use them to debug problem.
    Probably some other phones can also have this issue, but I'm not sure about this.

    According to the similar topic it can be problem with Mobile shaders (https://forum.unity.com/threads/flashing-textures-on-android-only.555544/#post-3691729).

    I cannot afford to switch my game to Standard shader, are there any alternative fix?
     
    Last edited: Dec 9, 2019