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
0
Question by recon472 · Sep 02, 2014 at 04:25 PM · uiguiunity 4.6beta

Unity 4.6 ui scroll rect won't show up in fullscreen

Hi. I have a game object inside a canvas with a scroll rect, empty image and mask components. The child of this object is an empty game object containing buttons for changing resolution as children. They are procedurally generated according to the Screen.resolutions array.

When I have the game in standalone fullscreen, the whole menu disappears as I select any resolution other than my native one (the biggest one). However, when I am in the editor or standalone windowed, it works like a charm at all resolutions supported.

Any ideas?

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 recon472 · Sep 15, 2014 at 11:26 AM 0
Share

and it doesn't work only on mac. on windows it works alright

avatar image HarshadK · Sep 15, 2014 at 12:00 PM 0
Share

it would rather help if you could post your code for procedurally generation of elements and placing them according to the Screen.resolutions array.

avatar image geisert · Oct 15, 2014 at 02:37 AM 0
Share

I'm getting the same issue.

I'm using scroll rects in multiple places for multiple purposes, and only the ones that have masks are invisible. Collision is still working fine on the scroll rects, but visibility is not for full screen mode on a mac when the scroll rect has a mask associated with it.

1 Reply

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

Answer by Namey5 · Oct 15, 2014 at 07:26 AM

The new GUI system has some strange scaling differences (that I have noticed) between the editor and the game view. Things that may show up in editor / game view / .exe application may not be visible in others. Perhaps you could try using a smaller scaling or positioning of the GUI elements and see if that makes any difference.

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 recon472 · Oct 17, 2014 at 07:26 PM 0
Share

well I think it is a beta bug. on some resolution I can see dots left by the menu at the position it should be but its far from being readable. on windows it works flawlessly. on my other mac it doesn't work at all even though I have the same resolution on both computers

avatar image Namey5 · Oct 18, 2014 at 01:01 AM 0
Share

Yeah, I've had multiple bugs with the beta. What type of positioning are you using for the canvas? I.e. Screen overlay, camera space or world space?

avatar image recon472 · Dec 30, 2014 at 12:06 PM 0
Share

So the issue was actually the anchors. They have to be set to the corners of the button to stay in the same place no matter what

avatar image Namey5 · Dec 31, 2014 at 12:32 AM 0
Share

Right, forgot about anchors. All I did was in the game view, change the aspect ratio and made sure that every element fit on every A.R.

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

Unity 4.6 GUI - Stretch/scale while rotated 2 Answers

How can I make an image maintain it's aspect ratio in Unity UI? 2 Answers

Unity 4.6 UI - Image type conflict 1 Answer

Unity 4.6 Button is not working. 4 Answers

Unity 4.6 UI - How to left-align scroll rect content 3 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