UIEffect
UIEffect copied to clipboard
ShinyUI TextMeshPro shaders are failing to compile.
ShinyUI TextMeshPro shaders are failing to compile.
Clicking 'Fix' when adding a UIEffect creates the UIShiny material, but the material shader renders pink.
Windows: Unity 2018.4.16f
- UIEffects 3.2.0
The list obscures it here but these shaders are in the 'Failed to compile' section of the dropdown
Hi @MrDizzle
Thank you for your reporting!
+1
I get an error in URP when trying to do this with Unity 2020.1.17f
Is this solved? Cause I'm still having this issue.
I also have that issue in URP Unity 2020.3.7f1. @mob-sakai Can you please try to fix it?
Hey everyone, I was able to fix this issue in 2020.3.26f1 in TMP v3...
Shader doesn't compile because TMP's folder path changed.
Fix (for UIEffect 3.2.0):
- Go to Assets/Coffee/UIExtensions/UIEffect/ForTMPro/Shaders
- Open TMP_SDF (UIShiny).Shader and TMP_SDF-Mobile (UIShiny).Shader
- On line 128, 129 of UIShiny Shader and line 94 of Mobile UIShiny Shader, replace:
#include "Assets/TextMesh Pro/Resources/Shaders/TMPro_Properties.cginc"
#include "Assets/TextMesh Pro/Resources/Shaders/TMPro.cginc"
with the correct directory
#include "Assets/TextMesh Pro/Shaders/TMPro_Properties.cginc"
#include "Assets/TextMesh Pro/Shaders/TMPro.cginc"
(same thing with the mobile, but just the property one)
This fixed it for me. Hopefully this will help someone... spent quite a long time troubleshooting. Cheers!