Serializable field value of Non-Roman Letter not working in Unity

Viewed 23
[SerializeField] char _letter = 'a';

is working fine, assignable from the inspector

[SerializeField] char _letter = 'অ';

Unity just hangs. Any suggestions?

1 Answers

You can use the character code to declare the char instead.

private char bengaliA = '\u0985';

Tested and able to render to screen.

Related