People have a lot of the same experiences when they're under the influence of hallucinogens, that doesn't mean that they are real either.
I think that conscious reality is produced very similarly to a hallucination.
The difference between the 'real world' and an 'anomalous' hallucination is the weight of consensus.
Otherwise, both rely on electrical impulses, neurotransmission, neurochemicals, interpretation and internal neural network models. Both are generated from the brain.
Maybe another difference is that a hallucination is the result of a sort of bug in the coding, an error in a program which a particular brain instantiates.
Which leads to the idea that this whole consensus universe might be a computer simulation/holographic projection created by some alien civilization outside of this universe.