Search Unity

Bug SkinnedMeshRenderer don't work with Vulkan in the LW and HD Renderpipelines with GPU skinning

Discussion in 'Linux' started by mosaic_school, Aug 4, 2018.

  1. mosaic_school

    mosaic_school

    Joined:
    Dec 12, 2012
    Posts:
    74
    In a project with either the LW-RP or the HD-RP SkinnedMeshRenderer don't work. This is the case for Linux Players with the Vulkan API (e.g. starting with -force-vulkan) and the Linux Editor when started with -force-vulkan which prints the following errors:
    - Excepting 2 vertex streams for cimpute skinning
    - Compute shader (internalskinning): Propertrt (g_SourceSkin) at kernel index (7) is not set

    This is particular problematic for the HD-RP which requires Vulkan on Linux (at least in the editor)
    As a workaround, it's possible to deactivate GPU skinning in the player settings.

    I uploaded a sample project to test the behavior: https://www.dropbox.com/s/rzivlsu58v47fcn/LWRP-gpu-skinning-bug-vulkan.zip?dl=1

    Either
    - play the scene in the Linux Editor: All works fine in OpenGL mode but not when started with -force-vulkan
    Or
    - build a player and start the binary with -force-vulkan (again in OpenGL mode all works fine)
     
  2. Tak

    Tak

    Joined:
    Mar 8, 2010
    Posts:
    1,001
    We know about this one, and we're working on it.
     
    mosaic_school likes this.
  3. mosaic_school

    mosaic_school

    Joined:
    Dec 12, 2012
    Posts:
    74
    perfect =)
     
  4. jason_yak

    jason_yak

    Joined:
    Aug 25, 2016
    Posts:
    531
    We just came across an issue where skinned mesh renderers had stopped working on android devices after upgrading to 2018.3.5. Found this thread, disabled GPU Skinning and the mesh starts working. Was this ^^ bug fixed or still in work in progress?
     
    PixelJ likes this.
  5. hippocoder

    hippocoder

    Digital Ape

    Joined:
    Apr 11, 2010
    Posts:
    29,723
    Best file a report. You can never be sure if it's the same reason since skinned meshes touch a lot of code surface.
     
    PixelJ likes this.