The visitors turned in a muscular performance, particularly in the second half after the Scots had led 10-8 at the interval.
However, for all the disappointment there was pride for home skipper Stuart Hogg who equalled the Scotland international tries record with a superb brace.
Here’s how the captain, and his Scotland team-mates rated in the penultimate match of the series.
Player ratings scale - 10: One of the best performances you've seen. 9: Outstanding. 8: Very good. 7: Good. 6: Average. 5: Poor, 4: Very poor. 3: A terrible day at the office. 2: Abysmal. 1: One of the worst performances you've seen.
![Toughest test yet for the Edinburgh loosehead and he relished the battle but Scotland were distinctly second best in the scrum. 6/10](https://www.hucknalldispatch.co.uk/webimg/b25lY21zOjllZjAzNjZjLTczMmMtNGZmNS1iMmU1LWMzYTdhYTZhMjcxNDo1YTU1MWYzNC0wOTA5LTQ0OTItYTdlYS03ODgwMzc5ZGUzMTM=.jpg?crop=3:2&width=640)
1. Pierre Schoeman - 6
Toughest test yet for the Edinburgh loosehead and he relished the battle but Scotland were distinctly second best in the scrum. 6/10 Photo: Steve Welsh
![Scotland struggled in the set-piece and it was a difficult game for the hooker in what was his first start for Scotland in a year. 6](https://www.hucknalldispatch.co.uk/webimg/b25lY21zOjE0ODE0ZWU5LTc3ZmItNDZlYS1iZWM0LWEwOTFlZTJlYjFiMjozZjViZDRmMy1jMDQ4LTQyZDEtYThmYi0yM2ZiMTk1MzFhM2Y=.jpg?crop=3:2&width=640)
2. Stuart McInally - 6
Scotland struggled in the set-piece and it was a difficult game for the hooker in what was his first start for Scotland in a year. 6 Photo: Steve Welsh
![Tough old shift for the prop as South Africa freshened up their front row on the stroke of half-time.](https://www.hucknalldispatch.co.uk/webimg/b25lY21zOmNiMzkwNjY0LWE4Y2UtNDEwYy1hYmRmLTczYWU3NThlOTBmYTo4MGQxYzJmYi1kNDk0LTRlMTctYTRiZS05MzkyYWM2NDVmYTk=.jpg?crop=3:2&width=640)
3. Zander Fagerson - 6
Tough old shift for the prop as South Africa freshened up their front row on the stroke of half-time. Photo: Ross Parker - SNS Group / SRU
![Carried well but lineout battle was tough for the Edinburgh man. His clean catch helped set up the move for Hogg’s second try.](https://www.hucknalldispatch.co.uk/webimg/b25lY21zOjc5YTMxNGVjLTUyYmUtNGQwMC05MGZmLTQyMTNlNmExMTJjMDo1OTU5ZDQwNS0zYjg1LTQwOTItOWJjNi1jZDhjZDg2MDQxNDQ=.jpg?crop=3:2&width=640)
4. Grant Gilchirst - 6
Carried well but lineout battle was tough for the Edinburgh man. His clean catch helped set up the move for Hogg’s second try. Photo: Craig Williamson - SNS Group / S