Search Unity

baseStateInfo.nameHash delay

Discussion in 'Unity 5 Pre-order Beta' started by snacktime, Feb 27, 2015.

  1. snacktime

    snacktime

    Joined:
    Apr 15, 2013
    Posts:
    3,315
    baseStateInfo.nameHash is not getting updated nearly as quickly as it was in unity 4.x. I used to just check if the animation I wanted to fire was the same animation in baseStateInfo.nameHash, but now I'm having to use my own state variables to manage this because it takes too many frames for baseStateInfo.nameHash to reflect the actual state, which results in animations playing 100ms or more past where they should.

    Chris
     
  2. snacktime

    snacktime

    Joined:
    Apr 15, 2013
    Posts:
    3,315
    Ah I see it's been deprecated, that explains it.
     
  3. snacktime

    snacktime

    Joined:
    Apr 15, 2013
    Posts:
    3,315
    Well actually no, same problem when using fullPathHash.
     
unityunity