Search Unity

Bug GPU Skinning related bug in 2018.4

Discussion in 'General Graphics' started by yzhuangaa, May 21, 2021.

  1. yzhuangaa

    yzhuangaa

    Joined:
    Feb 27, 2019
    Posts:
    22
    Our project enable gpu skinning feature in 2018.4 in android platform and we found a wird bug in certain scenario:
    1. when GPU skinning is enable.
    2. mesh with 2 bones and mesh with 4 bones exist in the scene at then same time.
    3. tangent is used in the shader.
    The skinned mesh model will glitch and some of the vertex will move toward to a point which proved to be start point of bones while the rest of the vertex remain normal.
    Just wonder anyone else encouter the same bug. We also found that this bug is fixed in 2019 and 2020 version as unity use same compute shader for 2 bones mesh and 4 bones mesh but in 2018 they use different compute shaders. And for some reason we cant move to higher version like unity 2019 or 2020 yet.
     
  2. yzhuangaa

    yzhuangaa

    Joined:
    Feb 27, 2019
    Posts:
    22
    The bug in found in xiaomi mix2 and Samsung g8.
     
  3. yzhuangaa

    yzhuangaa

    Joined:
    Feb 27, 2019
    Posts:
    22
    what the bug looks like in mix2,noticed that all 9 character models should be the same. Screenshot_20210115-045359_MyTestProject4.png