[World Gen] Optimization #3
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Huge lag spikes happen whenever chunks are being loaded or unloaded. This may have something to do with the saving that is done every single time a chunk is unloaded.
A fix for this might be to check if the chunk has changed at all before trying to save it.
The lag spikes are gone due to threading, but there is still some lag in the chunk vs player position updating, and having moderate-large areas of the world rendered at any one time causes game lag