Calling GetNearby*() API functions that are unit-scoped from units that are non-Heroes is currently not working. Used to work two patches ago (if not one patch ago). The return value is "nil" when called for me from a "tower" unit. Someone else in another thread found the same thing when tested from a "creep" unit.

Intended or a bug?