I was playing my first game today and when bringing units to the enemy base they only seem to attack something if they happen to walk by it; they do not attack the item I click on with the red attack mouse cursor (I'm assuming that's how I tell them to attack something, anyway). It was really frustrating.
This happens to me too, but mostly on unit vs unit creation buildings. Unit vs unit combat seems to work ok most of the time.