The bug
Occasionally when entering a desert pyramid, the hidden area where the treasure chests are supposed to be, the chests won't be there. After using the seed and going to the coordinates, most likely the chests will generate.
How to reproduce
Note: This does not affect every pyramid, only a few, so this might take some time.
Set your
render distance
to2
.Create a new world with cheats enabled, world type: default.
Start locating
desert_pyramid
(s).
→ ❌ No chests are generated in the desert pyramid
Linked issues
Attachments
Comments 5

I cannot reproduce in 1.16.5 or 21w07a.

Please check if that's still an issue for you in the latest 1.16.5 stable release or the latest 1.17 development snapshot.
Mee too but it's bedrock edition now. Better making new bug.
Bedrock edition reports go to the MCPE project.
Cannot reproduce in 21w03a