Durring the battle between Sonic and Mario, Classic Sonic came out of a portal to help Modern Sonic.

"Sweet," said Modern Sonic. He and his past self then went to go gang up on Mario.

However, the encounter created a time paradox, the result of which caused a chain reaction, that unraveled the very fabric of the space time continuum and destroyed the entire universe.