It is not a bug, merely unlucky coding.
When you log off your perks stop working. This include the vitality 20 and 30 perks meaning you are more vulnerable to temperature.
Is you base in a very cold or hot area or were you wearing armor inappropriate for your environment?
In this case you probably died to freezing or overheating and thus your body’s and loot inside dropped to the ground, while you respawned at your beds. The decay started and the calculation you triggered by logging in to your base noticed that your dropped loot was due for decay, that’s why the stuff vanished the moment you logged in.
To avoid this either make your house warmer (braziers, torches) or colder (glowstick-torches) depending on how whether it was to cold or to hot or make sure you wear more environment appropriate armor.
Also to note: black ice T3 buildings, while cheap to make, increase the temperature inside and are a bad choice for desert buildings, with T3 brick being a cooling material.
(Or put everything in chests before you log out)
You can test this by resetting your attribute points and see if you start to lose health.