James Marsden plays the lead (human) role in Sonic the Hedgehog, and he does a fine job with it. Seems like Marsden had plenty of fun with the project, and he's more than happy it found success. He talks about the film's reception in an interview with Comicbook.com.
It feels great. It feels good, because this is what you'd always hoped for when you step foot into the project, and I thought we had a good script and a great cast and an excellent director and a good team. It was a rocky road getting through it. I think we liked the movie we were making, but it got to the point where we needed to pay attention to what the fans wanted. I'm very proud and happy that we did it, and it paid off. I think we came out right at the right time before the world changed, and we were a nice dose of like, "Oh, I remember how movies can be fun and family movies can be just as entertaining as anything." We got lucky, and also, on top of that, I feel like we just made a good product and I'm super proud of it.