public IEnumerator CaptureScreenshotSyncHelper(string filenameBase)
{
yield return new WaitForEndOfFrame(); // Must capture at end of frame to assure we correctly capture world-space UIs
// Do the rest purely synchronously
var enumerator = CaptureScreenshotAsyncHelper(filenameBase, /*async*/false);
while (enumerator.MoveNext()) { }
}