Im trying to make a fps system using ViewportFrames and skinned meshes, The basic setup is 2 meshes Left arm and Right arm, with surface appearance textures in a WorldModel inside a viewportframe. The meshes are being controlled via animations in a local script. And the viewport camera is set between the arms.
But for some reason the Viewportframe is freezing and lagging in the published game, but is smooth and fast in roblox studio?
Studio-
https://cdn.discordapp.com/attachments/744803012546920529/874307747473162240/StudioRef.mp4
Published Game-
https://cdn.discordapp.com/attachments/744803012546920529/874307763084353597/GameRef.mp4
What could be the cause, Is this a bug or is it meant to be like this for optimization reasons?