Hello, this is a feature I’m proposing, but I don’t know where or how to declare it, anyway, it would be useful to have a .csv files library, because at the moment I’m making a simulation, and storing the data in a file is pretty complicated, where PYTHON had a great easy-to-use library.
I know that you can use the StreamWriter namespace, but it’s way more complex than what I would need.
Let me hear what you think about it, and have a good day.
People generally just write their own CSV reader/writer. The file format isn’t particularly complicated. I’m sure you can find one via google or Asset Store though.
But JSON is usually suggested as a more robust alternative to CSV, and has built in support. (though for several reasons I personally prefer CSV, but I’m in the minority from what I’ve seen)
1 Like
Definitely agree with Uncle Joe: use JSON… and also be sure to use a “real” JSON package. Do not use the built-in Unity package, it will fail in so many ways you will bang your head constantly.
I recommend the JSON .NET package (Newtonsoft) free from the asset store.
1 Like