Search Unity

  1. Unity 2019.1 beta is now available.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. We're looking for insight from anyone who has experience with game testing to help us better Unity. Take our survey here. If chosen to participate you'll be entered into a sweepstake to win an Amazon gift card.
    Dismiss Notice
  4. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  5. Unity 2018.3 is now released.
    Dismiss Notice
  6. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

WebGL and ECS

Discussion in 'Entity Component System and C# Job system' started by De-Panther, Dec 4, 2018.

  1. De-Panther


    Dec 27, 2009
    Should it work?
    Tried the Samples Project ( ) Using 2018.3.0b7.

    I tried the Boid Example.
    In the editor, the fish boid won't instantiate when the platform is WebGL.
    In the browser, the fish are instantiated, but I get errors regarding JobTempAlloc every frame.

    Internal: JobTempAlloc has allocations that are more than 4 frames old - this is not allowed and likely a leak
    To Debug, enable the define: TLA_DEBUG_STACK_LEAK in ThreadsafeLinearAllocator.cpp. This will output the callstacks of the leaked allocations

    Is it like this in every version of the Unity Editor or the ECS packages? Or is there a combination that does work?

    Antypodish likes this.
  2. Antypodish


    Apr 29, 2014
    I wouldn't be surprised, if ECS is not yet complaint with WebGL.
    Unless someone confirms as such, I think we may still need to wait.
    Or maybe there is simple fix already?