question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

InputField - RTLTMP

See original GitHub issue

By simply trying to drag and drop the component and running the scene, any input in the field gives an error: ndexOutOfRangeException: Array index is out of range. TMPro.TMP_InputField.GenerateCaret (UnityEngine.UI.VertexHelper vbo, Vector2 roundingOffset) (at Library/Unity/cache/packages/packages.unity.com/com.unity.textmeshpro@1.3.0/Scripts/Runtime/TMP_InputField.cs:2819)

Since TextMeshPro is now a package in Unity, the “known issue” (https://github.com/sorencoder/RTLTMPro#known-issues) cannot be fixed as the source code the TMPro is not accessible. Also this seems like a totally different error.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
pnarimanicommented, Aug 18, 2019

Hi. Unity Package Manager automatically reverts your modifications. Copy TextMeshPro package to your Packages folder inside your projects. This way package manager doesn’t overwrite your changes.

0reactions
hk1ll3rcommented, Nov 6, 2021

In TextMeshPro versions >= v2.1.0, this issue is fixed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

InputField - RTLTMP · Issue #14 · pnarimani/RTLTMPro
InputField - RTLTMP #14 ... By simply trying to drag and drop the component and running the scene, any input in the field...
Read more >
pnarimani/RTLTMPro: Right-To-Left Text Mesh Pro for ...
Features · Farsi, Arabic and Hebrew · Realtime RTL Text · Rich Text · RTL InputField (See known issues) · RTL Dropdown (See...
Read more >
RTL Text Mesh Pro. Free and Open-Source plugin to add ...
Rich Text All Text Mesh Pro's tags are available in RTL Text Mesh Pro RTL InputField (See known issues) Realtime InputField is supported....
Read more >
Class TMP_InputField | TextMesh Pro | 1.3.0
Determines if the text and caret position as well as selection will be reset when the input field is deactivated. Declaration. public bool...
Read more >
hk1ll3r.rtltmpro - npm Package Health Analysis
Use GameObject/UI/* - RTLTMP menu to create RTL UI elements. ... InputField, Dropdown (and anything that was designed to work with TextMeshProUGUI script) ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found