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

Question Can I get threading to work in a WebGL build?

Discussion in 'Scripting' started by Fluffysnails46, Feb 15, 2023.

  1. Fluffysnails46

    Fluffysnails46

    Joined:
    Jan 15, 2021
    Posts:
    52
    Recently, I wanted to see if I could upload my unity Project to a site using a WebGL build. After building it, I was sent to Chrome to the LocalHost page with the project running on it. But the whole terrain generation system wasn't working. I check the output in dev tools and saw no errors, and after a little bit of googling, I found various sites saying that either Threading as not supported and others saying it was. I am confused and want to know if it is possible, or if there is any alternatives.
     
  2. All_American

    All_American

    Joined:
    Oct 14, 2011
    Posts:
    1,528
    As far as I know it’s not.
     
    Bunny83 likes this.
  3. Fluffysnails46

    Fluffysnails46

    Joined:
    Jan 15, 2021
    Posts:
    52
    Would multithreading with the jobs system work?
     
  4. spiney199

    spiney199

    Joined:
    Feb 11, 2021
    Posts:
    6,003