Skip to content

Problems with WebGl build on Unity 2022.1 #7

@doterax

Description

@doterax

After we added this library to the project we started facing WebGl build problem:

Library\Bee\artifacts\WebGL\build\debug_WebGL_wasm\build.js: undefined symbol: sendfile (referenced by top-level compiled C/C++ code)
UnityEditor.BuildPipeline:BuildPlayer (UnityEditor.BuildPlayerOptions)

After some investigation I found solution. I just removed SocketExtensions.cs from the compillation (we don't use it). And recompiled UnityFx.Async and it helps.

And I think all .Net extensions in UnityFx.Async should be extracted to a different project (dll) so user can use only needed stuff.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions