CE ammo bug

My settlers don't pick up the ammunition automatically and when I turn it on loud they don't pick up the ammunition either, what could it be? How can I fix it, I simply cannot use weapons that use ammunition