Search Unity

Question Multithread webgl

Discussion in 'Unity Transport' started by whitegreenstudios88, Apr 3, 2022.

  1. whitegreenstudios88

    whitegreenstudios88

    Joined:
    Dec 12, 2021
    Posts:
    10
    Are there any multithread support for webgl? I am developing a multiverse project to load nft avatar during runtime, it is important to let every player in the multiverse to join and download other player avatar in multiplayer environment. When the player download other player avatar, it will freeze a few seconds to download other player avatar. Pls help. Tq
     
  2. cristianm_unity

    cristianm_unity

    Unity Technologies

    Joined:
    Oct 16, 2018
    Posts:
    259
    Hey! it depends on where exactly it freezes.

    First, are you using the Unity Transport Package? If so, from a Unity Transport perspective you are just transmitting data. The processing of that data is a different operation so I suspect the freeze you refer could be related to something different than the download itself.

    Have you had the chance to profile and see what exactly is taking the time?