The cast also includes Ben Schwartz as Sonic, Idris Elba as Knuckles, Colleen O'Shaughnessey as Tails and Jim Carrey as Dr.