Can night shift affect your ability to conceive?

I’ve on nights for over 8 years and I’ve been trying for 2 years now sadly. I did get pregnant last year December 2018 but unfortunately that resulted in a MC! I conceived when I was on a vacation being on a regular day schedule and not monitoring or testing anything and just having random sex! So when I found out I was pregnant, I went back to work night shift and next thing you know it, my baby stopped growing...could night shift affect my ability to conceive and also might have caused my MC? It’s always in the back of mind now...