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 dronpes · Feb 22, 2015 at 04:18 PM · uiunity 4.6user interface

Simple UI not appearing once deployed to iOS (4.6.2)

I've tried everything I can think of to simply set up a primitive UI on Unity 4.6. I've followed every tutorial and read the doc's twice through. Unfortunately, I can't get my Canvas to appear once deployed to iOS.

I've placed a few filler buttons in a Panel within a canvas and set the Canvas to 'Screen Space - Overlay.' The canvas renders fine in Play Mode, and all buttons appear where they should at every resolution I test.

Once I deploy it to my iOS device, though, no combinations of settings have ever shown the UI.

Here are my Canvas settings and what I see in Play Mode:

alt text

And here's what it looks like on the iOS device. No UI:

alt text

What might I be missing? I only have one camera, and it is set to 'Culling Mask' everything and 'Layer' Default. Or is this a bug in 4.6's deployment to iOS? I'm pulling my hair out here...

screen-shot-2015-02-21-at-53120-pm.png (212.0 kB)
photo-copy.png (6.4 kB)
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 MMOERPG · May 19, 2016 at 11:55 PM 0
Share

I'm having a very similar issue running Unity 5.4.3f1.

I have a canvas, parent to PanelA, parent to PanelB, parent to Button.

The Canvas is set Scale with Screen Size. PanelA's RectTransform.sizeDelta is changed to screen.width and screen.height from a script that is not activated until the panel becomes active. PanelB is set to width 48, height 48 posX -60 and anchored to the left and has a Vertical Layout Group attached with child alignment middle center and no force child expands there is also a content fitter with both set to preferred size. The Button is standard except is has a Layout Element with only preffered width and height checked and set to 48.

Now, everything works on my computer but when I build on my Iphone 6 Plus the buttons are not there.

I've isolated the issue to the PanelA's RectTranform.sizeDelta being adjusted to screen.Width and screen.Height. When this code is commented out, the buttons appear on both the computer and on my Iphone however the resolution is slightly off. I'll play around with some different configurations but this appears to be a bug unless i'm missing something.

1 Reply

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

Answer by dronpes · Feb 23, 2015 at 05:42 AM

Uninstalling Unity and installing 4.6.3 resolved the issue.

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

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

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

How to achieve this desired render order with the new 4.6 UI? 2 Answers

Accessing Standalone Input Module Data 0 Answers

Unity5 UI - How to trigger button click event while preventing menu item deselect event? 1 Answer

Reliable way to get width/height of UI element? 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