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.

Cloth physics problems when migrate from Unity 2018 to 2019

Discussion in 'Physics' started by Velorth, Sep 10, 2019.

  1. Velorth

    Velorth

    Joined:
    Feb 4, 2013
    Posts:
    11
    Hello!
    I try to upgrade a project from Unity 2018.3 to 2019.2 and there are some issues with cloth physics.
    1. Cloth constraints are misplaced (see attachment). I can fix them manually, it seems it is connected with mesh optimization.
    2. Vertex movements became too intensive and chaotic.
    3. Gravity influence seems to be wrong. Cloth vertexes are far from other colliders and looks like they gravitate along x or z axis.

    I hope somebody has already faced this problem before.
     

    Attached Files:

    unity_V16sPb0I8SVOuw likes this.
  2. unity_V16sPb0I8SVOuw

    unity_V16sPb0I8SVOuw

    Joined:
    Apr 1, 2019
    Posts:
    10
  3. stonebits

    stonebits

    Joined:
    Nov 29, 2018
    Posts:
    3
  4. SomeGuy22

    SomeGuy22

    Joined:
    Jun 3, 2011
    Posts:
    722
    1. That's documented in this thread.
    2. Experiencing stretching or distortion? Right now there's a couple of serious issues that relate to mesh density which I documented in the same thread.
    3. That was an issue for a long time, finally fixed in Unity 2019.2.6f1. I think that was also the source of some of the chaotic movement I got. I have more info about it here and it's possible it's not fully fixed.
     
  5. KarlKarl2000

    KarlKarl2000

    Joined:
    Jan 25, 2016
    Posts:
    600
    It was discussed in this thread for 2018.x .. was fixed by wonderful Unity Dev @SeanParkinson . But after updating to 2019.2.11 I'm experiencing the problems you guys are having now. Guess we just need to wait on a fix.

    https://forum.unity.com/threads/clo...ing-cant-paint-or-select.717104/#post-4859732
     
  6. SomeGuy22

    SomeGuy22

    Joined:
    Jun 3, 2011
    Posts:
    722
    Distortion in Editor appears to have a workaround if you disable mesh optimization for your cloth model. However, for me my cloth is still bugged in playmode because it starts flying around wildly with constraints. As I mentioned in the other thread I got an email for my bug report on this stuff that they're investigating it for 2019.3, which I would expect to release... in 2019. So hopefully in the next month at most. This is scaring me because I could have a release soon and I want to make sure everything is stable long before then. Cloth is such a huge part of how my game should look so it's a shame that it's been broken for months now.
     
  7. MasonWheeler

    MasonWheeler

    Joined:
    Apr 2, 2016
    Posts:
    210
    Cloth seems to still be badly broken in the most recent version. Here's a simple repro case for the Unity folks:

    1. Download Dungeons & Castles from the asset store.
    2. Load the "castle_interior" premade scene in Unity 2018. Run it inside the editor. Everything looks fine.
    3. Load the "castle_interior" premade scene in the latest Unity 2019. Run it inside the editor. Look at the banners hanging down from the ceiling. Holy crap, everything is completely broken! Even more so as you walk around the room and find that the banners flicker or even disappear entirely at certain camera positions and camera angles.
    Literally the simplest possible Cloth case -- a banner hanging straight down, with no wind and no objects to drape itself over -- and Unity 2019 fails spectacularly.
     
    Last edited: Feb 3, 2020
    id0 likes this.