Search Unity

  1. Calling all beginners! Join the FPS Beginners Mods Challenge until December 13.
    Dismiss Notice
  2. It's Cyber Week at the Asset Store!
    Dismiss Notice

Character changes into a broken pose when keying positions

Discussion in 'Timeline' started by arvzg, Aug 19, 2017.

  1. arvzg

    arvzg

    Joined:
    Jun 28, 2009
    Posts:
    574
    I've got a character like this, with an empty timeline with no tracks:



    Now I want to key in some positions and add a Run animation below that. So I press the record button and move her forward a tiny bit, and this happens:

    upload_2017-8-20_1-3-57.png


    Very strange. For reference, these are the components that she has:

    upload_2017-8-20_1-4-30.png

    If I drill down into her rig, her bones have indeed changed positions and rotations to some arbitrary looking numbers, no idea where they came from. She looks like she's in the default muscle testing pose, except if you look under the ground her legs are all messed up:

    upload_2017-8-20_1-6-18.png

    I'm using Unity 2017.1.0p4

    What is happening here?
     
    Last edited: Aug 19, 2017
  2. seant_unity

    seant_unity

    Unity Technologies

    Joined:
    Aug 25, 2015
    Posts:
    1,068
    There is a fix for this coming in the next patch. To get around it until then, place your run animation on a track before that one.
     
    arvzg likes this.
  3. Mystiq

    Mystiq

    Joined:
    Aug 31, 2013
    Posts:
    8
    Is this related to one I've seen where my character model centers at 0,0,0 and when I try to move it, the the bones move instead? This seems to fix itself slightly if I remove the root bone from the mesh renderer.
     
  4. sephytreebeard

    sephytreebeard

    Joined:
    Aug 16, 2015
    Posts:
    7
    this is still happening in unity2019.2
     
  5. seant_unity

    seant_unity

    Unity Technologies

    Joined:
    Aug 25, 2015
    Posts:
    1,068
    @sephytreebeard - can you provide a repro case, gif or any extra details? The differences in animation tracks between 2017.x and 2019.x is pretty substantial.
     
  6. sephytreebeard

    sephytreebeard

    Joined:
    Aug 16, 2015
    Posts:
    7
    reproduced with adam model(free), etthan model(free) , pbr soldier

    simply added the first keypose transform position when recording,

    having trouble uploading the clip
     
  7. sephytreebeard

    sephytreebeard

    Joined:
    Aug 16, 2015
    Posts:
    7
  8. sephytreebeard

    sephytreebeard

    Joined:
    Aug 16, 2015
    Posts:
    7
  9. seant_unity

    seant_unity

    Unity Technologies

    Joined:
    Aug 25, 2015
    Posts:
    1,068
    Thanks. I'm a bit surprised that a) we overlooked that, b) we haven't come across it and c) that it wasn't fixed in the many changes to both animation and preview... but you are completely correct. It's still there - but only happens on humanoids.

    I'll open a bug and we will get a fix as soon as possible.
     
    Pathojen, arvzg and sephytreebeard like this.
  10. Pathojen

    Pathojen

    Joined:
    Feb 4, 2019
    Posts:
    7
    Has this bug been fixed yet in any new releases?
     
  11. Pathojen

    Pathojen

    Joined:
    Feb 4, 2019
    Posts:
    7
    I updated my project to the latest version of Unity (2018.4.10f to 2019.3). Now I can't do anything to fix the rig, like it is programmed to stay broken. It also gives me an error message claiming that humanoid bone rotation is no longer supported.
     
  12. seant_unity

    seant_unity

    Unity Technologies

    Joined:
    Aug 25, 2015
    Posts:
    1,068
    Unfortunately, the bug (as reported) is still open - although your issue with the rig sounds like a different problem.