Version 1.4.0 Preview 3 with Dynamic SDF for Unity 2018.3 now available!
At long last, the wait is over! Today, I am pleased to announce the release of the first preview of TextMesh Pro version 1.4.0 for Unity 2018.3 with support for Dynamic SDF. One of the most requested...
View ArticleUI Table? What?
[BEGIN RANT] Unity UI has some good predefined UI controls. And today i wanted to add a simple table with headers and cells. You know, that kind of thing you can do in 3 minutes or less in HTML code....
View ArticleDo UnityEvents automatically remove all listeners when an object is destroyed?
I'm used to remove all event listeners from C# events in OnDestroy, but I'm asking myself if this is still needed when using UnityEvents (added by code) – is it? Otherwise what's the best practice? To...
View ArticleChange the Value of a Toggle without triggering OnValueChanged?
Can You change the value of a toggle without having it call it's OnValueChanged functions? When the user presses the toggle i need some code to happen but sometimes i need to change the Active state of...
View ArticleTMPro text bounds doesn't count end whitespace
Hey folks! I'm currently trying to create an InputField that dynamically resizes based on the size of the text content. I've had great success with the following code: Code (CSharp):...
View ArticleTextMeshProUGUI equivalent of .tabSize?
I've got a runtime code editor using TextMeshProUGUI, and it works great in most respects. The one place it really fails is with tabs. The tab size is, shall we say, excessive: View attachment 401668...
View ArticleSequential Toggle (and Being Able To Go In Reverse)
I am trying to setup sequential toggles. IE 12345 54321 However, I don't want the previous one to turn off when I click the next one. IE 1 is on. if I turn on 2, 1 still stays on and isn't interactable...
View ArticleCamera.Render() seems to trigger Canvas.SendWillRenderCanvases()
Hey there. I've got a background camera rendering out some meshes to a RenderTexture. There is also a complex uGUI doing stuff with the user. Both of these have to run in parallel. I've found through...
View ArticleCustom Eventsystem For Integrating Spatial Hashing
Hello, I have about 10k UI buttons in world space with a world canvas When I click, I have huge peak because of the eventsystem. Profiling, I found that the "guilty" method is EventSystem.RaycastAll. I...
View ArticleTextMesh Pro + Sprite Asset - Order in Layer
Hello, I have a TextMesh Pro object that uses a sprite asset. I have set the Order in Layer field, when the game runs the text is rendering fine but the sprite asset is rendering below other elements....
View ArticleUI and multiple displays
I'm working on a project in Unity 5.3 w/ multiple display support. I'm rendering a separate canvas to each display in fullscreen native resolution. The idea is that one display is a touchscreen for...
View ArticleShould Softness Not Scale With Font-size?
It feels like this is a bug that has existed for a very long time. Increasing the font size of a TMP Text will eventually cause it to become invisible. For large text (example from fortnite:...
View ArticleTextgenerator Creating Unneeded Verts
My project has some uGUI text that been's performing poorly, and I found something strange about TextGenerator. With a rich text string that's over 6,000 characters long (that renders about 40-50...
View ArticleLocal Textmeshpro Variable Not In Scope
When I first migrated intellisense would not work with TextMeshPro so I moved and unlocked the source to the Assets folder. Now intellisense works, but when I debug, local TextMeshPro variables cannot...
View ArticleCharacter Not Found In Texmesh Pro Version 1.4.0
Text mesh pro not showing correctly, i got this error in unity 2018.3.8.f1, already tried to reimport the texmesh package, install reinstall, etc. Other person with the same project has the text...
View ArticleScroll View With Grid Layout Group
I want to do a log panel. I have a fresh project, add a Canvas then add Scroll View and finally add the Grid Layout Group in Content object (in Viewport), adjust the Cell size X 480 to fit to my width...
View ArticleBug With Getutf32 Conversion
Hello, i found a bug in method below (inside script TMP_Text.cs) The conversion of the last character of UTF32 is incorrect. Values converted using protected int GetUTF32(string text, int i) { int...
View ArticleSmall Font Rendering
Hello, the SDF approach is awesome, but as it is right now it has some trouble with very small text. When working with small font sizes (9px - 12px) the new sharpness property in the font material...
View ArticleHide Mobile Input... does not work
Has no effect, on screen mobile keyboard shows up regardless. tested on 2017.1 (android)
View ArticleTextMesh Pro bitmap font outlines and shadows
What is the recommended solution for adding outlines or shadows to bitmap fonts (font assets created using the Hinted Raster setting)? I made a custom shader to do this in the meantime, but my shader...
View Article