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 J-R-Wood · Apr 28, 2015 at 06:19 PM · ios

iOS app failed to start scene, screen black.

So i've asked before but got no answers, heres my questions.

when i start my scene from unity to Xcode it builds successfully but then when my phone starts the app the screen goes and stays black when i unplug my phone and try to start the app the app opens then closes just a flash of the black screen. what i saw in Xcode i noticed was red coding does this mean theres an error???

alt text

please help this is my first app and so far none has helped I've watched videos on youtube, i read ALL the unity iPhone crap about getting started, i don't know what to do if someone could please help just answer a few of my questions. heck if you can actually help me i'll pay you for your time.

my email is josiahrwood@gmail.com

EDIT

Ok get this i see when i analyze the APP it gives me tons and tons of messages saying "/Users/Business/BouncyBalls/iOS BouncyBall/Classes/UI/UnityAppController+ViewHandling.mm:120:2: Potential leak of an object"

2015-04-28-13-12-50.png (22.6 kB)
Comment
Add comment · Show 6
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 HenryStrattonFW · Apr 28, 2015 at 06:52 PM 0
Share

Red highlighting as your image shows is perfectly normal in XCode, its simply the syntax highlighting it uses by default (I think) for the strings used in #includes.

$$anonymous$$eep your device connected to XCode and run the app from xcode to the device, if there is an error causing your app to close, it should display in the console output within XCode.

avatar image J-R-Wood · Apr 29, 2015 at 04:41 PM 0
Share

no like i said "it builds successfully but then when my phone starts the app the screen goes and stays black" thats what happens when its plugged in.

avatar image J-R-Wood · Apr 29, 2015 at 04:42 PM 0
Share

have you built an APP before? maybe you could give me some pointers maybe i set something up wrong

avatar image J-R-Wood · Apr 29, 2015 at 05:50 PM 0
Share

look i get these when i analyze it alt text

2015-04-29-12-49-17.png (131.4 kB)
avatar image HenryStrattonFW · May 05, 2015 at 10:43 AM 0
Share

If you're saying that the app builds and deploys fine without crashing, then there could be a huge number of reasons why you are seeing just a black screen. What are you expecting to see ins$$anonymous$$d of the black screen?

Show more comments

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by alok-kr-029 · May 05, 2015 at 12:01 PM

Yes there can be many reasons why your app is crashing I can give you few tips how I solved this issue use all the texture ,png ,jpgs and atlas of size not more than 1024* 1024; avoid instantiate of lots of gameobject at the time of the start .

Comment
Add comment · Show 2 · 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 J-R-Wood · May 07, 2015 at 04:54 PM 0
Share

well i tried all that but i noticed the screen it's showing isn't all black it's a dark blue it looks exactly like the LaunchScreenImage-Portrait.png unity sets by default does that help?

avatar image alok-kr-029 · May 11, 2015 at 05:05 AM 0
Share

Did you tried building the project for android .If not just build and check the output on logcat.

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

21 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

Related Questions

The name 'Joystick' does not denote a valid type ('not found') 2 Answers

while loop works in editor, stuck on iOS 1 Answer

For which Platforms can i build AssetBundles with a Mac 1 Answer

Unity does'nt display anything on the Apple Watch simulator. 2 Answers

iOs weird textures (good on android) the reason? How to fix ? 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