Quantcast
Channel: UGUI & TextMesh Pro
Browsing index pages (23263 articles)

Strange Canvas size behavior in 2022.3.18 (HDRP)

Following on from my issue with RenderTextures, I've noticed really odd behaviour with Canvases. Steps to reproduce: Create a brand new, HDRP project in 2022.3.18. In the default "OutdoorScene" scene,...

View Article


Invisible UI elements on worldspace canvas

Im trying to create a little image above an NPC's head using a canvas attached to the NPC, with a render mode of 'world space'. I can see the image fine when I am inspecting the prefab in the prefab...

View Article


I can't get TextMeshPro to show up anywhere

I cannot get my textmeshpro object to appear anywhere, it doesn't show up in the game view and it for some reason just appears as a blue box in the scene view, I know there are a lot of other people...

View Article

TextMeshPro (UI) doesn't show up on Android device

Hello, I have a problem with my TextMeshPro (UI). In Unity, the text shows, but on my Android device not and I don't know why. It's just an TextMeshPro (UI) text object in a UI Button object on a...

View Article

Accordion Type Layout

I am trying to make a GUI using the new 4.6 GUI components. This screen needs to be able to expand and contract depending on the values that the user enters. For example if the user checks a certain...

View Article


Image may be NSFW.
Clik here to view.

Drag a scroll rect with right mouse button, making all UI elements on top...

Edit: I couldn't figure out how to remove the thread when I solved it a few hours after posting, so I figure it's better if I replace my post with the following solution: 1: I created a script that...

View Article

Deleted Docs

2 days ago, this page was disappeared. Please redirect properly your deleted documentation. Here is a suitable link. You are forcing me to manually correct the links for each of my assets in the Unity...

View Article

global pointer events?

Is there an easy way to access global pointer events in the new UI eventsystem? Basically the items shown at runtime in the inspector for the EventSystem (pointer id, position, pointerEnter,...

View Article


Image may be NSFW.
Clik here to view.

Masked UI Element's Shader Not Updating

I have a custom shader I am trying to use on a UI Image element. When the element is rendered by itself, the shader works fine. If I make the UI Image a child of an object with a mask, the shader...

View Article


Image may be NSFW.
Clik here to view.

TmpText not showing under mask after changing show values of tmp shader

original title: Some of the ui material change to "stencil id:1, op:keep, Comp:Equal" usually they were "Defalut UI Material (Material)" they are Images with no material. The problem is tmpTexts under...

View Article

Character vertex colors being reset on camera FOV change

I have a typewriter effect that loops through every characterInfo on a TextMeshProUGUI and sets all 4 of the vertex color's alpha values to 255. At first, when I had my canvas set to overlay, this...

View Article

After localizing Font Assets and Materials the application crash on exit

I used the Unity Localization package to localize the Font Assets and correspondent materials per local. Everything seems to work fine on runtime, but when exiting the application crashes with this...

View Article

Mask with partial transparent image won't take an effect on child image

Mask with partial transparent image won't take an effect on child image 1. What happened I generated an image to use as a mask but the mask is set by the bounderies of the image component instead of...

View Article


The addition of a OnTextChanged.

Is there a way to subscribe to text changes of the standard TextMeshProUGUI? I am working on a script that automatically updates other texts to the value of a TextMeshProUGUI, to use for outlines or...

View Article

Please add support for variable fonts with multiple weights in the same file

I have a .ttf font that includes multiple weights (regular, semi-bold, bold) within the same font file. They call this feature a "variable font". Since this is much more convenient to work with than...

View Article


Textmeshpro Caret Position Change

i'm trying to move caret in textmeshpro inputfeild To A Certain Position In A String of 10 letters but it is not working for some reason i've used the latest version of textmeshpro I've logged the...

View Article

Material exception on changing visibility

I'm using Unity 2019.3.0f1 and TextMesh Pro Preview 2. I started to write a UI manager for my game, where panels are enabled and disabled to switch between them. When I toggle between active and...

View Article


Image may be NSFW.
Clik here to view.

Camera.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 Article

How do i use "font" richtext tag for TMP_FONTASSET created on runtime..

Hi there. Following tag takes SDF names. In my case I create TMP_FONTASSET at runtime and I want to mix those font assets with richtext font tag, but have no idea how. Please advise Thanks...

View Article

How can you ignore layers via the Graphic Raycaster blocking mask?

I have a simple set up; an overlay canvas with a button and an image. I want the mouse click to pass through the image and have the button pressed. I thought this was possible by using the graphic ray...

View Article
Browsing index pages (23263 articles)


Latest Images