Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
0
Question by bn3d · Sep 29, 2015 at 01:06 AM · guitext

5.2 UI is BROKEN!

My UI is HOSED! 1. Image components which should have 'none' sprites have the default sprite (rounded rect thing). Setting it to another image does that, but setting back to 'none' does NOT fix it, it goes back to ugly! 2. Text on UI items does not change color. Create a Text. Change color. NOT. RGB not taking, but alpha does!

Did I miss something in release notes which says to rebuild and redesign UI from scratch?

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image bn3d · Sep 29, 2015 at 09:02 PM 0
Share

alt text

screen-shot-2015-09-29-at-15729-pm.jpg (449.8 kB)

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by Tomer-Barkan · Sep 29, 2015 at 04:53 AM

  1. If you don't want to see the sprite, disable the "Image" component or set its color to alpha 0. Selecting an empty sprite uses some default, that's the way it works, even before 5.2.

  2. When I change it in 5.2 it works just fine. Make sure the button's "Color Tint" is not assigned to change the text color. For test - create a new UI button, don't do anything except change the text color to something very different like red. See if it works. Otherwise show us a screenshot of the inspector of the button and how it looks (both text and button)

Comment
Add comment · Show 4 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image bn3d · Sep 29, 2015 at 08:26 PM 0
Share

No, the Image is behaving differently. 5.1.3 I could set the sprite to 'none' and it was 'none'. $$anonymous$$y existing content will now show a default sprite. I can change it, but I want 'none' and it won't. I can't disable it because I want the 'color' part of the Image. $$anonymous$$ore to the point, I shouldn't have to do anything to my content, I'm not doing anything out-of-scope. In 5.2.0, if I create a new button, I can change the button background color OR the text's color. In my existing content, the text color will not change. In 5.2.1, I create a new button, it won't change the color. It may be that if I have an Empty scene I can get this to work better, but adding new Buttons to my existing scene has this problem. Note this text issue happens with just Text objects on Panels as well (not Button related). I'll upload screenshots ASAP.

avatar image bn3d · Sep 29, 2015 at 08:34 PM 0
Share

Apparently a known bug, at least the sprite thing: http://forum.unity3d.com/threads/unity-5-2-on-mac-bad-ui-problems.357915

Not sure about the text. Uploaded screenshot to original post.

avatar image bn3d · Sep 29, 2015 at 11:08 PM 0
Share

Workaround: Export scenes from hosed project. Import into new clean project. Reset all global project settings.

avatar image Tomer-Barkan · Sep 30, 2015 at 05:00 AM 0
Share

That's very weird. I tried the exact same thing on 5.2.1 and it worked perfectly (the project was upgraded from 5.1.1 recently)... Guess you should report a bug :)

avatar image
0

Answer by do2 · Sep 29, 2015 at 11:17 PM

I'm also having problems with the UI in 5.2.

I posted this some hours ago http://answers.unity3d.com/questions/1073860/ui-text-rich-formatting-broken-after-upgrading-to.html

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image bn3d · Sep 30, 2015 at 01:56 AM 0
Share

Oh my, thanks for the heads up

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

35 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Connect C# script with GuiText 1 Answer

How to make text appear in script? 1 Answer

Showing player health on UI 1 Answer

Making texts look smooth good and not pixel crisp no matter their size with TMP & custom fonts 0 Answers

Modals for 3D Objects/Environment 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges