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
2
Question by kimberleyhansen · Sep 27, 2012 at 07:53 AM · animationprefab

Prefab animations grey'd out

http://i.imgur.com/G9XgW.png

I swear to god, hand to heart, I've tried everything I can think of with this. Googled everything, read every post I could find. No dice. That said, this is almost certainly the noobiest question ever, and for that, I'm sorry.

I'm trying to edit animations on a prefab, but the animations are greyed out. My programmer set them up. I'm almost positive he set them up in Unity, not Maya (because he hates Maya). I can't edit them, and I don't know why. The objects are spawned at runtime, so there are no in-scene objects that I can change animations on. I've tried duplicating the prefabs...but the animations on the duplicated prefabs are also un-editable.

Please let me know if I can give you more information. My programmer is unreachable for the next few days, and I'm getting pretty desperate.

alt text

Thanks in advance,

Kim

g9xgw.png (69.0 kB)
Comment
Add comment · Show 1
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 SarperS · Sep 27, 2012 at 01:36 PM 0
Share

Did you try putting the prefab into the scene before editing the animations?

2 Replies

· Add your reply
  • Sort: 
avatar image
3

Answer by hvilela · Sep 27, 2012 at 01:47 PM

Create an instance of your prefab (drag it to the hierarchy or scene panel), select the instance, edit the animation than drag the instance (from the hierarchy) to the prefab (in the project panel).

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 Bunny83 · Sep 27, 2012 at 02:01 PM 0
Share

Right, or just press the "apply" button on the instance in the inspector ;) You can't edit animations on prefabs because they do not "physically" exist in the scene.

avatar image Tigerstickfigure · Oct 23, 2014 at 05:49 AM 0
Share

Thank you Bunny83! I had an instance of the prefab in the Hierarchy, but it was not letting me edit the animation until I clicked "apply". You are a life saver!

avatar image
2

Answer by Bunny83 · Sep 27, 2012 at 01:47 PM

Grayed out components on a prefab means it's not a prefab created in Unity but it's a ModelPrefab that has been imported. Imported prefabs can't be edited in Unity since it's usually an FBX file which can't be changed by Unity.

The usualy way when you want to edit the prefab in general is to create another prefab in Unity and fill it with imported model. Now you can edit the components of the prefab, but the animations are still imported assets in the modelprefab. You can duplicate animationclips by pressing "CTRL + D". You have to replace the AnimationClip in the AnimationComponent's animations array with your newly created asset. This duplicated AnimationClip can be edited in Unity.

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 Daniel-Talis · Apr 05, 2014 at 09:23 AM 0
Share

This solved my problem, most appreciated.

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

13 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

Related Questions

VUFORIA: Playing an animation for a instanced model? 2 Answers

Child Animation synced with Parrent objects Animation 0 Answers

Empty animation clips when copying to Prefab 1 Answer

Attaching scripts to Prefab objects... 1 Answer

creating animation made my each prefab spawn at same position 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