• 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 /
  • Help Room /
avatar image
0
Question by AndDragon · May 26, 2016 at 10:58 AM · iosxcodesplash-screen

iOS game loaded but stucked on splash screen

Hi,

I tried to build a game for iOS using Unity personal edition, but whenever I start the game using the "Build and Run" function from unity, it just stucks on the splash screen. The game is loaded, since I can hear the sounds, and the xCode console gives no error. If I put a Debug.Log within a game object in the "Start" function, I can see it in the xCode console, which means that the scene is correctly loaded and initialized, right? Still, all I can see is Unity splash screen.

I already have other projects that builds successfully on iPhone. I checked the xCode build settings and compared them with the project that doesn't work. It seems no difference, only that there are two sections in my working project that don't exist in the one that gives the problem: the settings related to the xib files and the png compression settings. However in the image.xcassets I can see all the splash screen (or loading screen) correctly seated as default (black screen) and Unity player preferences are the same.

Anyone know how to solve this problem? Thanks in advance.

I tested the game on an iPhone with iOS version 8.1.3, my xCode is currently at 7.2, but I'm upgrading just now.

Comment
Add comment · Show 2
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 AndDragon · May 30, 2016 at 02:07 PM 0
Share

Really nobody knows anything about it?

Show more comments

1 Reply

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

Answer by AndDragon · May 31, 2016 at 12:46 PM

Since I found the problem, I'll answer myself.

In my case, the problem was related to the Screen.SetResolution function attached to a gameobject and called during the Awake. It seems that it's a known problem related to Unity 5.3 and later. Using Screen.SetResolution on iPad and iPhone will cause the screen not to refresh, but it won't give you any error or crush, moreover the music will play normally, so be aware!

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 moh05 · Nov 17, 2016 at 08:29 AM 0
Share

Hello,

Im facing the exact same problem and Im not using Screen.SetResolution

Do you know what might also cause this?

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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

71 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

Related Questions

iOS Launch Image Transition to Scene Not Seamless (with video) 0 Answers

iOs build fails on 5.3 1 Answer

Xcode7.3 iPad Simulator Failure 0 Answers

Apple LLVM 9.0 Error, Unable to execute command: Killed:9 0 Answers

Unity VR project build failing in Xcode - Undefined symbols 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