Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Bug SkinnedMashRenderer + Cloth, makes the bounding box get Nan values.

Discussion in 'Physics' started by ClosingTime, Mar 1, 2024.

  1. ClosingTime

    ClosingTime

    Joined:
    Nov 23, 2016
    Posts:
    245
    I don't know what is going on exactly.
    But I have a skinned character, that has like a robe cover on it's leg.
    The rog cover is both skinned animated, and has a cloth simulation.
    The issue, is that somehow the bounding box of the robe cover, turns into Nan for center and size after running the scene.
    I do not know why it happens.
    If I change it to normal values, it becomes Nan again after running(in the editor, this is not in run time only).

    This in result cause the "dreaded" AABB error.

    Why does this happen?