Questions tagged [filestream]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
569 views

DirectoryNotFoundException for an existing file path on Unity startup

I'm not sure why this error appears in my console when I start up my Unity editor but it is stopping me from running any Unity projects by pressing the play button. I have tried re-installing Unity, ...
1
vote
1answer
981 views

Convert char array to std::string

I have this code: ...
0
votes
0answers
322 views

Serializing and writing a Dictionary of Vector2 keys and custom class values in Unity

I have tried to create code to serialize a Dictionary of <Vector2, Block>, where Block is a custom serializable class, loosely based off of this guide. I need ...
-1
votes
1answer
361 views

Reading from a txt file (C++)?

When use ifstream to read from a txt file into 2d array i get some extra chars. Txt file: I get: My code: ...
1
vote
1answer
198 views

TextAsset thinks file is ~6856 bytes when it is 120123 bytes

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 ...