Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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
1
Question by fafase · Sep 04, 2014 at 10:29 AM · uigui

Beta UI 4.6 - Red Cross on runtime objects

As you can see on the picture below, there is a huge red cross on top of my yellow button. This is only showing in the Scene view and not on the Game view.

The button is instantiated at runtime (while pressing the more button above) and all following creations also contain the red cross. Console does not say anything.

Any idea?

alt text

new bitmap image.png (24.1 kB)
Comment
Add comment · Show 3
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 HarshadK · Sep 04, 2014 at 10:50 AM 0
Share

Can you provide your code?

avatar image Subhajit-Nath · Sep 06, 2014 at 09:22 AM 0
Share

I have the same problem but in a different situation.

I have a scroll view with many image elements. I get this red cross when the game view is switched to a smaller resolution like 320x480 (Android). Weird....

avatar image Subhajit-Nath · Sep 06, 2014 at 11:47 AM 0
Share

I was able to trace out the red cross issue at least for my situation.

I had an empty group with Rect Transform width set to negative value. That created the problem. Looks like if the sprite is flipped in width or height (not negative scale), we get the red cross.

1 Reply

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

Answer by Gizmoi · Sep 04, 2014 at 10:32 AM

It looks like there's an image that is backwards on top of your button, check that it doesn't have a negative width or height.

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 fafase · Sep 04, 2014 at 10:41 AM 0
Share

Indeed the Panel in which the button is contained gets upside down. The Panel seems too big as a small button container.

I have yet to work further on this issue (lack of time) but will come back to update that solution. In the meanwhile, this answers the problem.

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

25 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

Related Questions

9-sliced image in the UI 4.6 not working as expected... 2 Answers

UI is not visible on Android lollipop after upgrading from 4.6 to 5. 0 Answers

Is there a better way to access the single active Toggle in a ToggleGroup? 4 Answers

Multiple canvases and graphic raycasters 1 Answer

Fading Out UI On Play 1 Answer


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