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 Ivalaostia · Jul 02, 2015 at 12:30 PM · androiduiguilayoutscroll

Unity5 new UI render problem on Android

When I am testing the UI on the editor or on my Android device, I am having the proper result on the screenshot attachments. But when tested it on my friend's device its messed up like on the other attachment. Problem probably caused by the scroll rect elements that each row has, probably related to some rendering setting, but I have no clue. Anyone has any idea about it?

screenshot-2015-07-02-15-06-10.png (166.5 kB)
unnamed.png (72.6 kB)
Comment
Add comment · Show 8
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 Tomer-Barkan · Jul 02, 2015 at 01:01 PM 0
Share

What's your canvas scaler mode? (it's attached to the canvas object)

avatar image Ivalaostia · Jul 02, 2015 at 01:06 PM 0
Share

Constant pixel size with Scale factor 1, ref. pixel to unit 100.

avatar image Tomer-Barkan · Jul 02, 2015 at 01:10 PM 0
Share

Thats probably your problem, it doesn't adjust to different device resolutions and scales.

Try "$$anonymous$$atch Width or Height", and then put it on full height (1). You might need to play with your anchors to fit well in screens with different aspect ratios, decide which components to stretch and shrink by anchoring them to the edge of the screen (unless you want to plan to the smallest ratio and have black lines on the edges of larger ones)

avatar image Ivalaostia · Jul 06, 2015 at 08:27 AM 0
Share

Thank you for quick reply mate. And sorry for my late answer. I accidently posted this as an 'answer' ins$$anonymous$$d of commenting here. I'm new to unity answers. Anyway I've played around with scale mode settings on "Scale With Screen Size" mode at 800x400 and "$$anonymous$$atch width or height". It helps me to fit the upper table to screen, fix some row widths and stuff, but doesn't really resolves the issue. I've attached another screenshot related to the issue, with some coloured arrows painted on it (since english is not my native it might be more useful to express the problem I'm still having)

alt text

49346-2015-07-02-copy.png (107.4 kB)
avatar image Mehrdad995 · Jul 12, 2015 at 01:34 AM 1
Share

seems that 2 cameras are rendering UI. i read somewhere if you are using more than 1 camera in you're scene
make at least one of them as clearFlag

Show more comments

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Ivalaostia · Jul 13, 2015 at 02:16 PM

Yep, switching it to clear flag - solid colour worked for me ^_^ Thank you mate ^^

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

Infinite Scroll Rect? 0 Answers

UI elements change position 0 Answers

ScrollView disappears shortly after starting the game (Android) 1 Answer

Layout group items are not fitting well 0 Answers

Unity 5 GUI fllickering, artefacts on Android 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