mob-sakai / UIEffect

UIEffect is an effect component for uGUI element in Unity. Let's decorate your UI with effects!
https://github.com/mob-sakai/UIEffect
MIT License
5.57k stars 770 forks source link

BaseMaterialEffect fails to set Shader Keywords with some cultures (E.g. Turkish) #259

Open ShadowIgnition opened 9 months ago

ShadowIgnition commented 9 months ago

To Reproduce

  1. Set the current culture to Turkish ("tr-TR").
  2. Observe the behavior.

Expected behavior The BaseMaterialEffect should display typical UIEffect visuals regardless of the current culture.

Environment

Additional context This issue affects a wide range of shaders, including but not limited to:

These shaders are affected when the current culture is set to Turkish ("tr-TR"), The root cause of this problem in the Turkish culture is the distinct nature of the 'i' character in Turkish, which differs from the 'i' character in other cultures. This variance disrupts the correct setting of Shader Keywords.

1 2 3