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 RJClarke · Apr 17, 2013 at 07:34 AM · animationplatformsharingteam

Anim files lose animations when passing project to partner

Hey guys. I work with a partner on Unity projects, and we know Unity can be picky, so we're never in the same project at the same time. My partner uses Windows, and I use a Mac, so when she is done with animations, I open the project and allow it to recompile so I can begin work in the iOS platform (I have a Pro account, and she only has the ability to work in the PC/Mac standalone platform).....

When I open up a scene, none of the animations work at all, and there is no data in the Animation tab. Should we have exported the entire project, just so that I could open it? Or just export each scene with the animations inside of it, and import them all individually? We still have a backup of the old project before I opened it, I just fear opening it, obviously.

I guess I'm not sure what's causing the problem, and what I can do to fix it/avoid it in the future. I must be doing something wrong.

We always update together, so we are on the same version of Unity (3.5.7f6). And I copy and pasted the entire Directory into another folder before I opened it to work on.

That's all the information I can think of... If you have any suggestions, or help, it would be greatly appreciated!

Thanks.

Comment
Add comment · Show 4
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 TonyLi · Apr 17, 2013 at 02:27 PM 2
Share

What format are your original animations? For example, are they built into your imported FBX file? Or are they separate FBX or .anim files? If you inspect the original file (e.g., FBX model with animations), do the animations show up?

If so, you might try this: drag an animated scene object into the hierarchy to make it a prefab. Then open your project on the other platform and see if the prefab's Animation component is intact.

Does it work better if you export the scene (and all dependencies) on one platform and then re-import it on the other?

In any case, I recommend version control. In fact, I'll pose that as an answer. :-)

avatar image RJClarke · Apr 17, 2013 at 07:56 PM 0
Share

We did all the animation in Unity. So all the animations are solely ".anim" files, as far as I know. We only use Unity in our workflow, so we're adding all textures, and creating all materials, scenes, and animations directly in Unity.

And we haven't done any exporting of scenes or anything else yet. I'll have to wait for her to be able to open the other project and walk her through it, as I don't want to mess it up trying to do so on my machine. I assume we'll have to do scene by scene exports to resurrect this project (crossing my fingers that works).

Any idea why the .anim file would just lose all information attached too it though? Or do they not store animation data? I can't even drag in the .anim's from the functional project, because they still come in empty.

avatar image TonyLi · Apr 17, 2013 at 11:48 PM 1
Share

The .anim's store animation data. If you highlight one in the Unity editor, what does the Inspector show? And if you exa$$anonymous$$e one in Explorer/Finder, is it the right size? $$anonymous$$aybe they're co$$anonymous$$g across as zero-byte files somehow.

If I may suggest a future tip for scenes (one I learned the hard way), only put prefabs in scenes. The only exceptions are empty game objects used to group prefabs together. This way, if you modify a prefab (for example to fix the Animation component), you only need to do it once, and it applies to all of your scenes. Otherwise you have to make the same edit to every instance of the object in every scene.

avatar image RJClarke · Apr 20, 2013 at 02:12 AM 0
Share

They're all co$$anonymous$$g across as 10 kb files. But it's the same file size before and after the transfer. So I assume something just gets messed up in the Library when you're making that kind of switch.

Having her export the scenes as packages, and me import them, seems to be the easiest short term solution. While looking into SVN is probably the best to avoid future mistakes. :)

Prefabs isn't a very good solution for us, because every single Scene uses new materials/textures/animations etc. We really don't reuse anything. (not because we're reckless, but because it's the nature of the project!). Thanks again for all the help!

1 Reply

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

Answer by TonyLi · Apr 17, 2013 at 02:28 PM

If you set up a lightweight version control system, such as SVN, each of you can maintain a working copy on your own platform, and you can both work on the project at the same time so long as you're not working on the same asset simultaneously. Here's some info on version control:

http://docs.unity3d.com/Documentation/Manual/ExternalVersionControlSystemSupport.html

http://blog.teamthinklabs.com/index.php/2012/04/11/unity-3-5-and-svn-now-easy-and-free-for-all/

http://gamedev.stmartins.edu/2011/07/unity-workflow-with-svn-for-small-teams/

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 RJClarke · Apr 17, 2013 at 08:01 PM 0
Share

Thank you very much!

I'll read up and try to implement this once I figure it out. At the very least, it should save future headaches :)

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

12 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

Related Questions

Can I make animations snap to a frame? 1 Answer

Character Animation Gets Rid of Idle Animation 1 Answer

Animation Problem 2 Answers

Unity not importing blender animations at all 7 Answers

Quaternion to matrix conv. error 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