Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

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,650
    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.