OK so here is my share of Console Build Errors after Upgrading to Unity 5.1
Looks like I’m going back to 5.0.2f1, thanks Unity for the tease of great WebGL features in Unity 5.1 that I can’t use due to WebGL Build issues! Arg… so annoying…
I have no clue what any of this stuff means or how to fix it. Any help would be appreciated.
My experience (and some others) with this bug is described here:
I got it working on a fairly clean build only machine but on my main machine it does not work still and even a totally new project I encounter the bug. I did another search and it looks like running as admin may be a solution. Trying this now.
edit:I ran unity3d as administrator on the machine it doesn’t build on. No luck.
The log seems to indicate that emscripten failed to run it’s llvm-link executable. We’ve seen this before on some windows machines during 5.1 beta, which was then usually due to missing Visual Studio C++ redistributable dlls, and would get fixed by installing those. However, we believe that all issues related to that had been fixed, as we now bundle those dlls, so I’m not sure if this is related. I’ll ask our QA to do some testing and see if we can get a repro.
Specifically, when you try to execute llvm-link.exe in
PlaybackEngines/WebGLSupport/BuildTools/Emscripten_FastComp_Win/llvm-link.exe in your unity install on a command line, do you get any errors about missing dlls?
I moved my Unity Project Folder to the Root of C:\ did the test build again with Cube in Scene and now it works!
I recall seeing a similar issue previously with WebGL Build providing a similar error in 5.0.2f1. My builds would not work until I moved them here “C:\Users\UserName\Unity Projects” that’s where I have been building from right now since 5.0.2f1. Now I need to move my project folder to root of C:\ in order to build? Geez… Please take not of this one jonas echterhoff. It’s very odd issue… builds fail because Unity does not like the path?
I’ve seen the “use paths with no spaces” message before but I still have one machine that builds my project and one that doesn’t and they both have the project in the same path.
yeah, that one is just a warning. The actual error should be what you see when you scroll down, and I’d expect it to be the same. It is definitely a machine setup issue, we just have to figure out what it is.
I tried creating a new project directly in C:. This compiled just fine.
And the best part . . . My main project in its original location now compiles (on both machines now). This is a really strange bug. Good luck tracking it down.
I was thinking to try now moving the project from C:\ back to it’s orginal location and see if it builds now lol. Such an odd bug! I’m happy to at least be able to build and make use of the new Unity 5.1 WebGL features. Although would be nice keep my projects where I want them and not at the root of C:.