Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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 /
avatar image
0
Question by keyp3r · Jan 05, 2014 at 08:04 PM · animationspritespriterenderersprite renderer

Sprite on SpriteRenderer not keyframing?

I have a sprite renderer in my scene and using Unity I am trying to create a simple cycle animation from my sprite sheet. To do so I'm simply opening the Animation window, creating a new curve and animation, then attempting to just swap out the sprite on the sprite renderer for a new one. Unfortunately whenever I add a new keyframe to the object all the keys previously on it change to be the new one.

For example, say I have sprites Run_00 through Run_05. Setting Run_00 to the first frame of the animation works fine, but adding a new keyframe of Run_01 will change the first keyframe to Run_01 as well.

This is pretty infuriating, and I just want to know if I'm doing something wrong. I've tested making a new positional animation and it worked fine, so I'm not sure whats wrong here. Thanks for any help you might be able to provide!

Comment
Add comment · Show 11
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 keyp3r · Jan 05, 2014 at 08:25 PM 0
Share

It's also worth noting that the actual images of the sprites in the animation window are correct. They're just not playing for some reason. Even in the preview window.

avatar image Invertex · Jan 06, 2014 at 05:31 AM 0
Share

When you choose Add Curve, are you then selecting Sprite Renderer>Sprite+? Once you do that, simply expand the sprite sheet in your prefab folder and drag the sprites you want onto the timeline, and position as needed.

avatar image keyp3r · Jan 06, 2014 at 05:36 AM 0
Share

I tried exactly that. As I said in my comment above, the correct frames are being shown in the dope sheet, they just aren't playing when I hit play (in either the animation window or at the top of Unity). = /

avatar image keyp3r · Jan 06, 2014 at 05:37 AM 0
Share

And I DO have Play Automatically checked (not that that matters for playing from the animation window).

avatar image Invertex · Jan 06, 2014 at 05:49 AM 0
Share

Could we see a screenshot of your animation window?

Show more comments

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by CorporalAl · Oct 08, 2014 at 02:32 PM

Try selecting all the sprites in your asset window and dragging them to your Hierarchy window. This will create a new animation in your scene that you can add frames to.

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

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

21 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

Related Questions

Changing one keyframe in my animation changes all of them 2 Answers

Unity 4.3 - Animating SpriteRenderer.Sprite With Legacy Animation 2 Answers

Change sprite in a sprite renderer with an animation 0 Answers

Platform Grills Scroll Animation - 2D Game 0 Answers

Translucent sprites appear solid 0 Answers


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