Jump to content
Phoebes

Can't build for WebGL - Unity 5

Recommended Posts

Operating System: Windows 7
Unity Version: 5.0.0f4
Tools:
 - ProBuilder version: 2.4.3p0    revision 3216
 - ProGrids version: 2.1.5   revision 3188


I created a new empty Unity Project and all I have in the scene is a directional light and a camera. I built that for WebGL and it worked fine.

I downladed and imported ProGrids, then did the same for ProBuilder.
I added a single cube with no modifications to it.
I tried the WebGL build and it won't build. I am getting the following 5 errors:

 

Assembly 'ProCore' has non matching file name: 'ProCore 1.dll'. This can cause build issues on some platforms.
UnityEditor.HostView:OnGUI()
Failed running "C:\Program Files\Unity\Editor\Data\PlaybackEngines\webglsupport/BuildTools/Emscripten_Win/python/2.7.5.3_64bit/python.exe" "C:\Program Files\Unity\Editor\Data\PlaybackEngines\webglsupport/BuildTools/Emscripten/emcc" -Oz -std=c++11 -Wno-unused-value -Wno-invalid-offsetof -I-I"C:/UnityTesting/ProbuilderWebGL/New Unity Project/Assets/../Temp/StagingArea/Data\Libraries\bdwgc/include" -I"C:/UnityTesting/ProbuilderWebGL/New Unity Project/Assets/../Temp/StagingArea/Data\Libraries\libil2cpp/include" -I"C:/UnityTesting/ProbuilderWebGL/New Unity Project/Assets/../Temp/StagingArea/Data\il2cppOutput"  -nostdinc  -DIL2CPP_EXCEPTION_DISABLED=1 -c @"C:\Users\Phoebe\AppData\Local\Temp\tmp45ec4796.tmp"

