Ubuntu doesn't detect webcam

Solution 1:

Maybe the camera is locked. I own a MSI GS70-2PC-210US and from time to time this happens to me after doing updates.

Try pressing Fn+F6 (or whatever the camera lock/unlock button is located on your keyboard).