Hey guys. We have a couple really big animations (About 100 megs in text mode) that occasionally fail to serialize. In the old days, if it failed, it would write out 60 bytes and the file would be corrupt.
Things are better recently, but it still occasionally happens. Now when it does, it reverts the file to binary format if it fails to serialize in text mode.
The problem is we use Perforce to store our files, and so when a text file suddenly becomes binary, it causes problems as Perforce will replace the line feed characters across platforms, corrupting the files. But sometimes it’s successful at writing the files to text mode, in which case we don’t want Perforce storing the whole file, just the deltas.
Is there a way to solve/prevent this behavior and ALWAYS actually force text? Are there settings on Perforce I can change to prevent these problems? Are you working on this issue?
(PS, the error states that Unity ran out of memory, and this is happening mostly on a Mac Pro machine that has 64GB of ram. On my own 8GB Macbook, I have the problem LESS, though it does still happen occasionally.)