- Home /
AsyncOperation.progress still broken?
Doing a bit of research, it would seem that the AsyncOperation.progress value is either always 0 or 1, but never a decimal like it's supposed to be. Many people have reported this problem from Unity 2.6.
So my question is, has this been fixed as of Unity 3.0? I'd like to display a progress bar for loading my level asynchronously, but if this bug still exists I really don't see how that's possible.
I don't know if this makes a difference or not, but I'm building and running this on the Android platform using Unity 3.0b7. If anyone else could try an Async operation and check the value of ".progress" for me, let me know if it gives you a decimal or just 0/1.
definitely still broken when using Application.LoadLevelAsync, all the way through Unity 3.3
Answer by ikriz · Nov 16, 2010 at 02:26 PM
I managed to get a 0.9 out of it by updating the progress float in the OnGUI function. I've submitted a bug and hope that this will get solved. The only values i've managed to get are 0, 1 and 0.9
Answer by ptdnet · Nov 02, 2011 at 05:03 PM
it's always 0 or 0.9 for me. tested in editor, iPhone, and iPad.
Answer by raphael.du · Mar 09, 2012 at 10:38 AM
I had the same problem with progress being only 0 or 1. This was solved by 3.5.0 release on 02/14/12.
Answer by MESSI007 · Feb 12, 2017 at 09:11 AM
the solution for the runtime update of the % of the progress bar , is to upadate it in the void OnGUI() function , and it works fine in Android ,but it still stop a little time in 0.9 , any help for the 0.9 progress ?