- Home /
Sprites automatically become smaller
I am instantiating a few sprites from the prefabs. The transform components of the sprites are not changed. The sprites become smaller automatically without any code acting on them. The size of the collider however remains the original size. Please check the screenshot. Stuck on this for long time. Need help. No script acting on those sprites. They just become smaller.
If you have parenting, the scale of the parent affects the child.
See the colliders are perfect. Just the sprite beco$$anonymous$$g small only from one side
Check the sprite file ins$$anonymous$$d of the object... I don't have a lot of experience with sprites in Unity but in 3D when you import a model you have an option for scale and it starts as 0.01, is there something similar for sprites? or size or something that for a reason or another might have changed to less than 1?
I find absolutely no reason for anything. All the sprites are imported exactly the same way. So there is no reason for it to become smaller
Your answer
Follow this Question
Related Questions
Scaling On Different Devices Issue 0 Answers
How can I change sprites when player enters Collider?????? 2 Answers
physics.OverlapSphere colliders 1 Answer
How to generate exact match polygon collider from a sprite 3 Answers
How can I dynamically change colliders when animating a 2d sprite? 0 Answers