Does Game Size Affect How Scripts/Decals/Parts Load?

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?

They probably don’t show up because the player is probably lagging a lot from the large game size.

1 Like

It happens to people with really good computers, and to people with their graphics set to low.

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.

Sorry For The Long Answer.

1 Like

So you’re saying that I should have it where whatever is behind the player dissapears once the player has passed that area?

1 Like

If it were up to me, yes i would! But again it is completely up to you, so you can decide :slight_smile:

1 Like

Have you used any free models, or is this all original work?

How many scripts do you have running? You should check your game stats while it’s running to see what’s taking the most memory.

1 Like

Thank you! I will go do that with the memory and stats.

And all of the game is just original work. The only thing that is a free model is the Kohl’s Admin pack.

Do you know of any tutorials of how I can do this?