Previously, structures containing custom loot chests could be saved and loaded using structure blocks to generate different loot every time the same structure was loaded. With 20w22a this stopped working, as the chests now generate completely empty. It is possible that this bug arose in an earlier snapshot, though I have not confirmed that. Using /data reveals that the loot table tag is lost upon loading - so the issue cannot be with the generation of the loot that occurs upon opening of the chests. The issue is also not with the way the structures are saved, since structures that were saved in previous versions worked then and now no longer.
Note that I have not been using custom loot tables, so that is also not a relevant variable.
Thank you for your report!
We're tracking this issue in MC-186067, so this ticket is being resolved and linked as a duplicate.
That ticket has already been resolved as Fixed. The fix will arrive in the next version or is already included in the latest development version of the game, you can check the Fix Version/s field in that ticket to learn more.
If you haven't already, you might like to make use of the search feature in the future to see if the issue has already been reported.
Quick Links:
π Issue Guidelines β π¬ Community Support β π§ Customer Support β βοΈ Feedback and Suggestions β π Game Wiki