Search Unity

Unity 5.5 Animator not working after making changes on playmode.

Discussion in 'Animation' started by GloriaVictis, Mar 23, 2017.

  1. GloriaVictis

    GloriaVictis

    Joined:
    Sep 1, 2016
    Posts:
    133
    Hello,

    After switching into Unity 5.5 from 5.4 I occured a issue where my character is not playing animations at all if I will do any changes on for example transitions while on playmode. It forces me to restart game everyime I want to do any tweak which makes me loose so much of time.

    On previous version animator was restarting to default state, and it was ok, now it just stops.
    Gyazzo included : https://i.gyazo.com/b2404ad02bec1dba664086c196d21969.mp4

    Anyone found a bypass for that issue yet?
     
  2. GloriaVictis

    GloriaVictis

    Joined:
    Sep 1, 2016
    Posts:
    133
    Same thing happens when you switch runtimeAnimatorController
    controller.Animator.runtimeAnimatorController = controller.FistsAnimator

    Time to rollback to Unity 5.4 than...
     
  3. DavidGeoffroy

    DavidGeoffroy

    Unity Technologies

    Joined:
    Sep 9, 2014
    Posts:
    542
    Which version are you running?
    I just tested a simple version of this in 5.5.2p4, and it was working
     
  4. GloriaVictis

    GloriaVictis

    Joined:
    Sep 1, 2016
    Posts:
    133
    5.5.2p1, I have also tested on a simple scene and it works. For some reason this issue is happening only in our main scene and I am looking for it (trying to remove as many things as possible and see when it will work).

    Actually, do you have any idea what I could look exactly for? Is that bug setting some animator flag which I could debug and check when it happens?
     
  5. DavidGeoffroy

    DavidGeoffroy

    Unity Technologies

    Joined:
    Sep 9, 2014
    Posts:
    542
    I really don't know; this is the first time I hear about this happening.
    I imagine this is an interaction between the animator resetting itself, and methods that you call on the animator.

    My first guess would be to check for code disabling the animator or changing controller at non-standard moments (physics callbacks, animator callbacks, etc...

    Even if you can't narrow it down, please file a bug