Issue with I2Localization & TextMeshPro
- SolarBlaze
- Topic Author
- Offline
- New Member
- 
				  
		Less
		More
		
			
	
		- Posts: 1
- Thank you received: 0
			
	
						4 years 2 months ago				#4394
		by SolarBlaze
	
	
		
			
	
			
			 		
													
	
				Issue with I2Localization & TextMeshPro was created 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?
					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.
			
	
						4 years 2 months ago				#4405
		by kj
	
	
		
			
	
			
			 		
													
	
				Replied by kj on topic Issue with I2Localization & TextMeshPro			
			
				I had same problem.
Unity 2020.3.14
I have fixed it by adding define symbol "TextMeshPro".
					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.128 seconds	
