Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 11 Next capture
2021 2022 2023
1 capture
11 Jun 22 - 11 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 /
avatar image
0
Question by RafiXWPT · Aug 11, 2015 at 01:02 AM · uicolorpanel

Problem with UI Panel Color

Hello. Today I faced really annoying problem which I can't solve by myself, cus I have no idea whats going on.

I am working on inventory GUI system and now I wanted to make Equipment window. Everyting is okey and working well, BUT! My Equipment pannel changing colors randomly by itself! O.o. I found that problem by accident. If I close Inventory Window, Equipment panel change color. Some screens from that strange situation:

Inventory Opened: screen1

Inventory Closed: screen2

Inventory Opened: screen3

Inventory Closed: screen4

I have no idea whats going on. There is no script for changing colors on Equipment Panel, actually, there is NO connection between Inventory & Equipment Pannels.

Can somebody help me solve that strange problem? There is problem if I use too many Pannels in one GameObject?

EDIT! Same situation is when I click on button for generate items to my inventory. Equipment Pannel change color after random number of clicks...

EDIT2! I could solve that by disabling Image component on StatsPanel: screen. Unfortunatelly now I don't have that border. Now I just wonder. Why if I enable it I am facing with so strange problem?

Comment
Add comment · Show 2
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 Nerevar · Aug 11, 2015 at 09:09 AM 0
Share

Coud it be that you have several UI elements on top of each others? that's what it looks like.

It is hard to debug this with only screenshot, you should try to make a very simple display that reproduces the bug so we can look into it.

You sure you don't have any scripts/animations playing with the panel colors/alpha?

avatar image RafiXWPT · Aug 11, 2015 at 09:22 AM 0
Share

There is no UI elements on top, I already checked that (thats come to my $$anonymous$$d firstly too). I can't create good debug info cus there is no connection between these pannels. I even deleted all scripts from Equipment Panel to check if it helps but with no success. There is no other script/animation included. Looks like some Unity UI bug. Only deleting Image component on one of Equipment child panel helped.

I am wondering if that could be because of using standart Unity sprite as image. I will create some image as background and post answer if same thing goes there.

1 Reply

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by RafiXWPT · Aug 11, 2015 at 10:01 AM

Okey I found answer. There must be something with Unity standart assets. When I downloaded & converted jpg image into Sprite UI and put as background situation seems to be stabilized. There is no changing colors by that panel any more.

Comment
Add comment · 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

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

24 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

Related Questions

Easily recolorable Button background textures 1 Answer

Animation not playing on game object activated by script 3 Answers

Screen to canvas space 2 Answers

How to display new panel replacing the first one 1 Answer

UI Elements in Screen Space Overlay obey Transform.Translate, but Elements in Screen Space Camera do not. 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