UnityGLTF
UnityGLTF copied to clipboard
WebGL build Libc dll error
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 ?
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.
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
Would be great if you give the dev branch / this PR a try for better WebGL support:
- https://github.com/KhronosGroup/UnityGLTF/pull/644
Excuse me, how to solve this problem?
Please try the dev branch! WebGL works fine as far as I'm aware (both import and export).
How to operate?
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!