nanite problem

I am currently having problems with nanite and dx12. due to a college computer, I was forced to use DX 11 for my project. After getting quite far into making my game I decided to use DX 12. I now have a problem where I can use DX 12 But only if Nanite is disabled. if i enable it the engine crashes on load. and when its disable i get an error message telling me nanite is disabled. The only thing I can do to fix this at the minute is use DX 11. Does anyone know if they fix for this? or am i stuck using DX 11?