I've repeatedly observed an issue where Unity becomes disconnected from version control (configured via ProjectSettings->Editor) as a result of a temporarily dropped network connection. This can be detected in script via VersionControl.Provider.onlineState, but what I want is an API call to attempt to reconnect so that Unity doesn't sit in a disconnected state unnecessarily. Once disconnected, the user needs to click "Connect" and until they do so, changes are not tracked through version...
Version control - is it possible to reconnect via script?
Version control - is it possible to reconnect via script?