Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to export to WebGL with Unity 6 #75

Open
tarragonfly opened this issue Nov 21, 2024 · 1 comment
Open

Unable to export to WebGL with Unity 6 #75

tarragonfly opened this issue Nov 21, 2024 · 1 comment

Comments

@tarragonfly
Copy link

tarragonfly commented Nov 21, 2024

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 ()
@damzobridge
Copy link
Contributor

Hmm, it seems like something changed with Emscripten in Unity 6. We're looking into it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants