Probably your Camera app can't access the level/rotation sensor. Settings -> Apps -> Camera -> Permissions -> Sensors -> Allow