• 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
Question by cregox · Jul 19, 2013 at 08:45 PM · editorserializationexternal-vcs

Could not serialize text file - out of memory

I got my editor settings asset serialization mode to "Force text". Recently we've added two 90mb .anim binary file which keep bringing this error on Unity Editor:

Could not serialize text file xxxx because an error ocurred - we probably ran out of memory. Error in file: C:/BuildAgent/work/(...)/Runtime/Serialize/TransferFunctions/YAMLWrite.cpp at line: 138

Where xxxx is that file and the second line is not even in the copiable stack part of the Console.

Evidently, whenever we touch the file in any way (such as with git, renaming the file, or moving it away from Assets and then back) the error comes back - because the file was never properly converted to text.

This still happens now, even on Unity 4.2.2.

I've already filled a bug with Unity team, unanswered, so I still wonder... Is there any way to solve this?

Comment
Benproductions1

People who like this

1 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 Benproductions1 · Jul 22, 2013 at 12:19 AM 1
Share

This should be reported as a bug :)

avatar image cregox · Jul 22, 2013 at 04:35 PM 0
Share

@Benproductions1 so true. I didn't even think about doing it...

avatar image Tomer-Barkan · Nov 06, 2013 at 08:46 PM 0
Share

According to this post, they had a problem when working on many assets at the same time. Maybe try creating a new project with just that asset, convert it to text, and then import it back to the original project?

avatar image cregox · Nov 07, 2013 at 10:06 PM 0
Share

@tbkn back then I did just that to report the bug, and well, the bug is indeed there. Same error would occur with an empty project and just that file. I just got that project and tested it today and the error is still there. I'll make the question more clear, though.

0 Replies

  • Sort: 

Unity Answers is in Read-Only mode

Unity Answers content will be migrated to a new Community platform and we are aiming to launch a public beta by June 9. Please note, Unity Answers is now in read-only so we can prepare for the final data migration.

For more information and updates, please read our full announcement thread in the Unity Forum.

Follow this Question

Answers Answers and Comments

17 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

Related Questions

What would be the best way to go about loading and saving a Serializable object in JSON with Unity? 0 Answers

Serialization depth limit 7 exceeded 1 Answer

Force reimporting scriptable object from text-based asset file 1 Answer

How to make a serialized editor only field 2 Answers

PropertyDrawer and EditorWindow 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