WARNING: sanity check failed to run [Errno 13] Permission denied: 'C:\\Program Files\\Unity\\Editor\\Data\\PlaybackEngines\\webglsupport/BuildTools/emscripten.config_sanity'WARNING  root: did not see a source tree above the LLVM root directory (guessing based on directory of C:\Program Files\Unity\Editor\Data\PlaybackEngines\webglsupport/BuildTools/Emscripten_FastComp_Win\llc), could not verify version numbers match
INFO     root: (Emscripten: Running sanity checks)
WARNING  root: java does not seem to exist, required for closure compiler, which is optional (define JAVA in ~/.emscripten if you want it)
WARNING  root: -I or -L of an absolute path "-IC:/UnityTesting/ProbuilderWebGL/New Unity Project/Assets/../Temp/StagingArea/Data\Libraries\libil2cpp/include" encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript). Pass '-Wno-warn-absolute-paths' to emcc to hide this warning.
C:/UnityTesting/ProbuilderWebGL/New Unity Project/Assets/../Temp/StagingArea/Data\il2cppOutput\Bulk_Generics_2.cpp:8078:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
C:/UnityTesting/ProbuilderWebGL/New Unity Project/Assets/../Temp/StagingArea/Data\il2cppOutput\Bulk_Generics_2.cpp:8131:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
C:/UnityTesting/ProbuilderWebGL/New Unity Project/Assets/../Temp/StagingArea/Data\il2cppOutput\Bulk_Generics_2.cpp:9218:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
C:/UnityTesting/ProbuilderWebGL/New Unity Project/Assets/../Temp/StagingArea/Data\il2cppOutput\Bulk_Generics_2.cpp:10656:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
C:/UnityTesting/ProbuilderWebGL/New Unity Project/Assets/../Temp/StagingArea/Data\il2cppOutput\Bulk_Generics_2.cpp:10922:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
5 warnings generated.
C:/UnityTesting/ProbuilderWebGL/New Unity Project/Assets/../Temp/StagingArea/Data\il2cppOutput\Bulk_Generics_41.cpp:3199:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
C:/UnityTesting/ProbuilderWebGL/New Unity Project/Assets/../Temp/StagingArea/Data\il2cppOutput\Bulk_Generics_41.cpp:3465:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
C:/UnityTesting/ProbuilderWebGL/New Unity Project/Assets/../Temp/StagingArea/Data\il2cppOutput\Bulk_Generics_41.cpp:5464:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
C:/UnityTesting/ProbuilderWebGL/New Unity Project/Assets/../Temp/StagingArea/Data\il2cppOutput\Bulk_Generics_41.cpp:5730:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
C:/UnityTesting/ProbuilderWebGL/New Unity Project/Assets/../Temp/StagingArea/Data\il2cppOutput\Bulk_Generics_41.cpp:8159:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
C:/UnityTesting/ProbuilderWebGL/New Unity Project/Assets/../Temp/StagingArea/Data\il2cppOutput\Bulk_Generics_41.cpp:8425:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
6 warnings generated.
C:/UnityTesting/ProbuilderWebGL/New Unity Project/Assets/../Temp/StagingArea/Data\il2cppOutput\Bulk_mscorlib_0.cpp:10985:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
C:/UnityTesting/ProbuilderWebGL/New Unity Project/Assets/../Temp/StagingArea/Data\il2cppOutput\Bulk_mscorlib_0.cpp:14411:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
C:/UnityTesting/ProbuilderWebGL/New Unity Project/Assets/../Temp/StagingArea/Data\il2cppOutput\Bulk_mscorlib_0.cpp:14433:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
C:/UnityTesting/ProbuilderWebGL/New Unity Project/Assets/../Temp/StagingArea/Data\il2cppOutput\Bulk_mscorlib_0.cpp:14441:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
C:/UnityTesting/ProbuilderWebGL/New Unity Project/Assets/../Temp/StagingArea/Data\il2cppOutput\Bulk_mscorlib_0.cpp:14449:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
C:/UnityTesting/ProbuilderWebGL/New Unity Project/Assets/../Temp/StagingArea/Data\il2cppOutput\Bulk_mscorlib_0.cpp:14489:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
C:/UnityTesting/ProbuilderWebGL/New Unity Project/Assets/../Temp/StagingArea/Data\il2cppOutput\Bulk_mscorlib_0.cpp:26695:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
C:/UnityTesting/ProbuilderWebGL/New Unity Project/Assets/../Temp/StagingArea/Data\il2cppOutput\Bulk_mscorlib_0.cpp:26703:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
C:/UnityTesting/ProbuilderWebGL/New Unity Project/Assets/../Temp/StagingArea/Data\il2cppOutput\Bulk_mscorlib_0.cpp:29430:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
C:/UnityTesting/ProbuilderWebGL/New Unity Project/Assets/../Temp/StagingArea/Data\il2cppOutput\Bulk_mscorlib_0.cpp:29438:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
C:/UnityTesting/ProbuilderWebGL/New Unity Project/Assets/../Temp/StagingArea/Data\il2cppOutput\Bulk_mscorlib_0.cpp:29556:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
C:/UnityTesting/ProbuilderWebGL/New Unity Project/Assets/../Temp/StagingArea/Data\il2cppOutput\Bulk_mscorlib_0.cpp:29587:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
C:/UnityTesting/ProbuilderWebGL/New Unity Project/Assets/../Temp/StagingArea/Data\il2cppOutput\Bulk_mscorlib_0.cpp:33259:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
C:/UnityTesting/ProbuilderWebGL/New Unity Project/Assets/../Temp/StagingArea/Data\il2cppOutput\Bulk_mscorlib_0.cpp:33267:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
C:/UnityTesting/ProbuilderWebGL/New Unity Project/Assets/../Temp/StagingArea/Data\il2cppOutput\Bulk_mscorlib_0.cpp:33581:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
C:/UnityTesting/ProbuilderWebGL/New Unity Project/Assets/../Temp/StagingArea/Data\il2cppOutput\Bulk_mscorlib_0.cpp:37275:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
C:/UnityTesting/ProbuilderWebGL/New Unity Project/Assets/../Temp/StagingArea/Data\il2cppOutput\Bulk_mscorlib_0.cpp:38438:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
C:/UnityTesting/ProbuilderWebGL/New Unity Project/Assets/../Temp/StagingArea/Data\il2cppOutput\Bulk_mscorlib_0.cpp:38948:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
C:/UnityTesting/ProbuilderWebGL/New Unity Project/Assets/../Temp/StagingArea/Data\il2cppOutput\Bulk_mscorlib_0.cpp:41897:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
C:/UnityTesting/ProbuilderWebGL/New Unity Project/Assets/../Temp/StagingArea/Data\il2cppOutput\Bulk_mscorlib_0.cpp:51293:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
C:/UnityTesting/ProbuilderWebGL/New Unity Project/Assets/../Temp/StagingArea/Data\il2cppOutput\Bulk_mscorlib_0.cpp:51323:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
C:/UnityTesting/ProbuilderWebGL/New Unity Project/Assets/../Temp/StagingArea/Data\il2cppOutput\Bulk_mscorlib_0.cpp:57273:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
C:/UnityTesting/ProbuilderWebGL/New Unity Project/Assets/../Temp/StagingArea/Data\il2cppOutput\Bulk_mscorlib_0.cpp:57410:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
23 warnings generated.
C:/UnityTesting/ProbuilderWebGL/New Unity Project/Assets/../Temp/StagingArea/Data\il2cppOutput\Bulk_ProBuilderCore-Unity5_0.cpp:166:10: fatal error: 't524.h' file not found
#include "t524.h"
         ^
