mojira.dev
MCPE-78279

Tile entities in a chunk can lose their data when the chunk is loaded

When loaded, tile entities in a chunk can lose their data. This usually fixes itself if the player leaves that chunk alone, but sometimes if the player interacts with the chunk it can stay that way. I assume this has something to do with the game failing to load it properly.

The game crashes when you attempt to move these tile entities with missing data. This also seems to be locational and certain chunks aren't affected. 

This is different to the bug where they turn invisible, as in that bug you lose the ability to interact with them.

Also, the game seems to create new tile entities when the old ones go missing.

Steps to reproduce (on 

[media]

):

  1. go to the overworld and back again until the tile entities lose their data

  2. try to interact with the tile entities

 

Related issues

Attachments

Comments

migrated
[media]
migrated

Apparently this affects 1.14 as well.

ravinmaddhatter

This looks linked to 
MCPE-52790

 

I do not have permissions to link them.

GoldenHelmet

Is there a different setup to make it trigger in 1.14? I adjusted the test world to load in 1.14 and went back and forth through the portal about 15 times without losing the tile entity data.

migrated

I've never experienced in 1.14. Maybe it got worse in 1.16 or something changed which made it happen more frequently.

migrated

RIP my command driven automatic shop based on XP.

[Mojang] Mega_Spud (Jay)

@unknown - In the providxed test world, I noticed that when travelling through the portal, I would sometimes generate in the blocks below - do you know of any reason why that might be the case? Was the portal moved after it was initially created? This might help to reproduce the issue at MCPE-28765.

ravinmaddhatter

We see invisible non functional chests about 1-2 times a week on a server of 15-20 people. in 1. 14.3 we saw 1 or 2 times a months. in 1.13 we saw it 2 times ever.

When it was 1 or 2 times ever we didnt really care. But in the last month we have lost something like 200 shulkers and 50 double chests, a few conduits, countless beds and a mob cage. It has been getting worse withe every update. We are trying to get a catalog of when and where this has happens in our worlds. We have seen impacts to every single tile entity at some point or another in 1.14.6. but i have yet to force it to happen. Right now i have a script logging me in and out at one location in 1.14.6, but that is not forcing the issue.

One note is we only recently saw it in the nether when we asked a user to log out in the nether as part of testing. in the save file the "tile entities" category is just gone for the chunk.

migrated

This issue didn't happen for me for some reason when I made a redstone clock in the chunk with a piston attached.

(and no, I didn't move the portal, I've encountered that issue as well though)

migrated

what do you mean a redstone watch? explain me better please

GoldenHelmet
GoldenHelmet

One of my wild speculations here--
I wonder if the issue is that when travelling between dimensions the game somehow loads the tile entity data for the corresponding chunk from the wrong dimension? That would be kind of like another bug I just confirmed (my kids repro'd it 😛) where you can get the Overworld sky to appear in the End, presumably due to travelling back to the end too quickly while the overworld is still loading (MCPE-46865). You might be able to test this if you have a chunk that reliably reproduces the bug, by setting up matching tile entities with different contents at the same (unconverted) coordinates in the other dimension.

ravinmaddhatter

It may be partially due to that, after a few hundred re-logs, (in 1.14.6) i did not get a repro, i will see if i can find a way to force myself to use a nether portal on loop. as this is a rare ish repro.

 

Note, i don't want to loose access to my 1.14.6 worlds or i would test in the beta as well. if a supported launcher was available i would be testing in the beta. but a 2+hour  process to switch makes beta testing really an investment. 

migrated

@GoldenHelmet 
Is there any way to resolve this bug? I've touched several weeks without playing because it always clears the command blocks from my map, please help me there

GoldenHelmet

@HostGui I am not aware of any workarounds other than what 77Tigers mentioned, leave a simple clock circuit running in the chunk. It could be that the redstone updating forces the game to load tile data at a different point in the loading process than it normally would.

migrated

I would just like to add that this also happens when you teleport between 2 distant locations, so the dimension thing seems unlikely.

migrated

(Unassigned)

356548

Confirmed

Windows

1.16.0.63 Beta, 1.16.0.61 Beta

1.16.0.64 Beta

Retrieved