Loading an Animation in a Model parented to Player.Character will create an internal duplicate Track

Steps to repro:

  1. Create a Model and place it under a Players Character (preferably from the Server)
  2. Have the client load an animation from the model and the player it.
  3. On a later frame, stop that animation (assuming it’s the only animation one playing)

Issue:
Instead of removing the animation, the engine will cause it to store a duplicate of that animation track named “Animation” to be always playing internally (presuming it’s a looped animation).

This causes a hidden animation track to be played that is undesired by the user

Calling Animator:GetPlayingAnimationTracks() will showcase that it is there and playing.

If you parent the Model outside of the Players character, this issue does not occur.

9 Likes

Just spent an hour (along with 2 others) investigating this - turns out it’s because Roblox creates a duplicate track :slight_smile:

My output is nearly the same as yours, I found the track and it was parented to nil:
image

This is a huge bug, the only workaround is to stop the track yourself. Extreme jank

5 Likes

Hi there,
Thanks for the report! We are looking into this issue.

2 Likes

Hi, this bug just came across my plate. Apologies for not getting eyes on this sooner. I’m having issues reproducing this problem. Would it be possible to get a place file that reproduces it?

animation_wacky.rbxl (82.3 KB)
Actually, the bug doesn’t seem to be repro-ing anymore, might have been fixed already, or perhaps only occurs in different conditions. Sorry for the ping

2 Likes

duplicateTrackReproR15_0.rbxl (72.8 KB)
Hi, apologies for bumping the thread but it seems this bug hasn’t been resolved as I was able to come across it in newer versions of Studio. I was able to reproduce this bug with steps extremely similar to the initial steps listed. LoadCharacterAppearance in StarterPlayers is disabled in attached file but should be negligent.

  1. Rigged character model is already placed under StarterCharacterScripts so that it spawns with and parented under the player (this should be functionally similar to the first step)

  2. Local script loads an animation and plays it onto the model (This local script is under the character model in StarterCharacterScripts in attached file)

  3. A duplicate track is created named “Animation” is created, which also continues to play even after the original AnimationTrack stops playing. (Though, this behavior does not seem to be replicated to the server, only the client.)

RobloxStudioBeta_rXbZ2zINft

1 Like

You may want to create a new bug report and just link this one, when a bug report gets closed it’s not very likely to get opened up again. A new report would help get some visibility to staff

1 Like