Corrupted (?) in-text citations

I have almost the same problem using reference manager. It happened after I gave my document to my supervisor who then tracked changes. Some references are fine, but most are corrupted with no actual information, in the field code. Did you even find any solution to this? Or how to prevent it happening again??