Guards not equipping the items I give them [duplicate]

So I have this weird problem - guards in my settlement don't equip the items I give them. I've given my guards some armor and laser rifles but whenever I go back to the settlement they still walk around in t-shirts, wielding a pistol. I've read that you can equip your guards but it doesn't seem to be working. Do I need to do something more than just give them the items or am I encountering a weird bug? Companions do equip everything I give them that's better than what they have, but settlement guards don't.


Solution 1:

When you're in the trade window, you can select the item in the settler's inventory and make them to equip it by pressing T on PC, Y on Xbox, or Δ on PS4. Note that you must provide ammunition if you want them to use weapons other than their default.

As DCShannon indicates in comments, this is a change from previous games.

Solution 2:

As with the companions, you need to talk to your settler, go in the trade menu and make them equip the item with the proper button (shown at the bottom of your screen). For xBox players, this button is Y.