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.

Bug 3D person character floating and Navmesh AI root motion issue since update from 2018.2 to 2020.1b5

Discussion in '2020.1 Beta' started by truefx001, Apr 11, 2020.

  1. truefx001

    truefx001

    Joined:
    Jan 30, 2013
    Posts:
    132
    Hi,
    in my game, the 3rd person remote player (it's a multiplayer game) is starting to float when Idle after either using upper body animation to shoot with a weapon OR colliding being pushed by navmesh AI NPC's like animals attacking the remote player. I have not changed a thing since I upgraded my game from 2018.2 to 2020.1b4 and b5 . I also noticed that now some of the NPC animals I have to check Root Motion on to prevent them from snapping back their position when playing a walking animation (so pulled back and fort in position like if it would readjust the sync position of the NPC) but when root motion is checked it's working fine. Did something change in regards to physics, animations? How can I fix this?
     

    Attached Files:

  2. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,471
    Yes, they upgraded PhysX from 3.3.1 to 3.4.2 in Unity 2018.3 and in Unity 2019.3, they upgraded to PhysX 4.1. Not sure about animations, but you should be able to find that out in the release notes and upgrade guides I list below.

    I recommend you try to upgrade your project in steps:

    2018.2 to 2018.4

    2018.4 to 2019.3

    2019.3 to 2020.1
    ... and check at what point it falls apart.

    Changes are not necessarily listed in the upgrade guides. For example, the PhysX 4.1 upgrade is listed in the release notes only.
     
    Last edited: Apr 12, 2020
  3. truefx001

    truefx001

    Joined:
    Jan 30, 2013
    Posts:
    132
    I did the incremental update, it was not going to update from 2017, or even 2018 to the beta without crashing so I had to do it step by step over weeks (very large project), in 2018.2 it still worked, was busy with updating to 2019.2 did not test it for that version. BUT I found out that now I had to check Rootmotion and it would fix this at least it's not gliding or floating anymore, same with the animals animations they seem to not jerk back and fort when root motion is checked. Strange but at least some progress.
     
    Peter77 likes this.