Game Story :
So I’m working on a game, Trying to make a random world generation. So far so good though I fear If I increase the world size the game will brake as it already lags when having for example 5k Tiles. So I worked on a render script. Worked good as well, as it fixed the world size limitations and increased it to 7k. But now with over 7k tiles the game freezes at the moment the renders the tiles. I don’t know If this is the fault of the overload of tile gameobjects or due to the render having an error in the render script as it is flawless.
First question :
-It seems that when doing loops the timestamp freezes? as it can take about 7 to 8 seconds to create the world but when doing the script timestamp method it says about 4 seconds.
Second Question:
-Does having a bunch of disabled Gameobjects create an overload on the RAM or CPU ? As I only have the Gameobject asset referenced. Searched for some reasons to RAM overusage and it says the referencing Meshes and Sprites and Colliders maybe be the cause but None of them are.