Mekanism

Mekanism

111M Downloads

Transporters break upon reloading a world

ILaxaiI opened this issue ยท 5 comments

commented

Issue description

After reloading a world, all transporters inside loaded chunks (anchor upgrades/spawn chunks)
show up as having no network with the network reader, and transport no energy/items.

Steps to reproduce

  1. (re-)Start MC.
  2. Load a world (place pipes).
  3. save & exit.
  4. load the same world, if you load a different world it seems to work properly, but only once.
  5. network reader reads "no network"
    image_2022-08-24_210506872

Minecraft version

1.19.1 or 1.19.2 (Latest)

Forge version

43.1.2

Mekanism version

10.3.2 (Latest)

Other relevant versions

It happens with only Mekanism (tools/additions/generators) installed

If a (crash)log is relevant for this issue, link it here: (It's almost always relevant)

No response

commented

Could you please run /mek debug and then exit and rejoin the world and upload your latest log? It should add some extra logging related to transmitters.

commented
commented

Im entirely guessing, but i think it might be due to Minecraft not fully unloading chunks when you save & exit, and thus not reloading them properly the second time

commented

So another funny thing i noticed:
First load testworld 1:
image

Here all pipes work properly after a game restart

Second load:
image

pipes are broken as described.

First load of a 2nd testworld, at the exact same coordinates:
image

The Pipes wich overlap with the previous world break, however the new ones work fine

debug.log
latest.log

commented

I will try to get a build out sometime in the next couple days containing the fix, but yeah looks like when earlier in 1.19 I fixed a different bug I accidentally introduced this by not properly clearing the extra caches I added.