TallWorlds / CubicChunks

MIT License
36 stars 7 forks source link

Some cubes aren't unloaded clientside #2

Closed Barteks2x closed 9 years ago

Barteks2x commented 9 years ago

Amount of cubes loaded clientside grows as player moves.

AlphaFox13 commented 9 years ago

so the server is making generating chunks it main priority and ignoring the need to unload, hence bogging up the ram and causing a crash. one solution is to limit the amount of chunks that can be loaded at any one time (based on ram available) however that would cause problems when falling (or other fast movements)

Barteks2x commented 9 years ago

The server does unload cubes that are too far from player (just like vanilla with chunks). But for some strange reason not all of the chunks/cubes are unloaded (at least clientside, server sends cube unload packets to client).