The Xbox Console Companion app must remain open to record using the Game Bar.