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
0
Question by G3R1 · Feb 12, 2017 at 05:51 PM · scene-loadingloading screenprogress-baraccurate

Accurate scene loading progress bar...

Hi guys,

Is there a way to show accurate percentage level of the scene loading progress bar ? I have used AsyncOperation to get the progress information of the loading scene but it gives no accurate information about it. For ex, the progress jumps from 0 to 90% very fast and then it stays the rest of the time that the scene needs to load from 90% to 100%. I read somewhere that from 90% to 100% the initializing of the scene happens that's why it takes most of the time, but how can we have an accurate progress information of the scene that is loading ?

If anyone has an idea how to get that accurate information of the scene loading is free to tell us. If you need the code that i am using i can post it. ;) Thank you everyone.

Comment
Add comment · Show 4
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 RobAnthem · Feb 12, 2017 at 06:19 PM 1
Share

Sadly, this is about all you get, short of making a fake loading bar. If you notice, Unity is not the only ones. Even major game companies have this issue. You can see it in Bethesda games even, the bar loads fast, then slows way the hell down, basically stops moving, and instantly its done. The main reasoning is likely that larger amounts of data get loaded at the end, more than likely the shaders and such. Shader rendering cannot be calculated by the loading mechanism, so all it can do it tell you about the progress of the data being put into the ram. Basically it has no information from the graphical side.

avatar image G3R1 RobAnthem · Feb 12, 2017 at 07:04 PM 0
Share

Thanks for the reply RobAnthem, This is what I've been trying to do when I noticed that most of the game companies are using fake progress bar for scene loading. Is there a method to fake it in such a way that it can be close to real loading progress ? Thank you.

avatar image RobAnthem G3R1 · Feb 12, 2017 at 07:15 PM 1
Share

I would say come up with a standard amount of time you would consider to be the SLOWEST loading speed for a device using your game like 5 seconds, then lerp the progress bar based on 0, to the highest, and make it wait for a callback on a successful scene load, so if the callback = true and the time has reached its max, call it loaded and drop the loading GUI to reveal your scene. At the very worst, it may hang for a second on the slowest devices.

Show more comments

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by AMU4u · Feb 12, 2017 at 07:55 PM

The best bet is instead of a loading bar, do an information tab on what is loading and leave out the estimation. This has the same exact effect as a loading bar, convincing the user you haven't locked their system up, while not having to feed the user lies about the progress estimation.

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 RobAnthem · Feb 12, 2017 at 07:59 PM 1
Share

Just keep telling them the Dragons Are Co$$anonymous$$g... :P

avatar image G3R1 RobAnthem · Feb 13, 2017 at 09:48 PM 0
Share

that's what I'm doing. :'P

avatar image G3R1 · Feb 13, 2017 at 09:47 PM 0
Share

Actually, ins$$anonymous$$d of information tab I am displaying the scene image while its loading. Don't know but when i opened Subway Surfers game today it looked like they had accurate loading bar progress in their game. Anyway, let's hope that Unity will someday solve this. :P

Thank's.

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

Do I need a Loading Screen? 1 Answer

How to see if an int ends with a certain number 1 Answer

Progress bar without async scene loading. 1 Answer

How to load scenes Asynchronously? 2 Answers

Particular loading screen works fine in Unity Editor, but gets stuck in the finished/built .exe version? 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