Described symptoms match yours :
The use of a cloud service seems to be the, or a potential cause of the issue, in both of these cases.
Is your project stored locally? Do you use or have OneDrive active on your computer?