1 error generated.
ERROR    root: compiler frontend failed to generate LLVM bitcode, halting

Failed running "C:\Program Files\Unity\Editor\Data\PlaybackEngines\webglsupport/BuildTools/Emscripten_Win/python/2.7.5.3_64bit/python.exe" "C:\Program Files\Unity\Editor\Data\PlaybackEngines\webglsupport/BuildTools/Emscripten/emcc" -Oz -s NO_EXIT_RUNTIME=1 -o "C:/UnityTesting/ProbuilderWebGL/New Unity Project/Assets/../Temp/StagingArea/Data\Native\UserAssembly.bc" @"C:\Users\Phoebe\AppData\Local\Temp\tmp3c6243af.tmp"

WARNING: sanity check failed to run [Errno 13] Permission denied: 'C:\\Program Files\\Unity\\Editor\\Data\\PlaybackEngines\\webglsupport/BuildTools/emscripten.config_sanity'WARNING  root: did not see a source tree above the LLVM root directory (guessing based on directory of C:\Program Files\Unity\Editor\Data\PlaybackEngines\webglsupport/BuildTools/Emscripten_FastComp_Win\llc), could not verify version numbers match
INFO     root: (Emscripten: Running sanity checks)
WARNING  root: java does not seem to exist, required for closure compiler, which is optional (define JAVA in ~/.emscripten if you want it)
ERROR    root: C:\UnityTesting\ProbuilderWebGL\New Unity Project\Temp\EmscriptenWork\AssemblyAttributes_g_replacements_Assembly.o: No such file or directory ("C:\UnityTesting\ProbuilderWebGL\New Unity Project\Temp\EmscriptenWork\AssemblyAttributes_g_replacements_Assembly.o" was expected to be an input file, based on the commandline arguments provided)
UnityEngine.Debug:LogError(Object)
NativeCompiler:RunProgram(ProcessStartInfo) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/NativeCompiler.cs:60)
NativeCompiler:Execute(String, String) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/NativeCompiler.cs:26)
UnityEditor.WebGL.Il2Cpp.EmscriptenCompiler:CompileDynamicLibrary(String, IEnumerable`1, IEnumerable`1, IEnumerable`1, IEnumerable`1)
UnityEditorInternal.IL2CPPBuilder:Run() (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:290)
UnityEditorInternal.IL2CPPUtils:RunIl2Cpp(String, IIl2CppPlatformProvider, Action`1, RuntimeClassRegistry) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:218)
UnityEditor.HostView:OnGUI()

Exception: IL2CPP compile failed.
NativeCompiler.RunProgram (System.Diagnostics.ProcessStartInfo startInfo) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/NativeCompiler.cs:62)
NativeCompiler.Execute (System.String arguments, System.String compilerPath) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/NativeCompiler.cs:26)
UnityEditor.WebGL.Il2Cpp.EmscriptenCompiler.LinkObjects (IEnumerable`1 sources, System.String outfile)
UnityEditor.WebGL.Il2Cpp.EmscriptenCompiler.MultiThreadedCompile (System.String outfile, IEnumerable`1 sources, IEnumerable`1 includePaths, Boolean exceptionSupport)
UnityEditor.WebGL.Il2Cpp.EmscriptenCompiler.CompileDynamicLibrary (System.String outFile, IEnumerable`1 sources, IEnumerable`1 includePaths, IEnumerable`1 libraries, IEnumerable`1 libraryPaths)
UnityEditorInternal.IL2CPPBuilder.Run () (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:290)
UnityEditorInternal.IL2CPPUtils.RunIl2Cpp (System.String stagingAreaData, IIl2CppPlatformProvider platformProvider, System.Action`1 modifyOutputBeforeCompile, UnityEditor.RuntimeClassRegistry runtimeClassRegistry) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:218)
UnityEditor.WebGL.WebGlBuildPostprocessor.PostProcess (BuildPostProcessArgs args)
UnityEditor.PostprocessBuildPlayer.Postprocess (BuildTarget target, System.String installPath, System.String companyName, System.String productName, Int32 width, Int32 height, System.String downloadWebplayerUrl, System.String manualDownloadWebplayerUrl, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:316)
UnityEditor.HostView:OnGUI()

Error building Player: Exception: IL2CPP compile failed.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×