UI and TMP render pink/black in game view on Windows

I have tried deleting library, using the latest Unity version, but all UI and TMP_Text elements are either black or pink or a mix of two. Strangely, on other windows PCs the same project works fine. Also, when trying the reimport any of the shaders in the Polyspatial/Resources/Shaders folder, I’m getting the FormatException: Input string was not in a correct format. error.