Accessories improperly scaling when scaled gradually, seems like an engine/automaticscaling bug?

My game is experiencing a major bug regarding scaling accessories.

When gradually scaling the character by a small amount, accessories grow uncontrollably. This does not occur when instantly setting their size, nor when gradually scaling by large amounts.

Here is an example of the bug in action (Not using MeshPart accessories):

Here is an example with MeshPart accessories

Before today, this bug was not present, and I even reverted to previous versions, yet it persisted. It does not happen at all in studio, only in the live game. This suggests that roblox has recently changed something, causing my game to break.

I have tried many ways to workaround this bug, but none of them seemed to work. If there is a way to “reload” the hats and automatically scale as a workaround, please let me know.

Info about my game’s code:

-It uses a NumberValue called MainScale to keep track of their height. Connected to MainScale.Changed, is a function that changes all the humanoid’s scaling values accordingly.
-It tweens the MainScale of the character to gradually grow them. When I instead used a different method (using a while loop and some math) the issue still persisted.

Let me know if I need to provide more information about this. Any help would be awesome.

2 Likes

Can you further explain how the character is scaled? What method are you using to scale every part of the character?

I am using AutomaticScaling to scale my characters. MainScale changes the BodyHeightScale, etc, accordingly, and AutomaticScaling takes care of the rest.

1 Like

I am experiencing this same bug with my own code; however, it was working for a few months and then ever since the other day the bug happen every time my character gets rescaled.