'Shader error in 'TextMeshPro/Distance Field': failed to open source file: 'TMPro_Properties.cginc' at line 126 (on d3d11)
The textmesh pro file is not loading in unity. I am making a project using arcore and due to some issue with textmesh pro I was not able to build it properly.
Solution 1:[1]
Delete the old version of TMP in Asset folder... than reopen Project & go: Window -> TextMeshPro -> Import TMP essentials than Window -> TextMeshPro -> Project Files GUID Remapping Tool... this will update the project and fix all missing TMP scripts...
+
Install Post Processing package from
Window -> Package Manager -> search and install post processing
Solution 2:[2]
This might be the issue with the TextMeshPro folder contents.
Try the following steps to resolve the issue.
- Delete the TextMesh Pro folder located under Asset folder from the project.
- Reopen the project.
- Import TextMeshPro by clicking on
Window -> TextMeshPro -> Import TMP essentials
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Tejus Wadbudhe |
Solution 2 | Codemaker |