Lag Spikes when loading in areas

when the map loads in when I go near it, instead of the blocks streaming in normally, like a million blocks spawn it at once and its causing huge lag. how do i fix this?

2 Likes

Only load in the blocks that are visible. Minecraft also does that.

2 Likes

ok, but
howwwwwwwwwwwwwwwwwwwwwww

1 Like

Only render blocks that are exposed to air.

1 Like

thats what i do
besides one extra layer of dirt, but it doesnt change anything

1 Like

well this was just forgotten about i guess

2 Likes

Check if it’s being loaded in by model chunks. If it is you might want to check the streaming properties on your models. Have you tried decreasing the streaming radius?

its at 64
also there are no models in the game at all

set streaming target radius to 512

that didnt fix anything since now it just lags in general