Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
0
Question by ghsfan3 · Dec 07, 2016 at 08:21 AM · animationsprite2d gamescalesize

My sprite size changes between animations?

Hey guys so I'm working on a simple 2d game and I got my 'idle' and 'running' animations set up. For some reason, when it transitions to 'running' from 'idle' the scale changes from what I want it to be to very small. I've never had this problem before and I don't know how to fix it. I've tried changing the scale within the animation window, however that just brings up more problems. I've had a look for anyone else with this problem but the answers I found weren't very helpful. I know the answer is probably very simple but right now I'm at a loss. Can anyone help?

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

4 Replies

· Add your reply
  • Sort: 
avatar image
2

Answer by Awesome123321 · Apr 20, 2019 at 09:34 PM

Hi,

I found that the issue in my case this was caused because I had changed the sprite draw mode in the inspector from sliced to simple, after reverting it was fine.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Gooseless · Jan 28, 2020 at 09:19 AM 0
Share

I had a similar problem as OP and this reply fixed it for me. Weirdly enough though, everything was the opposite (my sprite would be too large when idle and changing the draw mode from simple to sliced fixed it).

avatar image
0

Answer by Mergster · Dec 07, 2016 at 07:50 PM

So, in the animation window, you need to delete any key that says scale so you will only have the sprite key

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by ghsfan3 · Dec 07, 2016 at 10:36 PM

@Mergster Thank you so much for your response, but it turned out that when my computer crashed yesterday it changed the size of my different sheets for some reasons unknown to me. Aren't computers just the best? Anyway I really appreciate you taking the time to try and help, thanks!

Comment
Add comment · Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Mergster · Dec 07, 2016 at 10:39 PM 0
Share

You're welcome. Is the problem all fixed now?

avatar image ghsfan3 · Dec 07, 2016 at 10:43 PM 0
Share

Yup, all sorted :)

avatar image Mergster ghsfan3 · Dec 07, 2016 at 10:43 PM 0
Share

Awesome ;)

avatar image
0

Answer by togaykurtulus · Mar 22, 2021 at 03:38 PM

I ve an issue like this. I know the sprites have same size and i simply drag drop the sprites to the animation. But when it switches from Idle to walk the sprite’s scale turn into a massive size. What do you think, why would this happen? Thank you

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image AbdullahKhan07 · Apr 16, 2021 at 10:24 AM 0
Share

did you find any solution for that ? exactly same problem, i am facing right now?

avatar image togaykurtulus AbdullahKhan07 · Apr 16, 2021 at 12:29 PM 0
Share

Oh yes. But there are several reasons if you have over size animation sprite. I can tell my issue. I made the animations from a sprite sheet. But In animation window there was a "size" node. I erased the whole "size" points of the animations and that was fixed.
And you might look at the movement script. If you flip the player with "scale" probably you set to right "1" to left "-1" and if your spirte size has a different scale so this makes the issue. You might make them equal.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

166 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Unity2D animation and sprite layout 0 Answers

Resizing sprite? 1 Answer

Why default animation state rewrites scale of an object? 0 Answers

Animation Panel: how to turn an existing loop into just a standing sprite and then implement it 0 Answers

My game Object is bigger when runninng the game than in edit view 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges