Sure, it probably didn't help.
Though I kinda think their main problem is that it must be freaking hard for a Sonic fan to sort out whatever new game will be good, mediocre or unplayable shit. That licence has been all over the place for decades. That can't help sales in the long term.
I don't think you can go wrong with any mainline Mario. Some are a bit rough over the edges (looking at you Sunshine), but they're all fun. Sonic though? What should we expect for the next one, Sonic Superstars or freaking Sonic Forces?