Unreal crashing - issue with materials and shaders


I got this error before when I was opening a specific level but I fixed it by disabling this code -D3D12TargetedShaderFormats=PCD3D_SM6 in the Default Engine settings. I zipped the project so I could work on it at uni but when I tried to open up my project, I get the same error but this time it’s when I try and open the entire project and not just my level. Any help would be appreciated!!