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.
Shader error in 'TextMeshPro/Distance Field': failed to open source file: 'TMPro_Properties.cginc' at line 126 (on d3d11)
Asked Answered
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
...and if that does not help, reimporting the shader does. At least for me it did. –
Nuisance
The proposed solution didn't work in my case. This might be because I have URP project specifically. Sharing in case it helps:
- Select
Edit -> Rendering -> Generate Shader Includes
- Do a reimport of the shaders in TextMesh Pro by going to
Assets/TextMesh Pro/Shaders
, right-clicking and selectingReimport
Delete all the TextMesh Pro folders and DON'T reinstall the extra's.
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
Unfortunately in my case, this solution does not work :( –
Different
Added; Even with this error, Text comes out well.. But I am worried there is unexpected issue :( –
Different
© 2022 - 2024 — McMap. All rights reserved.