Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Possible to use a core Unity WebGL launcher and games as asset bundles?

Discussion in 'WebGL' started by Arowx, Jun 22, 2015.

  1. Arowx

    Arowx

    Joined:
    Nov 12, 2009
    Posts:
    8,194
    In theory I could greatly reduce the download size of my games if I had a core loader/menu that then allowed the player to select a game which would download the game as an asset bundle?

    Is this workable with Unity WebGL?
     
  2. DudeGuy

    DudeGuy

    Joined:
    Jul 17, 2014
    Posts:
    19
    This should work fine. The game I've been building in WebGL has downloadable bundles for all of the different scenes. There is nothing but a background image included with the main build scene. You can then download your asset bundles on the fly.

    If you have some common assets for all of your games, you can reduce the size of each game bundle by including those common assets in other common bundles that you load first.