Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct here to familiarize yourself with the rules and how to post constructively.

  2. Unity 2022.1 is now available as the latest Tech release.
    Dismiss Notice
  3. Improve your project's performance with our new guide on profiling in Unity.
    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,330
    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,330
    Ah I see it's been deprecated, that explains it.
     
  3. snacktime

    snacktime

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