With the update: if you die and respawn, you lose all your gems that you have collected, which (if you don't notice, as I didn't notice) gets you softlocked in the final room.
Thank you very much, I will fix that.