Originally Posted by Dexai
I can't answer for 2nd ed or 4th, but in 3.5 you could absolutely attack invisible creatures.

In all of those, including 3.5, you had to "pinpoint" the location of the invisible creature through other means (example: groping) before you could attack them. Invisible was undetected until you take some action that detects them or they take some action to reveal themselves. 5e carries no such assumptions. Invisible is simply unseen which carries the penalty of disadvantage to be attacked and advantage attacking those who can't see you. It is a completely different system and they have regressed back past 3.5 because you can't even attempt to located invisible creatures in BG3.