I removed all my mods then put them back one by one and didn't happen at all. I validated ksp and had some files missing and that fixed it so maybe my game was corrupted. And it happens to be my save it worked fine on new saves but the one I was using turns out to be broken.