So I've created a text asset in Unity of a binary file which i'm attempting to read in as a byte array.
The result I'm getting is a byte array tht is almost half the size it's supposed to be.
The file is a serialized mesh file from here: http://wiki.unity3d.com/index.php?title=MeshSerializer2
What I do then is find the file unity created, move it to the assets folder and drag it into a component as a TextAsset. For smaller files it works but larger ones appear to fail to load completely.
If I load the same file separately from a C# console application using filestream it loads correctly.
.bytes
. Did you do that? \$\endgroup\$