Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  3. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

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,356
    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,356
    Ah I see it's been deprecated, that explains it.
     
  3. snacktime

    snacktime

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