Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 unitynovice5 · Jun 13, 2017 at 12:37 AM · builduser interface

Canvas does not appear in build.

I'm a noobie, I'm developing for Cardboard, I'm using the latest Unity, and I'm building to a Droid Mini. I made a score/win UI Canvas that works in play mode, but does not appear in my build. I've exhausted all ideas, including restarting from scratch, so I wonder if I'm missing something obvious. Any ideas are greatly appreciated.

Comment
Add comment · Show 5
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 hexagonius · Jun 13, 2017 at 10:31 AM 0
Share

Can you show a screenshot of the canvas setup in hierarchy and the canvas in game and scene view?

avatar image FunIsDangerous · Jun 13, 2017 at 10:36 AM 0
Share

It might actually be there but you are not seeing it because you may not be handling cross-resolution support well enough, and there is a resolution difference. Try adding an image with a color (something very visible, red for example) and extend it to the entirety of your canvas, and even bigger to confirm

avatar image unitynovice5 · Jun 14, 2017 at 06:20 PM 0
Share

alt text

@hexagonius

screenshot.jpg (500.2 kB)
avatar image hexagonius · Jun 14, 2017 at 06:52 PM 0
Share

Well, the inspector is missing. The canvas looks fine.

avatar image unitynovice5 hexagonius · Jun 17, 2017 at 12:31 AM 0
Share

Here is the Inspector. Thank You, Hexagonius.

screenshot.jpg (365.9 kB)

2 Replies

· Add your reply
  • Sort: 
avatar image
2

Answer by hexagonius · Jun 17, 2017 at 01:00 AM

In most cases, using constant pixel size on the canvas scaler is not correct. You're probably running your build on a different resolution and your layout doesn't fit that. Change it to scale with screen size, set your desired target resolution and reconfigure your layout. That should solve it.

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
avatar image
0

Answer by unitynovice5 · Jun 17, 2017 at 02:55 AM

hexagonius, followed your suggestions, including putting in a big red plane that covers the entire Canvas. When I build, the red plane appears off in the distance and only in a static position, with no sign of the text elements which I scaled up huge. Ideas? Thank You.

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 hexagonius · Jun 17, 2017 at 07:10 PM 0
Share

Only that you can configure the game view with exactly the same resolution as your target device (create new one on the drop down). It should then show you how it will look.

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

73 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 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 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

Distribute terrain in zones 3 Answers

Errors, SDK in prefrences and a pop up Vuforia SDK Cannot be found,Errors SDK and Vuforia SDK So frustrating 0 Answers

Visible meshes in iOS 1 Answer

Game shifts to lower right corner post build 0 Answers

How to build scene like this? 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