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.