Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. 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 Movement jitter unless changing stuff in editor

Discussion in 'Editor & General Support' started by Dyspen, Mar 17, 2023.

  1. Dyspen

    Dyspen

    Joined:
    Mar 28, 2016
    Posts:
    7
    Hi,

    I have a strange bug/challenge. I have a character who can be moved around just fine. There is also a dog. The dog can be issued commands, such as following the character.

    Sometimes this works fine, sometimes it is broken. It seems random. There are no errors.

    The dog uses a character controller and moves with the move() function. When it is broken, the dog will 'jitter'/move occasionally, but whenever something is changed in the editor, it starts moving. It does not matter if this is a change on the actual dog gameobject or simply just moving the mouse around in the editor, or as in the video - changing a random variable on an unrelated script. It is just the dog that has this strange behaviour, everything else moves as expected.

    Here is a video showcasing the issue:



    I've been troubleshooting for a while now, but nothing seems to consistently fix it. I don't even know where to look in regards to debugging anymore. The behaviour is the same on other machines. Has anyone ever encountered something similiar?

    The behaviour does not transfer to builds.

    Unity version: 2021.3.16f1
     
    Last edited: Mar 17, 2023