Earning an A rank in every Challenge Mode event in Sonic Battle unlocks a hidden stage.
It is a straightforward reward with an unreasonably steep entry cost. Challenge Mode ranks you on how well you clear each scenario, and A is the top tier, so the requirement is effectively "play every challenge near-perfectly." Most players find one or two events that refuse to cooperate and stall there.
Since the unlock is all-or-nothing, there is no partial credit to collect along the way — you either have the full set of A ranks or the stage stays locked. If you are grinding it out, work on the events you can already clear comfortably and come back to the stubborn ones once you have learned the opponents' patterns.