- Home /
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?
@Benproductions1 so true. I didn't even think about doing it...
According to this post, they had a problem when working on many assets at the same time. $$anonymous$$aybe try creating a new project with just that asset, convert it to text, and then import it back to the original project?
@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.
Your answer

Follow this Question
Related Questions
Scriptable Object resets after Unity is closed 2 Answers
Is EditorUtility.SetDirty restricted to prefabs or inspected GameObject? 5 Answers
Some Text crash after few force closing of Unity Editor 2 Answers
Why does my Unity Serialization not work? Do i miss something? 1 Answer
object list not serializing 2 Answers