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 /
This post has been wikified, any user with enough reputation can edit it.
avatar image
0
Question by NylesB · Jun 18, 2015 at 11:29 AM · animation2dwindows

Dragging animation onto object gives no option to name animation on creation [Windows/Unity 5.1]

I've been working on the 2D Roguelike tutorial offered by Unity and ran into an issue with animations. In the video, we create animations from a sprite sheet by highlighting a set of frames, then dragging them onto the appropriate object. In the video when this is done, Unity prompts the user to specify where the animation is created as well as a name (see 54s on the video); however, when I do this I get no such option. I do note that the video is done using a Mac and I have Windows, but I hope a solution exists still.

This is very frustrating because it forces me to find the animation at the end of my sprite list, rename it, drag it to the animations folder, and then rename the state inside my animation controller.

Several people have had this same problem, as they mention in the video comments, but I have not been able to find a solution thus far. Thanks in advance!

Comment
Add comment · Show 2
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 Idji · Jul 19, 2015 at 09:45 PM 0
Share

hi, same problem. is any solutions?

avatar image ivarg · Nov 26, 2015 at 11:05 PM 0
Share

Select your Animation or Controller in the Assets list, select the desired asset and hit F2 to rename.

3 Replies

· Add your reply
  • Sort: 
avatar image
3

Answer by Idji · Jul 20, 2015 at 08:56 AM

Looks like it's not a problem. Look at this link http://forum.unity3d.com/threads/2d-roguelike-q-a.297180/page-7#post-2193338 and answer post after it.

In short, as i understand, in Unity ver 5.1+ there is no auto-show "New Animation Window", and things are work a bit another way. You can rename your animation simply select it and hit F2. After that you need manually rename it in animation controller. And if you(as me) don't know is animation applied to gameObject do next:

  1. Select game object

  2. hit ctrl+6

Now you see an animation of object. Currently you see only one, but if you click on name of animation, you will see drop down list with all animations, applied to object.

Another way: copy-paste from here http://forum.unity3d.com/threads/2d-roguelike-q-a.297180/page-7#post-2211494.

The most efficient way I've been able to figure out was to: select the desired frames from the sprite sheet, right click -> create -> animation (it let's you rename it as you do it), check the "Loop Time Box" in the animation, click and drag animation onto the player object (this doesn't create the sprite renderer), in the player object add component -> sprite renderer, click and drag the animation and its controller into their respective assets folders.

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
2

Answer by Cherno · Jul 19, 2015 at 10:04 PM

This is how you do it:

  1. Drag the selected Sprite(s) from the Sprite Sheet in the scene view or hierarchy.

  2. In the Animation window, you should see a message "To begin animatin XY, create an Animator and an Animation Clip" and a button "Create".

  3. Click the button, and the Animation component will be added, and a prompt to create a new Animation Clip will open.

  4. Create the clip, and then in the Animation window select SpriteRenderer -> Sprite.

  5. ???

  6. Profit!

Comment
Add comment · Show 4 · 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 Idji · Jul 19, 2015 at 10:20 PM 0
Share

i do 1 step. in second step - i open animatio nwindow and see that alt text

скриншот-2015-07-20-011919.png (226.2 kB)
avatar image Idji · Jul 19, 2015 at 10:23 PM 0
Share

looks like Animator and SpriteRenderr are apply to sprites automatically

avatar image NylesB · Jul 19, 2015 at 10:40 PM 0
Share

No message showed up when I dragged from sprite sheet to an empty opbject in the hierarchy. The animation window was open. The image Idji has is the same thing that happens for me.

avatar image Cherno · Jul 20, 2015 at 09:17 AM 0
Share

Don't drag the sprite to an empty gameobject. Just drag the sprite to the scene so a new GO is created.

avatar image
0

Answer by Idji · Jul 20, 2015 at 06:26 AM

Look for explanation here

http://forum.unity3d.com/threads/2d-roguelike-q-a.297180/page-7#post-2193338

and here

http://forum.unity3d.com/threads/2d-roguelike-q-a.297180/page-7#post-2211494

In short, as i understand, there is no window, what we see in the tutorial in Unity ver. 5.1 it's work in a bit another way. So you can drag tiles on gameobject, and animation will create automatically. Then you manuall can rename animation of press ctrl+6. After that you need to rename it in Animation Controller.

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

2D Animation does not start 1 Answer

Sprite alpha animation stop working in Unity 4.5? 1 Answer

Animation disturbing circular rotation 1 Answer

Custom AsyncOperation to show LoadingImage for slowish XML conversion & email upload method in Unity? 1 Answer

Setting animator parameter on a single instance of a prefab sets the parameter for all instances 3 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