You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to apply an UI Effect to a textMeshPro component and it told me that it would require additional support.
I pressed Import to import the assets and when I try to change the effect I get pink materials and an error:
Shader error in 'Hidden/TextMeshPro/Distance Field (UIEffect)': Couldn't open include file 'Assets/TextMesh Pro/Shaders/TMPro_Properties.cginc'. at Assets/Samples/UI Effect/5.3.1/TextMeshPro Support (Unity 6)/Hidden-TMP_SDF-UIEffect-Unity6.shader(140)
Not sure if it's relevant my I'm working in URP
thanks
The text was updated successfully, but these errors were encountered:
It is likely that the directory for TextMesh Pro Essential Resources has been moved, causing the cginc file to fail to load.
By default, it should be located at: Assets/TextMesh Pro
Solution 1: Move the TextMesh Pro Essential Resources directory to Assets/TextMesh Pro
Moving the TextMesh Pro folder back to Assets/TextMesh Pro should allow the cginc files to load correctly.
Solution 2: Manually fix the cginc file paths in the shader
Find the following line in the shader file that is causing the error and update the file path to match its current location:
Hi,
I tried to apply an UI Effect to a textMeshPro component and it told me that it would require additional support.
I pressed Import to import the assets and when I try to change the effect I get pink materials and an error:
Not sure if it's relevant my I'm working in URP
thanks
The text was updated successfully, but these errors were encountered: