I had that happen once. In this dream, I was in a 'fake' world that had some kind of trick or flaw to it. When I found the trick, that world disappeared and I found myself in another world with a different trick. This went on all night, I think there were at least four of these worlds before I actually woke up. It messed with my head for a while.