- Home /
Should I worry about having many 1000s of small files in my project?
I have a custom unity editor that allows me to create a lot of the dialogue/events/so on in my game and saves them out in scriptable objects. The way I have it built right though, if I were to make my whole game, it would be making multiple 10,000s of files by the end. Should I be worried about this? Will Unity handle this fine when compiling? Will Windows handle this fine? Are there any platforms that I could have issues with? Once you build out the project its obviously all bundled up, but I don't want to run into problems later.
If someone has any suggestions to on minimizing these files that would be helpful too. Each "event" could have many other scriptable objects nested under it and as far as I know, if you want to save custom objects within a scriptable object, they need to be scriptable objects themselves. The game then reads these scriptable objects at runtime, which then contain their own references to other scriptable objects.
Thank you.