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 Trouble07 · Jan 30, 2015 at 05:38 PM · uiiosbugtext

Try to reproduce this Text UI element "bug" if you are developing for IOS

This isn't exactly a question but rather a request to other developers who are targeting IOS devices.

Also this might eventually save you a lot of debugging time. ;)

So what I am asking is that someone who is preferably developing for Apple iPad Mini, that you would try the following:

  1. Create a new project

  2. Save the first Scene as TestScene1

  3. Create Canvas element with button element on it

  4. Remove the Text element under the Button's hierarchy (so it's a button but there's no text on it)

  5. Save the TestScene1

  6. Create new Scene and name it TestScene2

  7. Create Canvas element with Text element on it (and just leave all the default values on it, you don't have to touch it anyways)

  8. Save the TestScene2 and move to the TestScene1

  9. Create the script that is responsible of changing the scene (you can attach it for example on the main camera object). This can be something like... public void ChangeScene() { Application.LoadLevel ("TestScene2"); }

  10. Select the Button element from the hierarchy view and press the "+" sign under the "On Click()"- component of the button

  11. Now drag the main camera object from the hierarchy view to the buttons "On Click()" slot

  12. Select the scene changer function from the available function list (you should have the "ChangeScene" function under there because you have attached the script to the main camera, haven't you :D ). So now you have the button hooked up to change to TestScene2 on click

  13. Now save the scenes and the project

  14. Go to File->Build Settings...

  15. Change the Platform to IOS (and don't forget to add the scenes to the build)

After the building you should have a Xcode project ready for you... So, open it with the Xcode :) Of course attach your IOS device to the computer with USB cable so you have the device where you are going to run the motherfu... err, the test app :D

So build it and run it on your IOS device (hopefully on an iPad Mini, so we are testing on a similar device). Now the first scene should load as expected. Click the white button AND pay attention to the delay between the pushing of the button and the time when the next scene is actually shown to you!

Did you experience the delay? Somewhere around 2 seconds (at least on my iPad Mini, might be less with the newer devices). But still a noticeable delay considering the simplicity of the scenes!

I have noticed that the first time i want to use any UI element which has text shown (Text, Button... etc), I have this quite long delay before the scene is rendered. This is happening only on the IOS devices... or then on the Android it isn't just so noticeable and feels quite instant. So the problem is really relating to the IOS devices only.

I have filed a bug report already, but just wanted to know if anyone else can reproduce this problem. Took me awhile to track this problem down, since I first assumed that the problem would be related to some texture/image loadings.

Please test this out and comment how did it go, thanks! Oh, and I'm using Unity version 4.6.1f1.

Comment
Add comment
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

0 Replies

· Add your reply
  • Sort: 

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

2 People are following this question.

avatar image avatar image

Related Questions

Why are my Unity UI fonts rendering incorrectly? 4 Answers

Text rendering bug. Shows black squares. -1 Answers

How do I make a line of text in a list interactive? 2 Answers

Can't build for iOS 0 Answers

WWW http request loads way to long on IOS 0 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