DirectX function error

My graphics card is an Asus Gtx780 Strix and I have the latest drivers as well as directx 12.
However today I went to install a game and the error appeared.
I had previously installed others and current ones and they worked well.
I contacted EA and they advised me to contact Nvidia as the bug was related to the part of Nvidia that hadn’t fixed a bug yet.33