I really am not sure what it was. However, when it worked correctly I used the preset export options that were already in place. Not sure why what I was doing before would have affected shadows though. it was probably something else that I was unaware of.