Despite you compiling for windows, it sounds like you need to disable Metal (probably enabled on iOS or Mac?). The problem seems to be a bug, you can see the related information here and here.
In the future I recommend searching these issues on google - I found that info just by searching the error you posted. You’ll usually find information like this much quicker that way rather then waiting for someone to reply.