Obito said Rin was his ray of light , without rin every thing was like hell to him , then why the hell he did not try to bring her back to life.
Obito was one of the people with largest knowledge about so6p jutsu and also had access to rinegan so why did he use it for war when he could just bring rin back to life with it and a real rin not some genjustu.