This is such a frustrating problem which is only occuring in blender 2.78 versions.
I select and try to move an object but if the object is close or inside or overlapping somehow another object it will only select that one instead.
The only solution i found was to restrict the selection from viewport option, but that is hell when it comes to modeling.