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
5
Question by Anthonylinx · Apr 26, 2014 at 08:21 PM · splash-screensplash screensplashsplashscreen

Detect When the Unity Splash Screen Has Ended?

Is there any method I can use to detect when the Unity splash screen has finished and is no longer on screen? Currently I have some sounds that play on Awake but they play while the Unity splash screen is still present. I would like to be able to tell when the splash screen has ended so I can play my sounds at the appropriate time. Thank you in advance!

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

4 Replies

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

Answer by Nimdanet · Feb 09, 2018 at 09:02 PM

Method is deprecated. Use UnityEngine.Rendering.SplashScreen.isFinished instead.

(https://docs.unity3d.com/ScriptReference/Rendering.SplashScreen-isFinished.html)

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 Johannski · Feb 10, 2018 at 06:33 PM 0
Share

Nimdanet gave the correct answer for the newer unity versions. Check https://docs.unity3d.com/ScriptReference/Rendering.SplashScreen-isFinished.html for more info:

 using System.Collections;
 using UnityEngine;
 using UnityEngine.Rendering;
 
 // This example shows how you could draw the splash screen at the start of a scene. This is a good way to integrate the splash screen with your own or add extras such as Audio.
 public class SplashScreenExample : $$anonymous$$onoBehaviour
 {
     IEnumerator Start()
     {
         Debug.Log("Showing splash screen");
         SplashScreen.Begin();
         while (!SplashScreen.isFinished)
         {
             SplashScreen.Draw();
             yield return null;
         }
         Debug.Log("Finished showing splash screen");
     }
 }


avatar image
7

Answer by Johannski · Mar 12, 2016 at 03:54 PM

Solution for Unity 5.3.2 an higher:

You can check now if an application was loaded with Application.isShowingSplashScreen (http://docs.unity3d.com/ScriptReference/Application-isShowingSplashScreen.html)

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
2

Answer by homer_3 · Apr 28, 2014 at 03:11 AM

Once the 1st scene loads, the splash screen is gone. So you can just use the Start method of a script that's used in your 1st scene.

Comment
Add comment · Show 3 · 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 trojanfoe_ · Aug 21, 2015 at 12:07 PM 3
Share

This is not true with Unity 5 (5.1.2f1) with the iOS build. The first scene loads before the splash screen has ended. This would appear to be a bug.

avatar image sdf_eee · Sep 17, 2015 at 09:43 PM 2
Share

I have same problem int 5.1.3f1 like trojanfoe123. any idea?

avatar image kaolin · Feb 18, 2016 at 05:04 AM 0
Share

Same problem, 5.3.2f1, iOS build. It's annoying because I'm doing cardboard stuff, and the cardboard "chrome" loads on top of the splash screen weirdly before the rest of the scene loads....

avatar image
0

Answer by getyour411 · Apr 26, 2014 at 08:56 PM

Control it via

http://wiki.unity3d.com/index.php?title=SplashScreen

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 Anthonylinx · Apr 28, 2014 at 02:29 AM 0
Share

This is for a custom splash screen, I'm just trying to figure out when the standard splash screen from Unity (the free version one) ends.

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

26 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

Related Questions

Fading out the Unity Splash Screen 1 Answer

iPod touch 5th gen launch screen 0 Answers

Splash screen problem (black image) 0 Answers

default ios splashscreen blurry 0 Answers

How to make an animated splash screen (Android) ? 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