Closed Moddingdudes closed 2 years ago
This is because TMP no longer keeps their shaders at Assets/TextMesh Pro/Resources/Shaders/TMPro_Properties.cginc
work around is to change it to Assets/TextMesh Pro/Shaders/TMPro_Properties.cginc and it will compile but this should be updated
Changing the above fixed it for me. References in the following files must be changed
TMP_SDF (SoftMaskable).shader TMP_SDF-Mobile (SoftMaskable).shader
After importing both TMPro essentials and the TMPro support, I am getting a shader error on Hidden/TextMeshPro/Mobile/Distance Field (SoftMaskable)
Error: "failed to open source file: 'Assets/TextMesh Pro/Resources/Shaders/TMPro_Properties.cginc' Compiling Vertex program Platform defines: UNITY_ENABLE_REFLECTION_BUFFERS UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP SHADER_API_DESKTOP UNITY_COLORSPACE_GAMMA UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_LIGHTMAP_FULL_HDR"
I looked around to try and find a solution and couldn't find anything. Any help would be appreciated!