According to Osho, the world is not an objective dream; we are the ones who dream and project meanings onto a neutral reality. When the dream ends, reality remains as suchness. Mahavira adds a many-sided view: from the subjective standpoint it is dreamlike; from the objective it is real, and ultimately speech cannot capture it.
The world is real, but your mind puts a dream over it; stop dreaming to see clearly, and Mahavira says both can be true depending on where you look.