My game is pretty big and has a lot of game assets. Sometimes it gets laggy, and the player must turn down their graphics.
However, I have noticed that on GUI’s, decals don’t show up, and some scripts seem to not be working, when they work perfectly fine in other places of the game…
So, my question is, does game size affect how stuff loads in the game, and does it cause scripts to not work because of the large game size?
Scripts should work no matter what. Unless they’re local scripts that are depending on game assets that haven’t loaded in yet.
Also unless you’re dealing with tens of thousands of decals/assets, you shouldn’t run into lag especially if the player has a good PC. It sounds like this is a memory leak.
Gamesize would affect how things load, but i assume it would vary based on the developer, (what engines they are using etc…) I would also think you can’t have more of the game in memory than you have memory (If you understand what i’m saying) If your game is small enough, i would suggest keeping the whole thing in memory, no load times. If a game is huge, you might need to try balance things out a lot, or have a lot of load times. Things like dropping things out of memory that are behind your character, while loading things they are about to see, etc. It can get quite tricky, especially if you want to disguise the load times.