Textmesh Pro not recognized...
8 years 1 month ago #1873
by _kiu_
Textmesh Pro not recognized... was created by _kiu_
Hi, I'm trying your plugin for the first time. So far it seems super nice. I only have issues with TextmeshPro. When I try to localize TMP_Text there is no Target selectable in the localize component (Target:None). Using Unity 5.4.2p2, TMPro 1.0.54.52. Force Detection of Plugins won't work, neither will manual settings edit, am I missing something?
I posted this on the unity Forum as well, don't know which one is maintained more frequently.
I posted this on the unity Forum as well, don't know which one is maintained more frequently.
Please Log in or Create an account to join the conversation.
8 years 1 month ago #1874
by Frank
Are you Give I2L 5 stars!
Are you Please lets us know how to improve it!
Replied by Frank on topic Textmesh Pro not recognized...
Hi,
Are you using a TMP_Text directly? As far as I know thats just the base type, and you should be using TextMeshPro or TextMeshProUGUI, which both inherit from TMP_Text. That component (TMP_Text) doesn't even implement a custom inspector as the others.
The plugin is able to detect TextMeshPro and TextMeshProUGUI, but will not TMP_Text.
Are you really using that component, or is just a typo? If so, can you please let me know how you are using it so that I could test that and add support for TMP_Text as well.
If instead of TMP_Text, you are using TextMeshPro and TextMeshProUGUI; please, very that the Scripting Define Symbols contains "TextMeshPro" (without the quotes).
Also, check the console, to see if there was any compile or runtime error that its preventing the plugins to work as expected.
Then, as soon as you add a Localize component to any object with TextMeshPro or TextMeshProUGUI the Target field will be updated automatically.
Furthermore. I2 Localization has an example scene showing the TextMesh Pro support (Assets\I2\Localization\Examples\Targets\TextMesh Pro Localization). Can you open that scene and verify that the Localize components in there have the correct Target? That will let you know whatever the integration is working and if the issue you are seeing is just a setup issue in your scene.
Also, if you like you can send me an small repro project that its not working for you and I will check it up and let you know of any setup issue that it has.
Hope that helps,
Frank
Are you using a TMP_Text directly? As far as I know thats just the base type, and you should be using TextMeshPro or TextMeshProUGUI, which both inherit from TMP_Text. That component (TMP_Text) doesn't even implement a custom inspector as the others.
The plugin is able to detect TextMeshPro and TextMeshProUGUI, but will not TMP_Text.
Are you really using that component, or is just a typo? If so, can you please let me know how you are using it so that I could test that and add support for TMP_Text as well.
If instead of TMP_Text, you are using TextMeshPro and TextMeshProUGUI; please, very that the Scripting Define Symbols contains "TextMeshPro" (without the quotes).
Also, check the console, to see if there was any compile or runtime error that its preventing the plugins to work as expected.
Then, as soon as you add a Localize component to any object with TextMeshPro or TextMeshProUGUI the Target field will be updated automatically.
Furthermore. I2 Localization has an example scene showing the TextMesh Pro support (Assets\I2\Localization\Examples\Targets\TextMesh Pro Localization). Can you open that scene and verify that the Localize components in there have the correct Target? That will let you know whatever the integration is working and if the issue you are seeing is just a setup issue in your scene.
Also, if you like you can send me an small repro project that its not working for you and I will check it up and let you know of any setup issue that it has.
Hope that helps,
Frank
I normally check both, although I prefer this forum as it's easier to find individual questions and track them.I posted this on the unity Forum as well, don't know which one is maintained more frequently.
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
Please Log in or Create an account to join the conversation.
8 years 1 month ago - 8 years 1 month ago #1888
by _kiu_
Replied by _kiu_ on topic Textmesh Pro not recognized...
Hmm... I'm puzzled.
It works in a new project, just Textmesh pro and I2Localization.
So I suspected an incompatibility with one of the plugins I use... and removed them one by one to find the culprit. Now nothing is left in my project except Textmesh pro and I2Localization - And it's not recognising Textmesh Pro Targets. Are there maybe any settings that are important for plugin recognition that I might have missed?
I attached my project - stripped of everything but I2Localization and Textmesh pro.
It works in a new project, just Textmesh pro and I2Localization.
So I suspected an incompatibility with one of the plugins I use... and removed them one by one to find the culprit. Now nothing is left in my project except Textmesh pro and I2Localization - And it's not recognising Textmesh Pro Targets. Are there maybe any settings that are important for plugin recognition that I might have missed?
I attached my project - stripped of everything but I2Localization and Textmesh pro.
Last edit: 8 years 1 month ago by Frank.
Please Log in or Create an account to join the conversation.
8 years 1 month ago #1891
by Frank
Are you Give I2L 5 stars!
Are you Please lets us know how to improve it!
Replied by Frank on topic Textmesh Pro not recognized...
Hi,
The issue was with the plugin auto-detection. For some reason, Unity decided to make iPhone and iOS build target use the same number in the enum, and iPhone is deprecated!! That its a nice trick, but messes with anyone trying to iterate over all platforms!!
I added a fix for this in 2.6.9a2
I also modified your project with both, the fix for the autodetection and verified that in the define section there is TextMeshPro set.
I just emailed you a link to the modified project, Please, let me know if you find any other issue.
Frank
The issue was with the plugin auto-detection. For some reason, Unity decided to make iPhone and iOS build target use the same number in the enum, and iPhone is deprecated!! That its a nice trick, but messes with anyone trying to iterate over all platforms!!
I added a fix for this in 2.6.9a2
I also modified your project with both, the fix for the autodetection and verified that in the define section there is TextMeshPro set.
I just emailed you a link to the modified project, Please, let me know if you find any other issue.
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 following user(s) said Thank You: _kiu_
Please Log in or Create an account to join the conversation.
- DavidJumpsuit
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
8 years 2 weeks ago #1914
by DavidJumpsuit
Replied by DavidJumpsuit on topic Textmesh Pro not recognized...
Please Log in or Create an account to join the conversation.
8 years 2 weeks ago #1915
by Frank
Are you Give I2L 5 stars!
Are you Please lets us know how to improve it!
Replied by Frank on topic Textmesh Pro not recognized...
Hi,
Are you using I2Localization 2.6.8 (Assetstore) or 2.6.9 (beta)?
There was an issue with the plugin detection when the platform target was set to IOS. That was corrected in 2.6.9a2.
If you can upgrade at the moment, then a fix is to manually adding the TextMeshPro or TextMeshPro_Pre53 defines (depending on what TextMeshPro version you have)
inter-illusion.com/assets/I2Localization...lizationTargets.html
If after upgrading or checking that the defines are correct, you still get this issue, please, let me know what unity and textMesh pro versions you are using, and if you are in windows or mac, and what target is your project set to (IOS, Android, etc). I will try reproducing the issue and send you a fix.
Hope that helps,
Frank
Are you using I2Localization 2.6.8 (Assetstore) or 2.6.9 (beta)?
There was an issue with the plugin detection when the platform target was set to IOS. That was corrected in 2.6.9a2.
If you can upgrade at the moment, then a fix is to manually adding the TextMeshPro or TextMeshPro_Pre53 defines (depending on what TextMeshPro version you have)
inter-illusion.com/assets/I2Localization...lizationTargets.html
If after upgrading or checking that the defines are correct, you still get this issue, please, let me know what unity and textMesh pro versions you are using, and if you are in windows or mac, and what target is your project set to (IOS, Android, etc). I will try reproducing the issue and send you a fix.
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
Please Log in or Create an account to join the conversation.
Time to create page: 0.200 seconds