When it is too dark to see you can't pick up objects that you know are there unless you are looting a corpse. You can loot a corpse even if you cant see it.