UnityGLTF
UnityGLTF copied to clipboard
Unity WebGL build not building at all 153 erros
Hi, I tried building the latest release of GLTF importer (just dragged in the ZIP to the assets folder / imported package also), and it works fine in the editor (2019.2.a), but when I do webGL build I get about 153 errors all saying basically that "GLTFComponent"... or whatever is not recognized.
It works fine in windows standalone.
I heard somewhere that there are two binaries - one for UWP and one for all others, but I couldn't find the UWP one ? Is this some kind of bug?
Did you clone the repository? If so, then check out README.md. You'll need to build /GLTFSerialization/GLTFSerialization.sln. Then open the Unity project at /UnityGLTF and it should succeed.
The problem is that some of the files don't have WebGL toggled on. After you toggle them the build succeeds, but it raises a new issue with some dll not being supported.
I have this error too when i use Unity Package do you found the solution ?
I am also seeing the "To use dlopen, you need to use Emscripten's linking support, see https://github.com/kripken/emscripten/wiki/Linking" error in WebGL. (I can't get past it. WebGl is dead in the water with it).
What's the current status on this? Are there any known workarounds?
Does anybody have any further insights on this? Although my c# and unity skills are only a bit above basic I'm willing to work on this if anybody has any further info that could help me get started.
@jmo7 - did you get this working?
I've worked with Unity C# and WebGL pretty much full time for several years now, can maybe help.
To solve the dlopen / emscripten / linking error in the WebGL Build, try @kolodi's pull request #367. That solved it for me.
Please update to the latest version and open a new issue if the problem persists. Thanks!