Skip to content

Unable to export to WebGL with Unity 6 #75

@tarragonfly

Description

@tarragonfly

Unity 6 released a while ago and is considered an LTS release by the new Unity release standards but WebGL export is currently non-functional when trying to export Rive getting-started example project from here: https://github.com/rive-app/rive-unity-examples/tree/main/getting-started

Unity: 6000.0.26f1
Rive runtimes: 2.1.0

Building Library\Bee\artifacts\WebGL\build\debug_WebGL_wasm\build.js failed with output:
wasm-ld: error: Library/PackageCache/app.rive.rive-unity/Runtime/Libraries/WebGL/librive_wasm.a(artboard.o): undefined symbol: std::__2::__vector_base_common<true>::__throw_length_error() const
emcc: error: 'C:/GameDev/6000.0.26f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/Emscripten/llvm\wasm-ld.exe @C:\Users\gdev\AppData\Local\Temp\emscripten_7f06ey06.rsp.utf-8' failed (returned 1)

UnityEditor.BuildPlayerWindow:BuildPlayerAndRun ()

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