Search Unity

AnimationState loosing WrapeMode

Discussion in 'Editor & General Support' started by Harry1960, Dec 3, 2007.

  1. Harry1960

    Harry1960

    Joined:
    May 15, 2007
    Posts:
    136
    Last week we've ported our project from unity 1.6.2 to 2.0.2. Since that conversion many AnimationStates change their behaviour over time. All AnimationStates get their WrapMode set in the Start() function either to Once or Loop. The new behaviour now is that a AnimationState with wrap mode Once gets played in Loop mode after a while.
    The AnimationState never got changed in code since its initialization. To fix it I set the corresponding wrap mode before each Crossfade(). Is this a known bug or there new rules when crossfading animations?