Rin died, he joined Madara and his Tsuki no Me plan to life happily with Rin and Kakashi in a dream world.
He waited a decade for a plan that hasnt even a 100% guarantee to succeed.
Why didnt he just put himself into a genjutsu? He could create anything he wants like Madara showed him. He could have lived with Rin and his friends and could have ruled his own little dream world. Him wanting to cast a genjutsu on the whole world seems like a plot hole to me because he has no reason for that. He said himself that hes not accepting this reality (he never said that he wants peace), so why not cast the genjutsu on himself and create his own reality?
Madara however seems to say the truth, he really wants to create peace. If he wanted to enslave the world he could also just cast a genjutsu upon himself and rule that dreamworld. Would be alot faster, safer and it wouldnt make a difference for him.
The fact that he´s still trying to cast the genjutsu on the whole world is a 100% proof to me that he really wants to create (the closest thing possible to) peace.
So Madara has a reason but Obito hasnt?