Can't apply sprites to UI Panel (Image-type table)
Hello. I have a problem with applying sprites to UI panel (precisely: to Image-type table I created). All sprites have Texture Type set as "Sprite (2D and UI)". Unfortunately I still cannot drag and...
View ArticleLayout Groups not effecting any object added to them
Hello. I have been working on creating a grid menu which holds all the cards in a players deck, like in the game Slay the Spire View attachment 1436106 All the cards (Instantiated and copied from the...
View ArticleTMP Input Field "No Monobehaviour Scripts"
I'm currently unable to use TMP Input Field, it will work fine until I start a build, and then all the input fields in my project will be unselectable. When I view the input field script in Packages,...
View ArticleHow can I make progress bar with inverted colors?
I want to make something like this for my sliders and progress bars, however, I coudln't find any good explanation or tutorial on how to do this. I tried to do some shaders but it ended up breaking my...
View ArticleCanvas Scaling Script not Working in TestFlight but Works in Simulator
Hey guys, I'm having this strange issue. I'm fairly new to unity just fyi, but I'm trying to get my app to work on all iOS device screens. I've tried many different things and I've even written script...
View Article[Solved] UI Button not working at all
My button won't even highlight on mouse over. I have an EventSystem. Tried with the EventSystem option Force Module Active. I have only one Canvas. The Canvas has a Graphic Raycaster component. Canvas...
View ArticleClicking on two UI elements simultaneously (one element over another)
Is there any way that i can click on two elements simultaneously? I want to use one image as zone for touchpad and other image as button for fire, now clicking on fire button (which is on top of...
View ArticleAdding support for variable fonts
Hi, Variable fonts are an extension to the opentype font format introduced in 2016, the new format allows to contain multiple font weights, widths and styles in a single font file. Major operating...
View ArticleScrollBar Fixed Handle Size
Is it possible to make the handle of a scrollbar fixed size or use a Slider instead of a ScrollBar with a ScrollRect? I want to use a simple handle and not the handle that is resized during the use. Is...
View ArticleAbility to add enum argument to button functions
A feature I would love to see is for buttons to be able to call functions with an enum type argument for instance... Code (csharp): Â public enum type { Â fire, water } Â public void SetType(type t) {...
View ArticleHow 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 ArticleHow 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 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 ArticleMaterial 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 ArticleTextmeshpro 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 ArticlePlease 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 ArticleThe 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 ArticleMask 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 ArticleAfter 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 ArticleCharacter 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 ArticleTmpText 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 ArticleMasked 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 Articleglobal 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 ArticleDeleted 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 ArticleDrag 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 ArticleAccordion 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 ArticleTextMeshPro (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 ArticleI 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 ArticleInvisible 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 ArticleStrange 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