User:Austeja druteikaite

Eight months after defeating Doctor Robotnik and being adopted by Tom and Maddie Wachowski as their son, Sonic the Hedgehog attempts to help the public as a vigilante to little success. Tom advises Sonic to remain patient for the day his powers will be needed before he and Maddie depart for her sister Rachel's wedding in Hawaii. Sonic plans to have fun while home alone but is attacked by Robotnik, who has returned with the help of Knuckles the Echidna. Knuckles desires to honor the legacy of his extinct tribe and demands the location of the legendary Master Emerald, an ancient relic that allows its possessor to bend reality to their will.

Sonic is rescued by Miles "Tails" Prower, a two-tailed fox who idolizes him and comes to warn him about Knuckles. Sonic convinces Tails to help him find the Master Emerald, while Robotnik reunites with his assistant Stone and, scheming to steal the emerald, offers to help Knuckles. Sonic and Tails follow clues on a map from Sonic's deceased guardian Longclaw to Siberia, where they find a compass within an old temple. Robotnik and Knuckles track them and pursue Sonic and Tails down a mountain. During an ensuing avalanche, Robotnik and Knuckles steal the compass. Tom rescues Sonic and Tails by using a ring to teleport them to the wedding.

Rachel's fiancé Randall and his wedding guests reveal themselves as undercover agents of the Guardian Units of Nations (G.U.N.) and capture Sonic, Tails, and Tom. Irate with the deception, Rachel works with Maddie to rescue them and get even with Randall while Robotnik and Knuckles find an underwater temple containing the Master Emerald. Sonic goes to the temple and fights Knuckles, but Robotnik betrays Knuckles, steals the emerald and leaves Knuckles to die with Sonic as the temple collapses. Sonic and Knuckles escape and reconcile, agreeing to work together as Tails rescues them in a biplane. Robotnik absorbs the Master Emerald and gains vast power.

In Green Hills, Robotnik uses his new abilities to destroy G.U.N.'s forces and creates a giant robot resembling himself. Sonic, Tails, and Knuckles work together to fight the robot and its accompanying drones and reclaim the Master Emerald, but it shatters, releasing the seven Chaos Emeralds. Tom and Maddie rescue Sonic, who uses the Chaos Emeralds to transform into Super Sonic. He destroys the robot before dispersing the Emeralds and reverting to normal. Knuckles restores the Master Emerald from the remaining shards and agrees to safeguard it with Sonic and Tails. The three resume an idyllic life with the Wachowskis.

In a mid-credits scene, Stone infiltrates G.U.N. as they begin searching for Robotnik's body in the mech's rubble. An agent reports to G.U.N. Commander Walters that a 50-year-old file containing coordinates to a research facility, which houses Project Shadow, has been uncovered.