Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

WebGL Loading Bar Related Issue

Discussion in 'Web' started by siddharth3322, Feb 7, 2018.

  1. siddharth3322

    siddharth3322

    Joined:
    Nov 29, 2013
    Posts:
    1,049
    I was working on WebGL game platform for one of my 3D game.
    But loading of game takes too much time and loader didn't get updated properly. So players complaining about this because loading time is dynamic based on their internet connection.

    Here is the recorded video so you can actually get my point:
    https://drive.google.com/open?id=1_1d-v1zOC7UNQJz5NbvSN2RhR8Jax9B0

    I have to improve game for two things:
    • Show proper loader incremental loader so that players can become aware about their waiting time
    • I require to reduce resource size so that loading time get reduced
    Regarding above two points please share your side suggestion.
     
  2. hromoyDron

    hromoyDron

    Joined:
    Jan 24, 2013
    Posts:
    90
    What is the size of your game? Do you use assetBundles?
    I reduce my game from 100mb to 20mb using them.
    And now my game loads over 20sec and this is only start of my optimisation)
     
    siddharth3322 likes this.
  3. siddharth3322

    siddharth3322

    Joined:
    Nov 29, 2013
    Posts:
    1,049
    Thank you sir for your quick reply. At present game was in development stage and I can expect more than 200 mb for game size. So definitely I require to find some way to optimise this so that I can reduce loading time of game so that players not get frustrated.
    Loading bar is not increasing properly, it stuck so players can't able to judge about this - any solution for this?

    If become possible then provide me some guidance in AssetBundles implementation.
    Basically my game contains 4 scenes.
    1. main scene with different start up UIs and 3d environment in background
    2. actual game play phase 1
    3. actual game play phase 2
    4. actual game play phase 3
    Now how to setup AssetBundles as per your thinking? More than 1 year ago, I loaded model through AssetBundle for practise purpose so don't have high skill into this. Overall I need general guidance.

    How many assets I require to download through AssetBundles?
    Any AssetBundles related good tutorial in your hand then please point that too :)