AnimationClipProvider:RegisterAnimationClip() animations don't play on client side when in multi-client testing mode

Temporary animations created using AnimationClipProvider:RegisterAnimationClip() will not play on the client when in multi-client testing mode. The animation will still play normally on the server side. This bug doesn’t happen when using the regular testing mode.

The video below shows a temporary animation replicating from client to server but not playing on both.

RegisterAnimationClipRepro.rbxl (113.7 KB)

Thanks for the report! We’ll take a look at this issue.

1 Like

Hello, thank you for your patience. We have spent some time investigating this issue and determined it is expected behavior as this is a test function for use in local-only testing:

RegisterAnimationClip is not designed to work in a multi process scenario (as in actual regular client ↔︎ server model). Right now it will work on RCC if a server script calls RegisterAnimationClip and it will work on clients if a client script calls RegisterAnimationClip, but to have this work for both you will need to follow the instructions noted here and publish the animation:

Developers wishing to generate an asset ID that can be used online should upload the AnimationClip to Roblox.

Please reach out if you have any questions or further issues. cc @NotARobloxEngineer

1 Like

Thanks for your quick response.

If it matters at all, the reason I’m not just uploading my animations is because I have a jank research setup where I have to preprocess the keyframes of my animations. So creating temporary animations helps me iterate faster.

Related bonus clip:

Really nice movement and animation work. And got it, good to know that iteration speed is the primary benefit, which makes total sense, it’s just not unfortunately how the function is designed to work. I copied one of our lead engineers on this thread in case there is anything else we can do to assist your workflow.

It would be useful if I could automatically publish assets from a plugin.

We have have this function but it would be more useful if I could pass in specific instances and asset IDs to publish to.

1 Like

Got it. Let me follow up on that and see if there is anything in the works to provide publish-from-API functionality.

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