Unity loading percentage is behaving strangely #581
Replies: 4 comments
-
Same problem here, but it ends at 26% |
Beta Was this translation helpful? Give feedback.
-
Same problem here, but it shows 90% while still loading. |
Beta Was this translation helpful? Give feedback.
-
In doing further investigation I realized that this behavior happens when the build in unity is compressed. if in the options it is not compressed then the loading percentage works better. for me it goes up to 90% and then the application is loaded, it is still much better than when it stopped at 26%. maybe I can solve it by compressing the data at the http protocol level between server and client, in theory it should be transparent to the loading library. |
Beta Was this translation helpful? Give feedback.
-
Same problem |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Please avoid duplicates
Language and Compiler
TypeScript's built-in Compiler
What environment are you using?
Local Development Server
When does your problem occur?
While the Unity App is loading
What does your problem relate to?
The problem seems Unity related
React-Unity-WebGL Version
9.2.1
React Version
18.2.0
Unity Version
2021.3.16f1
What happened?
I want to create a loading bar that goes from 0 to 100 percent. Unfortunately, it loads from 0 to 36 percent, then jumps to 90 percent and loads the game.
I already found a workaround for the problem. Unfortunately, this still doesn't satisfy me.
In addition I also logged and append the the loading percentages.
console.log
Reproducible test case
simplefied code of my problem:
my workaround for calculation the percentage:
Would you be interested in contributing a fix?
Beta Was this translation helpful? Give feedback.
All reactions