I have seen someone else had this happening but haven't been able to find a solution.
My trigger creates a unit as cargo in a structure with a transport ability. It then unloads the unit. This unit has a wander behavior with a leash of 5 range. Instead of wandering around that area like the other units do, the unloaded cargo units starts wandering up to the top-right corner. This only happens because they have the wander behavior. What's going on?
I have seen someone else had this happening but haven't been able to find a solution.
My trigger creates a unit as cargo in a structure with a transport ability. It then unloads the unit. This unit has a wander behavior with a leash of 5 range. Instead of wandering around that area like the other units do, the unloaded cargo units starts wandering up to the top-right corner. This only happens because they have the wander behavior. What's going on?
Sounds like a bug. Try adding the wander behavior after the unit exits the transport.