Yeah it might affect it, especially if you are own on a low fat diet which will make it worse.
i would think that any low vitamin level would have a affect on how your body reacts .. so maybe see a doc. and he can give you the vitiam you need ..
Recent studies have shown that there is a connection between weight loss and Vitamin D. Google it. :)