Welcome, Guest
Username: Password: Remember me

TOPIC: Text justification resets after changing language

Text justification resets after changing language 6 months 3 weeks ago #2198

  • jimmyt3d
  • jimmyt3d's Avatar
  • Offline
  • Senior Member
  • Posts: 43
  • Thank you received: 1
  • Karma: 1
Hi Frank,

I'm using 2.6.10f1 and noticing that if I change text justification and then change the language in the inspector, it immediately switches back to the previous justification setting.

- Select a text object
- In the Inspector, change the text justification (standard Unity text, not TMP)
- Now click one of the languages in the 'Localize' component on the text

Observe the language correctly switches, but the justification resets back the previous setting and it must be manually changed back again.

Screenshots attached - changed justification to right while language is set to English, change to German and the justification returns to the centre (which it was originally).

I am using 'Best Fit'.

It will continue to happen for the affected text even when the language is being changed from another piece of text afterwards.
If I close Unity and re-open it, the problem stops happening. I've currently been unable to determine what causes the bug to start happening, I shall update when I find out.

Any ideas?

Many thanks
Attachments:
Last Edit: 6 months 3 weeks ago by jimmyt3d.
The administrator has disabled public write access.

Text justification resets after changing language 4 months 4 weeks ago #2297

  • jimmyt3d
  • jimmyt3d's Avatar
  • Offline
  • Senior Member
  • Posts: 43
  • Thank you received: 1
  • Karma: 1
This is still happening in 2.6.12f2 - any ideas?
The administrator has disabled public write access.

Text justification resets after changing language 4 months 4 weeks ago #2299

  • Frank
  • Frank's Avatar
  • Offline
  • Administrator
  • Posts: 897
  • Thank you received: 193
  • Karma: 57
I'm just finishing a fix for this. Will commit it in the next beta
Thanks!
Frank
Are you :-) Give I2L 5 stars!
Are you :-( Please lets us know how to improve it!
To get the betas as soon as they are ready, check this out
The administrator has disabled public write access.

Text justification resets after changing language 4 months 2 weeks ago #2326

  • Frank
  • Frank's Avatar
  • Offline
  • Administrator
  • Posts: 897
  • Thank you received: 193
  • Karma: 57
Hi,
I just uploaded version 2.7.0 a12 to the beta folder. It has a fix for this issue!

Hope that helps,
Frank
Are you :-) Give I2L 5 stars!
Are you :-( Please lets us know how to improve it!
To get the betas as soon as they are ready, check this out
The administrator has disabled public write access.
The following user(s) said Thank You: jimmyt3d

Text justification resets after changing language 3 months 2 days ago #2403

  • jimmyt3d
  • jimmyt3d's Avatar
  • Offline
  • Senior Member
  • Posts: 43
  • Thank you received: 1
  • Karma: 1
I've just updated to 2.7.0 f1 and can confirm this bug is fixed. Thanks!
The administrator has disabled public write access.
Time to create page: 0.241 seconds
Colors