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 /
avatar image
0
Question by marslizard · Feb 09, 2017 at 02:11 AM · animationanimationsanimation controller

Animation doesn't begin with first image in sequence

Wordy title, but I'm having an issue with creating animations out of image sequences. I have the separate PNG files numerically ordered, but when I drag them into the scene/hierarchy, SOMETIMES the animations begin with, say, the 6th image instead of the first. (Not always, but 9/10 times.)

Here is a screenshot of my image sequence, numerically ordered:

alt text

And this is what the Inspector bar for the animation looks like after I've highlighted the images and dragged them into the Hierarchy:

alt text

Starts with 302 instead of 300. And there's no change if I replace the sprite with the correct image. So it's weird.

Any help is appreciated! Thanks.

screen-shot-2017-02-07-at-81551-pm.png (78.1 kB)
screen-shot-2017-02-07-at-81600-pm.png (148.5 kB)
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

1 Reply

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by jabennett · Feb 12, 2017 at 05:40 PM

I noticed that your controller is labeled "igor scene 302", does this mean that you only have that one animation in the controller? If so, that would explain why your sprite isn't starting with "igor scene 300", and why you wouldn't be able to change it at run-time. You would want all of your related animations on the same controller in Mecanim.

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 marslizard · Feb 17, 2017 at 12:15 AM 0
Share

I went back and figured out the issue (still don't know how to fix, but I have a clearer idea of the problem). The sprite renderer is going through the animation during gameplay, which gave me the impression that it was starting in the middle. I want the sprite renderer to start at the beginning of the animation when clicked.

alt text

^that's the sprite renderer that changes continuously.

screen-shot-2017-02-16-at-71429-pm.png (40.5 kB)

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

6 People are following this question.

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

Related Questions

How do i orginize 8+ movement animations? 1 Answer

Animation Control 0 Answers

How to play the same animation for many objects(taken from the same prefab) but starting from different frames 1 Answer

Animation Rig Import Problem 1 Answer

Animations don't work with humanoid avatars 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