Despite his vast number of Stars of Consciousness, there were certain skills he barely gave his attention. Somnambulism was one of these skills, and the reason was because he felt like he would never need it.
Somnambulism was a skill he got after he consumed the Veinweaver's Dreamgrass and he got the title, Walker of Dreams and Nightmares. Somnambulism was a skill that allowed Corey's body to battle and react to dangerous situations when he was unconscious or asleep.
With how unique and strange his mind was, one of the things he could not imagine happening to him was falling asleep and falling unconscious. Even if he was knocked out or he decided to sleep, his Stars of Consciousness would be able to take control of his body, and with time, he would wake up.
However, with the appearance of the Fog of Corruption of Maltheron, his main consciousness and his Stars of Consciousness had fallen asleep.