Don't drink so much water at night especially before bedtime. I had issue walking towards last tri. Till my grandparents told me it's drinking too much water that causes it. I cut down in 2 days I'm able to walk normally and don't feel pain.
Do consult your gynaecologist asap... Take care!
Foxy Mummy