Is there a way to get the amount of Tracks that has been loaded by the Animator?

Hello, in the developper stats metrics i have this warning :

But i can’t figure out what cause this problem in the game. I’ve tried everything to get the warning on my console developer but I can’t, so I don’t know.

Is there a way to get the total amount of Tracks loaded to the Animator to print it so i can figure out the issue ?

Thank you for the help

well theoretically you could just have variable tracks_loaded
and then increase it by one every time you load a track.

local animator = workspace.animator
local tracks_loaded = 0

function load_track(track:AnimationTrack)
     animator:Load(track)
     tracks_loaded += 1

     print(tracks_loaded)
end

load_track(my_track)
1 Like

Thank you for your help. Yes i think it’s not possible to get the amount without tracking the animations. I may have found the issue.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.