In the early 1960s sci-fi writer Fredric Brown wrote a series of short stories under the umbrella title 'Great Lost Discoveries'. The three he completed related the tales of how invisibility, immortality, and invulnerability were discovered, and quickly thereafter lost by unexpected quirks of fate.

In 'Great Lost Discoveries 1', Brown makes the observation that invisibility is useless in the dark - his unpleasant protagonist breaks into a harem in order to molest the harem-girls (a common fantasy amongst those of us who wish to become invisible), and is summarily killed by a scimitar-wielding guard who has acute hearing.

It's currently available in the excellent "From these ashes : the complete short SF of Fredric Brown".