Issue with I2Localization & TextMeshPro

More
3 years 4 months ago #4394 by SolarBlaze
Got an error using latest version of I2Loc & Unity 2019.2.15 & TextMeshPro 2.1.6

We have "en" and "es" localizations, but when user has Spanish language on device, TextMeshPro texts don't change & for each TMP component there is an error:

A scripted object (probably I2.Loc.LocalizeTarget_TextMeshPro_UGUI?) has a different serialization layout when loading. (Read 32 bytes but expected 60 bytes)
Did you #ifdef UNITY_EDITOR a section of your serialized properties in any of your scripts?

Byte numbers are always the same.

Unity 2020.3.15 TextMeshPro 3.0.6 has the same issue. Also tryed reimporting, nothing changed.

Has anyone got through this problem? How can I fix this?

Please Log in or Create an account to join the conversation.

More
3 years 3 months ago #4405 by kj
I had same problem.
Unity 2020.3.14

I have fixed it by adding define symbol "TextMeshPro".

Please Log in or Create an account to join the conversation.

Time to create page: 0.185 seconds
Template by JoomlaShine