#Need help animation track not playing after reaching 256 tracks

1 messages · Page 1 of 1 (latest)

opal void
#

Ok so the animation stops playing after a while (max track allowed) and no more animation track will be played anymore and I need help Fixing it. The localscript is in startercharacterscript.

fathom kiln
#

this thread?

#

max animation tracks error is exactly what it says on the tin - you did humanoid/animator:LoadAnimation too many times and it wont load more. the limit is around 255

#
#

@opal void

opal void
#

Yeah I tried to remove the track and deleting them

#

but it still wont disappear

fathom kiln
#

track:destroy wont fix it

#

you can't remove them roblox doesnt have a thing for that

#

need to load the track once and use that

#

if you disable/re-enable the animate script repeatedly it will cause the error too because repeated animator:loadanimation on the same animation

#

the limit is with the animator/humanoid and is related to networking animations

opal void
#

Oh so I have to reuse the same animation and not create new one?

fathom kiln
#

yes

#

the same track

#

the animation object is the thing you put the animation id in, thats all it does

opal void
#

Thanks ive been trying for hours

fathom kiln
#

the animation track is created by the humanoid.animator

#

the animation track count, i.e max number times you can call loadanimation per humanoid (resets on character dies and respawn) is around 255

opal void
#

So if i still cant fix it another way of solving is resetting the player character?

fathom kiln
#

yes but that would be disruptive to your game most likely

#

using loadanimation every time you want to use an animation is very common mistake to see beginners make

opal void
#

Ok thanks for stopping by @fathom kiln

#

I think i fixed it now