Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on March 30, 2023, between 5 am & 1 pm EST, in the Performance Profiling Dev Blitz Day 2023 - Q&A forum and Discord where you can connect with our teams behind the Memory and CPU Profilers.
    Dismiss Notice

Bug Unity 2021.1.11f1: Generated SkinnedMeshRenderer appears broken until editor restarts

Discussion in 'Editor & General Support' started by DavidPeicho, Jun 17, 2021.

  1. DavidPeicho

    DavidPeicho

    Joined:
    Nov 18, 2019
    Posts:
    14
    Hi,

    I have an asset processor pipeline taking multiple FBX and merging them as blendshapes into a single
    SkinnedMeshRenderer.

    When the mesh is re-generated, I first obtain a broken mesh with triangles scattered around. It looks like the triangle positions are good, only some of them are visible:

    bug.png

    When I restart Unity, the mesh re-appears correctly and all triangles are visible:

    bug-after-restart.png

    My processing hasn't changed and the algorithm is correct. It looks like for some reason the mesh appears broken but the topology might actually be perfectly correct (hence a restart fixing something).

    I was previously using Unity 2020.2.6f1 where I never experienced this issue.

    Anyone having the same issue? Could that be a newly introduced bug?

    Thanks!