- Aug 7, 2019
- 19
- 43
Kind of accurateTo hazard an answer: my guess is, the wonderous inner workings of unity create cache for the texture assets in its internal format, which is most likely not or lightly compressed - so it can be fed to the video card efficiently - and stores it on the disk. A single uncompressed 1k texture is around 24 MB - an FHD image is almost 50 MB. Throw in a hundred or so of those images into your assets and you will have a few gigs of bloat. Depending on how the the scenes are structured, most of that bloat is going to float around in memory and tie up resources, or on weaker hardware crash the game.
Sooner or later the dev will read up on memory management - most likely when they hit the soft cap of their own hardware, or when the majority of supporters will siege them with bug reports - and they will figure out how to dynamically load textures instead of trusting Unity with resource management. Then all will be fine - or some other issues pop up, I'm not an oracle.
If I remember correctly, they are using this project to learn the engine, so it's most likely a beginners mistake. Throw stones accordingly.
On a side note, Ren'py deals with this issue silently in the background, since it's optimized to be a VN engine and deal with hundreds and even thousands of images if necessary, but if you want to make 2d minigames a core part of the gameplay, then Unity is still superior in most other aspects, notably available learning materials, ease of development, marketable skills and game performance - with the caveat of the code being optimized. Maybe I'm blind, but I can't find where it's stated, that this game is going to be a visual novel, so I don't understand the outrage.
By default, it's """optimised""" for small games, so that everything can load extremely quickly
But it's still a full-on engine and extremely versatile at that, so a lot of optimisations needs to be made by the creators of games, it should have been done at least an update ago
But since he's a beginner it's still OK in my book, it's a bitch to learn how to do it effectively and takes a LOT of time and patience
It still needs to be done however, at this point the sooner the better, because with the size it's at and the resources it's asking for for what it is right now...
If it were me, I would have started with Renpy, and maybe, eventuyally, port it to Unity, THEN make a unity game, getting slowly bigger and bigger in size
Also for the minigame.... Who the FUCK likes minigame ?? It just break the pace of the game and is more annoying than anything, that's why most of the mods (or included options in some cases) are minigame skip.
Even in AAA games.