So i have a fairly big item database saved to a textfile. (As a kind of csv).
I already have a reader in my database editor. Written in C# aswell.
These three examples were performed with the exact same code on the exact same machine:
My C# DB editor project: Takes about 10 seconds to read in the database. (reading + parsing).
My Unity project with the exact same code: About 100 seconds. And this is only parsing. Without reading time.
My Unity project built for pc (just to test the load time): 90 seconds
Kind of not comparable but still noteworthy:
Performance in build (it is a mobile project, so run on my Android): 7 minutes
How can the loading time be so much longer? I mean, i understand that it takes a while on my phone because it’s slower.
But why does it take ten times longer to load in unity than in a standalone c# project?
Note: to enable loading screens in unity while parsing, i parse in a seperate System.Threading.Thread

