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
1
Question by liuwanjiang · Dec 06, 2018 at 02:21 AM · animation clip

Extract animation clip from FBX file size grow way too large

alt textHello, I tried to extract an animation clip from an FBX file. Strange thing is that the file became way much larger after I ctrl + D it out. And another odd thing, It is fine in one project (ctrl D will create a smaller size clip file, since the mesh is not included). But in another project, the extraction tripples the size of the clip.

Anyone know why this happens?

screenshot.png (15.2 kB)
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 slake_it · Aug 16, 2021 at 02:07 PM 0
Share

did you manage to find out the reason ? or is it the same size after the build process ? Thanks

avatar image liuwanjiang slake_it · Aug 18, 2021 at 07:49 AM 0
Share

Same size after build. No need to worry about the size in editor.

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by Bunny83 · Dec 06, 2018 at 04:03 AM

How do you extract the animation clip? If your asset serialization mode is set to force text it may serialize the .anim file as text (YAML) in which case it's of course larger than any binary format. You may check the content of the file in a text editor. You may want to check the asset serialization mode in the settings.


Unfortunately currently you can't set the serialization mode for individual assets, only for the whole project. There's a trick that might work. You can have a seperate "import project" where you set it to force text and keep your actual project on mode "mixed". The mixed mode does not force change existing assets. New assets will be serialized in binary format. If you want an asset in text mode you would need to import it in your seperate project and copy the text serialized version over into your actual project. Due to mixed it should keep the text format. Though if you don't want / need text mode serialization you could simply switch to force binary.

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 liuwanjiang · Dec 06, 2018 at 06:06 AM 0
Share

Thanks bunny

I selected the clip in the fbx file and pressed ctrl + d. That's it, nothing else. The serialization mode are the same for both projects(force text). So probably nothing to do with it.

the castspell anim file. In one project 2653kb, and 766 for the other one.

The one in the screenshot (2653kb). That project is completely empty. Only 4 files in it.

avatar image
0

Answer by liuwanjiang · Dec 06, 2018 at 06:29 AM

I think I know the problem now. If i open the animation window and then crtl D. The file will grow larger. And it wont affect the actual size of the package after build.

Thanks

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

96 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 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 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 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 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 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 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 avatar image avatar image avatar image avatar image avatar image

Related Questions

How to use my animations clips in various models? 0 Answers

What do Animation Clip Summary labels mean? 1 Answer

how can I loop my walk animation 2 Answers

Are animation clips tied to game objects? 1 Answer

how do i put a animation clip into an animation game object? 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