Bugs in MM (Maguro) maps when controlling ally's units

I’m recently using the MM (Maguro) maps to control 2 commanders simultaneously.
However, when I control my ally’s units, they do not seem to collect pickups properly(e.g. Zeratul’s artifact fragments and Abathur’s biomasses). I use the command -ally and -share. Everything else works fine.

You probably need to take that up with the map creator.

I think this is a bug from the coop engine itself, not sure if Maguro can or even want to fix them all (namely, how much is he willing to distort the realism of the coop experience in his maps)

Just figured out what was causing this problem.
Since player teams are 1=me, 2=ally, 3=enemy, if zeratul is my ally, commands should be used like “-spawn second artifact 1 2”, where the “1” is the quantity of the item and “2” is the team that item belongs to.