Now we haven't exactly defined consciousness, but I can't really imagine how you can have dreaming without having an experience that "counts" to me.
Sometimes scientists use "recognizing oneself in a mirror" as the definition of "self-awareness", but I'd be sure to differentiate self-aware and conscious, because infants can't recognize themselves in mirrors, but they almost certainly experience pain that shapes them for life.