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

WebGL build Libc dll error #637

Closed
mig3n opened this issue Oct 25, 2021 · 7 comments · Fixed by #644
Closed

WebGL build Libc dll error #637

mig3n opened this issue Oct 25, 2021 · 7 comments · Fixed by #644

Comments

@mig3n
Copy link

mig3n commented Oct 25, 2021

Has anyone managed to make a webgl build working ?

I'm on unity 2021.1.24fc1 and whenever I do a WebGL build with the test scenes I end up with the following error:

"Unable to open DLL libc! Dynamic linking is not supported in WebAssembly builds due to limitations to performance and code size. Please statically link in the needed libraries."

Can anyone point me at the steps to solve this error please ?

@Kibsgaard
Copy link

Seems to be quite a lot of issues with WebGL:
https://github.com/KhronosGroup/UnityGLTF/issues?q=is%3Aissue+is%3Aopen+webgl

Unless the export feature is important for your project, I suggest that you use gltFast instead. It works well on WebGL and the developer is actively improving it:
https://github.com/atteneder/glTFast

Export is still under development.

@mig3n
Copy link
Author

mig3n commented Oct 27, 2021

Em technically I don't need the export... I'm just trying to display GLTF/GLB files in a simple window... We've tried GLTFast but there is a problem with the management of transparency in their shaders

@hybridherbst
Copy link
Collaborator

Would be great if you give the dev branch / this PR a try for better WebGL support:

@hybridherbst hybridherbst linked a pull request Apr 8, 2022 that will close this issue
@CaizhongQiang
Copy link

Excuse me, how to solve this problem?

@hybridherbst
Copy link
Collaborator

Please try the dev branch! WebGL works fine as far as I'm aware (both import and export).

@CaizhongQiang
Copy link

How to operate?

@mig3n
Copy link
Author

mig3n commented Jul 15, 2022

Would be great if you give the dev branch / this PR a try for better WebGL support:

* [Culmination of two years of fixes, especially for export #644](https://github.com/KhronosGroup/UnityGLTF/pull/644)

Sorry, I totally forgot about testing that, I'll have a look and let you know!

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

Successfully merging a pull request may close this issue.

4 participants