Skip to content

Build for WebGL failed (Unity SDK 6.1.2 + Unity 6) #246

@EvgenFree45

Description

@EvgenFree45

I am trying to make a build for WebGL, however it constantly fails with an error

Building Library\Bee\artifacts\WebGL\build\debug_WebGL_wasm\build.js failed with output:
The system cannot find the path specified.

[ProjectPath]>set MYDIR=E:\Unity Versions\6000.0.58f2\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\emscripten\

[ProjectPath]>goto FOUND_MYDIR
wasm-ld: error: [ProjectPath]/Library/Bee/artifacts/WebGL/il2cppOutput/build/GameAssembly.a(5a13riwsfhz2.o): undefined symbol: LSExists
wasm-ld: error: [ProjectPath]/Library/Bee/artifacts/WebGL/il2cppOutput/build/GameAssembly.a(5a13riwsfhz2.o): undefined symbol: LSWrite
wasm-ld: error: [ProjectPath]/Library/Bee/artifacts/WebGL/il2cppOutput/build/GameAssembly.a(5a13riwsfhz2.o): undefined symbol: LSRead
wasm-ld: error: [ProjectPath]/Library/Bee/artifacts/WebGL/il2cppOutput/build/GameAssembly.a(5a13riwsfhz2.o): undefined symbol: LSDelete
emcc: error: '"[EditorInstallPath]/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/Emscripten/llvm\wasm-ld.exe" @[UserPath]\AppData\Local\Temp\emscripten_inje3qbd.rsp.utf-8' failed (returned 1)

UnityEditor.EditorApplication:Internal_CallDelayFunctions ()

Any help please.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions