Yes Sunny had some great knocks, and I want to make clear that I think he's a top 10 batsman of all time and a certified ATG, even if not in the best after Bradman conversation. But he was also kinda hit and miss and he generally struggled on faster decks and especially against Lillee. The surfaces he generally scored on (against us especially) were ones similar to the ones he had at home.
Barry has a stellar record against D.K and most of the top bowlers of his era, and this was generally in Australia, South Africa or England, all surfaces that pacers would have found some assistance.
The skill of the man is also what he was capable of, hundreds before lunch, once against prime Lillee and barely missing out on one in tests.
With regards to if he faced anything similar to what Sunny faced in the Caribbean? No. Even though it included an aging Roberts, it was still possibly the greatest attack ever. But he faced attacks and bowlers magnitudes better than the Luke's of Bradman, Hutton and even more modern contemporaries, especially from the 2000's.
Barry did face some good attacks, and again it was his dominance. Think ORS or Coronis said that he wasn't as dominant domestically, but
@peterhrt also showed a table highlighting how he did when facing the best bowlers of the era, that's when he elevated his game. In various innings he took Lillee apart, how many test batsmen are capable of doing that? I would hazard a guess of two.
At the end of the day, this was the guy who was regarded as the best bat in the world for at least half a decade, and the likes of Bradman, Lillee and Dickie bird called the best opener they'd seen, and in Lillee's case, bowled to.