Player Prefab scale automatically goes to 1 x 1 x 1 whereas I have set it to 0.48 x 0.48 x 0.48

For my 2D Platformer, I have a character which has a skeletal/bone-based animation.
It’s a prefab and I have set its scale to 0.48 x 0.48 x 0.48. Whenever I go in the play mode it seems fine until I move the player. Once I press the key to move its scale goes upto 1 x 1 x 1. It’s weird that I have already set the scale to 0.48 x 0.48 x 0.48 in the prefab transform.

If anybody could help me in this, would really appreciate it. Thanks!

You can do to things:

  • check your code for uses of localScale, which alter the scale
  • Disable the animator. If that solves it, you have animations that drive the scale.