I have been playing my current world for a wile and so far have been only in the Overworld, I have been to Viallages, Temples, Ship Wrecks, Burried Treasure, ruined portals and Mineshafts and found tons of Chests with at least some items in. Today I got to the point where I wanted to venture into the Nether, after exploring for a while I found a Bastion structure for the first time, very cool. Inside the Bastion a found two small chests and one large, all of which were completely empty, then I made my way down to a ruined portal I could see near the base of the Bastion and the chest at the portal was also empty.
I made a backup before going into the Nether so I have restored my game to before making the nether portal hoping that this is some sort of bug that will get sorted soon.
Has anybody else had this problem? I am playing on PC Java version playing the latest snapshot.
I've come across empty chests from time to time. It happens.
Well, it shouldn't; I've never, ever come across an empty chest in survival, albeit in 1.6.4, vanilla or otherwise, but it simply shouldn't be possible due to the way the game adds loot (it always adds at least several items; in 1.9 they even made it so that items couldn't overwrite items added previously so the probabilities in loot tables could be made exact, either way, this wouldn't cause no items to generate, just less than expected; e.g. in 1.6.4 the game adds exactly 8 items to dungeon chests but they often have less).
There is actually one exception, but not involving normal circumstances - regenerating the chunks containing a structure will cause chests to be empty, as well as mob spawners and mobs to be missing. This is due to the game recording whether they had been placed in the structure.dat file, but since 1.13 this file no longer exists; instead, structure data is saved with chunk data, so if chunks are regenerated so will the data (possibly, I'm not sure if the data is actually part of individual chunks or saved in a separate area of the region file, in which case bugs like MC-125007 could be responsible; the underlying cause of this appears to be chunk regeneration, as I've seen the same sort of glitches occur due to a chunk reset). If this still happens then you should keep this in mind if you decide to delete chunks prior to an update (deleting entire region files should be safe).
Also, I found this bug report regarding empty chests in the current snapshots, which already has over 100 duplicates despite being only 4 days old (remember that snapshots are experimental and the launcher even warns you that they may corrupt your worlds or have major bugs when you use them), and similar bugs have been reported for older versions, again, usually in snapshots:
It was 6 chests in a row i found empty, one was a large chest, I traveled a good distance in the nether to test if the problem was still present and it was the same. Pretty much ruins exploring the nether for now.
Are you playing on snapshot 20w22a? If so, then its a snapshot bug that lots of people encountered, but noone seems to connect this bug to snapshot version actually. Mojang probably messed newly added/changed structures item pools, beacouse when i encountered a desert temple the chests were ok. Newly generated chunks when i downgrated and optimised world to version 20w21a, were absolutely fine. Chests contained loot. Sadly old ones didnt which ispretty easy to understand why, becouse they were already opened and as you know (or not) chest loot ia generated upon opening.
I suggest you to downgrade to version 20w21a, by launching it and then optimising your world so you wont have any bugs, issues related to world corruption.
Yes today I downgraded to 20w21a and restored a backup to where I had not yet made the nether portal. I went back in to the bastion and the chests have loot. Thankfully I had not done much work since that backup so not too bad.
I tried downgrading and then restoring the game to where I had just entered the nether but not yet found the bastion and the chests were still empty.