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 Ardalan · Apr 14, 2015 at 07:03 AM · unity 5detectionstatedetectsplash screen

how to detect Splash Screen has ended (iOS)

my ios game works perfectly from a unity 4 build but in the new unity 5 build the splash screen stays on even after my first scene has started or another way of looking at it is that the scene starts before splash screen has ended. this is most noticeable when the first scene starts with an animation and every time splash screen ends I can see the animation is half way through. I even tried putting an empty scene before my first scene and that empty scene (with a script that changes scenes on update) finishes and the next scene starts before splash screen ends now I would say this is a unity 5 bug (5.0.1is the version I used) unless I have fiddled with some secret setting that I am not aware of, but I can think of a number of work arounds but the most accurate one would require a way to check if splash screen is still active or detecting the end of it. Is there a way through unity or at least xcode to figure out splash screen states (detect has ended) ?

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 meat5000 ♦ · Apr 14, 2015 at 07:06 AM 0
Share

You can 'detect' the end of the splash screen by observing the loading of scene 1!

avatar image Ardalan · Apr 14, 2015 at 08:55 AM 0
Share

@meat5000 that is how it should work (ideally), but apparently unity 5 iOS exporter has a different way of doing that. as far as I can tell they allow indies (free license holders) to have their custom splash screen (which is good) this is the splash screen that xcode recognises as the app's splash screen, but unity's mandatory splash screen starts right after the custom splash screen that I suspect due to an error unity's splash screen starts at the same time first scene starts to load, so by the time the first scene has loaded the splash screen could still be on.

avatar image meat5000 ♦ · Jul 04, 2015 at 08:10 AM 0
Share

Indeed I'm seeing this cropping up all over the place now!

avatar image meat5000 ♦ · Jul 04, 2015 at 09:31 AM 0
Share

Look at what @fafase mentions

http://answers.unity3d.com/questions/1000158/the-scene-is-already-playing-during-splash-screen.html

avatar image Malkyne meat5000 ♦ · Nov 05, 2015 at 07:34 PM 0
Share

$$anonymous$$y findings are not consistent with fafase's. In 5.2.2, I have tried starting my animations from Start(), but they still get stomped by the Unity splash.

avatar image moh05 · Nov 17, 2016 at 10:20 AM 0
Share

Im having exactly the same problem. Any solutions out therE?

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Desoxi · Nov 17, 2016 at 10:37 AM

If it is a bug you should list it on the issue tracker. I never experienced this issue but like samra2494 told you already: http://answers.unity3d.com/answers/1163002/view.html you could use that method inside a couroutine start in your scene to yield and wait before continueing to load everything. Or you could place an empty scene, like you already mentioned, and put the script with the courinte inside that scene.

     IEnumerator Start()
     {
         while (Application.isShowingSplashScreen)
         {
             yield return null;
         }
         SceneManager.LoadScene("YouScene");
     }

This will wait until the splash is finished and load the nexxt scene after that.

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

6 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Unity 5 Personal iOS Splash Screen Problem 1 Answer

Is it possible to check collision from another object? 6 Answers

how do i detect if player is looking on something? 3 Answers

Unity Splash stays for 15 seconds then loads level (after porting to Unity5). 2 Answers

Splash Screen doesn't show up in iOS (Unity 5.5) 2 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