Client sided animations no longer playing immediatly after being parented when StreamingEnabled is true

My enemies’ walking animations no longer play. This was working yesterday with no issues and I haven’t changed anything relating to this since then. These enemy models are fully created on the client, parented to workspace, and then the animation is played. For some reason this now only works when StreamingEnabled is turned off. The server has zero interaction with any of these models (they don’t even exist on the server). Seems super peculiar that Streaming has anything to do with this.

Example shown here(this happens in both studio and live game):

Here is a video of the same issue on a baseplate:

And here is a file to the reproduction baseplate:
AnimationBugBaseplate.rbxl (60.4 KB)

If you are going to test this baseplate file, make sure the AnimationId is something you own as I am aware that that is known to cause animations to not play (this is NOT my issue here)

To prove even further that this is a recent Roblox bug I even opened an older version of the game from a couple days ago that I can say with 100% confidence was working as intended, and the same issue is there now too.

Workarounds:
-Setting StreamingEnabled to false
-Adding a task.wait(1) before loading the animation

This does not play the animation when StreamingEnabled:

local animation = game.ReplicatedStorage:WaitForChild("Animation")
local enemy = game.ReplicatedStorage:WaitForChild("enemy"):Clone()
enemy.Parent = game.Workspace
local track = enemy.AnimationController.Animator:LoadAnimation(animation)
track:Play()

This does play the animation when StreamingEnabled(after a delay obviously):

local animation = game.ReplicatedStorage:WaitForChild("Animation")
local enemy = game.ReplicatedStorage:WaitForChild("enemy"):Clone()
enemy.Parent = game.Workspace
task.wait(1)
local track = enemy.AnimationController.Animator:LoadAnimation(animation)
track:Play()

I would just like to reiterate that this was not an issue yesterday(exact time is unknown). And also that these workarounds are less than ideal for the time being.

6 Likes

Thanks for your feedback!
We are attempting to fully support streaming of animations on ModelInstances.
Yesterday’s configuration change allowed for models to receive updated animation state when streaming in after a period of absence.
However it did not detect the case of locally-created, unreplicated NPCs, which should not rely on server data.
We have reverted the configuration change until we have a solution for local-only NPCs like yours.

4 Likes