When modifying a units loadout in the Editor the ammo can vanish from a loaded weapon. It only happens, when no space for ammo is available outside the weapon.
For example:
A launcher is equipped with a loaded rocket, but no backpack is equipped.
A rifle is equipped with a loaded clip, but no uniform, vest or backpack is equipped.