Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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
2
Question by Sam-K · Sep 15, 2015 at 08:59 AM · unity 5stucksplash screen

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

THIS IS A SERIOUS ISSUE FOR ME When I launch the game Unity Splash Stays for like 10-20 seconds. Then the first scene loads which is a Splash Scene and has nothing but a single image and a script to load the next level. I tried building the Splash Scene with both NGUI and Unity UI in the first case the case the first scene got loaded and the app stuck there. In Unity UI its stuck on Default Splash.

Im testing for Android and i made builds from both Unity 5 personal and pro edition. The devices on which i have tested the builds are Galaxy S3, Note 2, LG G3, and some tabs. Its the same on all devices.

Moreover the Aplha version on the game is already in the market which was built on Unity 4 and the whole game took 1-3 seconds to reach the 2nd Scene(default splash->splash scene->loading scene). Now its around 20. I cant upload a build like this.

I tried putting logs in the scripts and profiled the app too but to no avail. They show nothing i.e profiler is blank when the game is stuck. and the code doesnt tells anything Time.time shows 0 and 0.2 in boths scenes respectively.

Any one facing this issue ? Anyone from unity can help with this? This is the link to the live game. https://play.google.com/store/apps/details?id=com.live4fungames.hne

Comment
Add comment · Show 5
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 MakakWasTaken · Sep 15, 2015 at 10:04 AM 0
Share

Please post the script from the splash scene.

avatar image Sam-K · Sep 15, 2015 at 11:57 AM 0
Share
 void Start()
 {
 Application.LoadLevel("Loading");
 }

Thats it. i have tried this now on 5.1.2 5.1.3 and 5.2

avatar image Sam-K · Sep 15, 2015 at 11:58 AM 0
Share

I have made builds from Unity 5.12, 5.1.3 and 5.2 same result on all.

avatar image MakakWasTaken · Sep 15, 2015 at 12:43 PM 0
Share

Is this only happening when you build to Android or is it also happening with a PC/$$anonymous$$AC build?

avatar image Sam-K · Sep 15, 2015 at 01:07 PM 0
Share

No i havent tested on any other platform.

But i have done a few test cases. Current state of build: Im only build the one scene(the first one). 1) the nomal build which i mentioned above take around ~15 seconds to reach the first scene. 2) If i remove the script which loads the next level. it takes around 5 secs.

If i attach the script and do export package on the scene file it shows all the scripts on the other hand if i remove it and export it olny shows the Image and Scene file. 2 files as compared to hundreds. I think this is the normal because unity collects all scripts as dependencies because it doesnt knows which script you are referencing in your script.

but I still dont know how to fix this and what to do next. Just removing things and making builds. Gosh this is taking a lot of time.

PS. even if we attach an empty Script thats just a monobehaviour it is the same as my loading script. It collect all dependencies. I will be making 2 further builds now IOS Unity 5 and Android on Unity 4.

2 Replies

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

Answer by Sam-K · Sep 15, 2015 at 10:07 PM

I have done some more tests.. The same builds works fine on IOS. I have testd the load time is 4-5 secs. And the same build works on Android in I run it on UNity 4.6.7 I tested the same scenario with some other priject empty with some buttons and textures same results. This is a issue on Unitys side i guess.

FIX: IN Unity 5 audio seetings changed. All the audio files were set to preload by default. Unchecking this box solved the problem.

Comment
Add comment · Show 4 · 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 MakakWasTaken · Sep 15, 2015 at 10:20 PM 0
Share

If so you should file a bug report.

  • $$anonymous$$akak

avatar image Sam-K · Sep 16, 2015 at 11:03 AM 0
Share

I figured out what was the issue. Audio was the problem source. In unity 5 they changed a setting, all the audio files were preloading which took 15 secs on the splash. Aftet i uncheck the preloading checkbox the game is loading now in normall ~4secs.

Anyways thanks for your help.

avatar image fazhom · Jun 21, 2017 at 09:12 PM 0
Share

It solved the problem for me, many thanks!

avatar image mhdmnaina · Oct 02, 2017 at 07:57 AM 0
Share

Great.. It Works

avatar image
0

Answer by YanaArtis · Sep 15, 2015 at 12:38 PM

I have the same issue on the Epson Moverio BT-200. With Unity 5.1 the splash "Powered by Unity" remains on the screen for a few seconds. With Unity 5.2 splash stays on the screen about 40 (!) seconds. When I've created empty project (single scene with one item of text) instead of the game I am working on, and build it for Android under Unity 5.2 (with default settings) the splash screen takes about 30 seconds. Such long time for the splash screen is inappropriate...

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 Sam-K · Sep 15, 2015 at 12:48 PM 0
Share

Empty project seems to work fine for me it take around 1-4 seconds to load depending on the device. $$anonymous$$y issue is with the dependeices and Resources that are being loaded by unity.

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

36 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

Related Questions

UnityPlus - remove splash screen - minimal Unity version 1 Answer

Unity 2019.2.0f1. Game doesn't restart after back button pressed during splash screen display in android? 0 Answers

Unity 4.5.5 Editor Stuck at Splash Screen 0 Answers

Unity 4 to Unity 5 project upgrade stuck at 50% (Solved) 1 Answer

Ios after used Screen.SetResolution function screen lose response 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