Usually this is not a problem. How do you create the Texture Sample node? Dragging the texture into the material or adding the node first? Not that it should matter but maybe there is a workaround for you.
Do you only have DX 12 enabled in the project settings? Maybe set it back to default. Or maybe try reinstalling the engine. Something might be corrupted.