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 nick4T2 · Jun 08, 2011 at 10:50 AM · animationrigging

Disappearing Root on animations

Hi all,

We are using animations from Mixamo for a Unity project. Everything was working great up until yesterday, when two animations we downloaded appeared in Unity with no root.

Have checked all the anims in Maya and they all appear fine. Even more strangely I have re-downloaded an anim that was previously working, and on import to Unity there is no root, so now I have two versions of exactly the same anim, one with a root and one without?!

Can't tell what is stopping the root importing - have attempted to attach a screenshot for clarity on the problem (you should be able to see in the Project tab some anims have a root and some don't).

Any help or advice much appreciated.

animIssues.jpg

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

Answer by Paulius-Liekis · Jun 08, 2011 at 11:47 AM

I can't see your screenshot (screenshot of your setup would really help)

As long as your model and animation are in the same folder and you use model@animation notation Unity should add extra root as expected.

Comment
Add comment · Show 6 · 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 Emericanized · Aug 10, 2011 at 12:42 PM 0
Share

We are actually having this problem as well. We basically have a male and female version of our rigs, and one set of animations that plays on both (hierarchy named the same). The name of the animation did not originally keep it from importing properly, and we can just drag the animation file onto our TPoses.

If a TPose fbx gets renamed in unity, does it affect the animation files it's associated with? That's the only thing I think happened. In my version of unity (where i haven't renamed anything) the animations all import with their roots, and play fine. On someone else's, Unity seems to be deleting "Bip01" the biped root on import. The fbxs still have the complete rig and anim when brought back into the 3d software... So it's definitely something we're doing in engine/project!

This has happened on a project before, it happened when I changed the name of the animation to no longer match the name of the TPose. This doesn't appear to be the case currently.

Does anyone have an idea of while Unity would delete the root node, or how to get around it? Last time I fixed it through trial and error but it would be great to know reasons why!

avatar image Emericanized · Aug 10, 2011 at 01:19 PM 0
Share

Update: Ah-hah! The animations in question were being imported into a different folder(how it is organized on our SVN). Just like you said, as long as they're in the same folder!!

It would still be supremely helpful to find out why Unity goes through the trouble of hiding the root in this instance? Is there a functional purpose to that? Or...what exactly IS it doing? :P

avatar image Paulius-Liekis · Aug 10, 2011 at 03:16 PM 1
Share

@John: I think you're hitting a known design issue in Unity. If your file has more than one root object, then unity inserts another root for all roots. If file has just a single root, then Unity used it as a root. Because of this people run into this problem: in mesh file they have mesh and hips as roots in the file; in other animation files they have just hips, i.e. single root, so people get mismatched. The easiest workaround: just add a cube or any other node to file which has just a single root - then all files will be imported in the same way.

avatar image Paulius-Liekis · Aug 10, 2011 at 03:18 PM 0
Share

BTW: Unity doesn't hide roots - "it adds root to file which has multiple roots".

The first thing people say when they hear it: why don't you just add root to all models (no matter how many roots there are in the file)? Problem is: if you have just a single mesh (for example a cube), you want it to be imported as a single object without any extra roots...

avatar image Emericanized · Aug 10, 2011 at 09:04 PM 0
Share

Thanks for the explanation! That is starting to make more sense to me! Actually I think you may have told me before about the root matching issue in one of my previous questions! I didn't realize that it took affect when an animation file is placed in a separate folder from the assigned TPose! If I were to add a mesh or other root object to my animation files, does that allow them to be stored in separate directories? I still don't fully understand how the location and the structure relate to one another!

Show more comments

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

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Animation without rigging? 2 Answers

How to rig model enough to animate in unity? Just need skeleton? 4 Answers

Is it possible for two models to share one set of bones? 1 Answer

Aniamtion rigging, hand not holding gun? Transform 'Rig 1' not found in HumanDescription. 0 Answers

How do you add an animation to an imported 3D model? 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