GregTechCEu / GregTech-Modern

GregTech CE Unofficial for modern versions
GNU Lesser General Public License v3.0
291 stars 172 forks source link

Chunks becoming corrupted #2363

Open FaltEarthren opened 2 hours ago

FaltEarthren commented 2 hours ago

Checked for existing issues

Tested latest version

GregTech CEu Version

Gregtech Modern 1.5.1

Minecraft Version

1.20.1

Recipe Viewer Installed

EMI

Environment

Dedicated Server; hosted on my computer

Cross-Mod Interaction

Unsure

Other Installed Mods

Monifactory 1.10.1

Expected Behavior

Chunks Exist and are not corrupted image

Actual Behavior

Chunk is corrupted, all 8 chunks around are not rendered, but can be interacted with image

Another players server image

Steps to Reproduce

Updating the modpack from 0.10.0 to 0.10.1 creates the issue in the same chunk

Additional Information

The chunk is force loaded with ftb chunks (I think), and all surrounded chunks are are claimed. All other gt machines in my base are fine.

HexFlareheart commented 1 hour ago

I can provide a bit more information on this one, as at least two separate instances of this particular issue have appeared on my server, only one of which I've personally witnessed.

The surrounding 8 chunks not rendering is because of Embeddium; turning it off will have all but the affected chunk render, as well as any chunks relatively "behind" the affected chunk from the player's POV. I assume this is a culling error that's occurring as a side effect of the chunk error.

I also believe this is not a full chunk corruption, and may in fact be a communication error between the server and client; the affected chunks only seem to be affected on clientside, and appear to be perfectly fine serverside. This is evident in part because the collision still exists on serverside (and thus the desync between client and server can cause horrible glitchy collision movements), but also in part because the instance of this that I directly witnessed fixed itself, with the chunk inexplicably starting working clientside after a great deal of restarts of both client and server. I do not know what caused this to happen.

image image

Otherwise, similar scenario in the chunk error I witnessed- chunk was force loaded (by the Chunk Loaders mod rather than FTB Chunks), and contained a selection of GregTech machines. The affected chunk includes a Steam Additions Steam Foundry as well as the bulk of my machines at the time; on the second screenshot, it starts directly to the right of the centrifuge array on the left. As far as I know, though Steam Additions had not been updated at the time, it was not the Steam Foundry that caused this, as despite the fluid changes I'd tested it a fair bit before to ensure it did, in fact, work.

I also did not change any settings or mods on the server in between first observing the chunk error and it fixing itself.

HexFlareheart commented 1 hour ago

image image

Found the other instance of this error on my server, and fortunately(?) this one is still extant. I don't know the full scope of what's in this chunk, but I do know it is also force loaded, and it has a coke oven in it. Notably, you can also see wires connecting into blocks within the chunk, and I have seen mobs wander into it without issue, supporting the assumption that this is a clientside issue, albeit a very weird and persistent one.

debug (chunk error).log debug (serverside).log

I grabbed the debug log from both sides from finding this, though it doesn't look like it contains any useful information. Can provide world download and Prism profile, but given the seemingly ephemeral nature of this particular error I can't guarantee it'll still be present on the other end. (Also the world's kind of very large is the other caveat. I pregenerated a significant portion of it for lag reduction purposes.)