Change Button spriteState iOS exception \ bug
Hello! I found a bug in unity which appears when you try to change Button's spriteState and set pressedSprite field programmatically. The code below: Code (CSharp): Â Â Â Â public Button btn;...
View ArticleTable of Contents Dots
Hi I am attempting to create a table of contents with a Title, Page Number and in between them there would be Dots that would need to repeat based on the Title and Page Number width. I am trying to use...
View ArticleHow to make tab with UGUI?
Tab means, when user click tab button, other UI elements are changed. How to make these? with gameObject.SetActive(true/false) mechanic? or another neat way?
View ArticleImages with material "None" rendered green
Hi, I have an issue with my project where new UI images are rendered green when their material is set to None. Even in a new scene, an empty image is rendered green. View attachment 218160 However, in...
View ArticleText background color on some letters
Hi, I have a Text(Script) component the following text: "My name is <b>Boi</b>." With the Rich Text checkbox turned on, it looks like: "My name is Boi." So far so good. Now I would like to...
View ArticleHow to instantiate elements on UI
Hi. I am quite new with Unity 3D and c#. I am still trying to find my way. The manual is really not helping, it looks it was created by people who knows Unity for people who knows Unity and don't look...
View Article[5.2] MaskableGraphic performance OnEnable(), OnDisable()
Hey folks. Our UI has seen some major spikes since upgrading to 5.2 from two functions - MaskableGraphic.OnEnable() and MaskableGraphic.OnDisable(), both coming in at a whopping 51ms. There is also a...
View ArticleMixing graphics and physics raycaster allows only one to work.
Hello, I have a problem that I hope you all can help me with. There is a complex UI I want to make. It involves a Canvas with usual 2D UI elements (grid layouts, buttons, etc) as children of it using...
View Article[Solved] Dynamic Blurred Background on UI
HI, Ive been searching the web on how to blur the background of a UI element dynamically (not a static image) using uGUI in personal edition like this but have not found anything easy to follow Does...
View ArticleWhite images with material "None" rendered green
Hi, I have an issue with my project where new UI images are rendered green when their material is set to None. Even in a new scene, an empty image is rendered green. View attachment 218160 However, in...
View ArticleImpossinle to set PerRendererData for custom UI shaders?
Edit: Damn, title typo... Hey guys. So I am creating a sheen effect to my UI buttons. The buttons have a graphical component (UI.Image). I add my component to this gameobject (UISheen). My component...
View ArticleEvents don't fire on Canvas?
Is there some reason why event scripts like OnMouseDown etc don't fire on UI Canvas objects? The reason I'm asking is that I want to trap when the user clicks and drags on an empty area of the Canvas....
View ArticleCanvas Ghosting Between Multiple Cameras
I have 2 cameras. Each camera is stationary and focusing on different areas of the scene. Each Camera has a different canvas attached to it via Render Mode selection: "ScreenSpace - Camera" under the...
View ArticleGame not working correctly after building it for android.
Hey, I have completed developing my 2D game for android and everything was working fine in my unity editor. But when I build it for android and installed it on my android devices the following problems...
View ArticleUI image is moving when should not and how can i prevent ui elements increase...
I dont understand why an image moves when i resize window to full screen when i put anchors on the corners of the image Also how can i make so that images and other elements dont increase in size when...
View ArticleNormals, Tangents and batching
I'm passing some floats to the shader encoded in the Normal and Tangent vectors. But those values are modified by unity when batching the UI vertices. What's the exact modifications that are applied to...
View ArticleAspect Ratio Setup for Web fetched Image
Basically I was fetching game players image from web server which was uploaded by player. Definitely images were in different aspect ratios. Right now one image display correct in Image UI component...
View ArticleMask component does not support gradient alpha?
I put a alpha mask image with a gradient and that does not work as I was expecting. Only alpha 0.0 or 1.0 work. Any value between, doesn't. :'( Am I missing something or its a bug?
View ArticleButtons within scroll rect are difficult to press on mobile
I have a scroll rect which presents a grid of icon buttons. On desktop the buttons are easy to click, on mobile (android) the buttons are difficult to press. When I tap them It seems that only the...
View ArticleUI.Slider - Value becomes NaN when clicking at the bottom
Im having an issue with the unity sliders. I've not done anything fancy with them other than dynamically load them from a prefab into a horizontal layout group and add a little UI.Text (and script)...
View Article