Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ShadowIgnition opened this issue Oct 29, 2023 · 0 comments
Assignees
Labels

Comments

@ShadowIgnition
Copy link

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

  • Version: 4.0.0-preview.9
  • Platform: Editor(Windows), Standalone(Windows) (likely affecting other platforms)
  • Unity version: 2021.3.27f1
  • Build options: Mono scripting backend

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

  • Sepia and Pixel effect modes
  • Fill color mode
  • Medium and Detail blur modes

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants