Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
0
Question by blabel3 · May 23, 2016 at 01:55 PM · buildwebgl

WebGL and Python Building Errors

Whenever I build for WebGL it raises a few errors instead, and I can't fix them. I've already spent hours and hours looking for the answer but haven't had any success. The errors are as follows:

Failed Running C:\Program Files.../python.exe:

 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:/Users/Blake Abel/Google Drive/School/10th Grade/History/Trimester 3 - Global Issues/Creative Component/NuclearEnergy/Assets/../Temp/StagingArea/Data\Libraries\bdwgc/include" -I"C:/Users/Blake Abel/Google Drive/School/10th Grade/History/Trimester 3 - Global Issues/Creative Component/NuclearEnergy/Assets/../Temp/StagingArea/Data\Libraries\libil2cpp/include" -I"C:/Users/Blake Abel/Google Drive/School/10th Grade/History/Trimester 3 - Global Issues/Creative Component/NuclearEnergy/Assets/../Temp/StagingArea/Data\il2cppOutput"  -nostdinc -c @"C:\Users\BLAKEA~1\AppData\Local\Temp\tmp56686dc6.tmp"
 
 WARNING  root: -I or -L of an absolute path "-IC:/Users/Blake Abel/Google Drive/School/10th Grade/History/Trimester 3 - Global Issues/Creative Component/NuclearEnergy/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.
 In file included from C:/Users/Blake Abel/Google Drive/School/10th Grade/History/Trimester 3 - Global Issues/Creative Component/NuclearEnergy/Assets/../Temp/StagingArea/Data\il2cppOutput\Bulk_Generics_2.cpp:18:
 In file included from C:/Users/Blake Abel/Google Drive/School/10th Grade/History/Trimester 3 - Global Issues/Creative Component/NuclearEnergy/Assets/../Temp/StagingArea/Data\Libraries\libil2cpp/include\codegen/il2cpp-codegen.h:16:
 C:/Users/Blake Abel/Google Drive/School/10th Grade/History/Trimester 3 - Global Issues/Creative Component/NuclearEnergy/Assets/../Temp/StagingArea/Data\Libraries\libil2cpp/include\icallincludes.h:56:10: fatal error: 'icalls/mscorlib/System.Reflection.Emit/GenericTypeParameterBuilder.h' file not found
 #include "icalls/mscorlib/System.Reflection.Emit/GenericTypeParameterBuilder.h"
          ^
 1 error generated.
 ERROR    root: compiler frontend failed to generate LLVM bitcode, halting
 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.<StartObjectCompilerThreads>c__AnonStorey1:<>m__13()
 

And IL2CPP Compile failed:

 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) (at /Users/builduser/buildslave/unity/build/PlatformDependent/WebGL/Extensions/Unity.WebGL.extensions/Il2Cpp/EmscriptenCompiler.cs:57)
 UnityEditor.WebGL.Il2Cpp.EmscriptenCompiler.MultiThreadedCompile (System.String outfile, IEnumerable`1 sources, IEnumerable`1 includePaths, Boolean exceptionSupport) (at /Users/builduser/buildslave/unity/build/PlatformDependent/WebGL/Extensions/Unity.WebGL.extensions/Il2Cpp/EmscriptenCompiler.cs:44)
 UnityEditor.WebGL.Il2Cpp.EmscriptenCompiler.CompileDynamicLibrary (System.String outFile, IEnumerable`1 sources, IEnumerable`1 includePaths, IEnumerable`1 libraries, IEnumerable`1 libraryPaths) (at /Users/builduser/buildslave/unity/build/PlatformDependent/WebGL/Extensions/Unity.WebGL.extensions/Il2Cpp/EmscriptenCompiler.cs:21)
 UnityEditorInternal.IL2CPPBuilder.Run () (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:218)
 UnityEditorInternal.IL2CPPUtils.RunIl2Cpp (System.String stagingAreaData, IIl2CppPlatformProvider platformProvider, System.Action`1 modifyOutputBeforeCompile, UnityEditor.RuntimeClassRegistry runtimeClassRegistry, Boolean developmentBuild) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:135)
 UnityEditor.WebGL.WebGlBuildPostprocessor.PostProcess (BuildPostProcessArgs args) (at /Users/builduser/buildslave/unity/build/PlatformDependent/WebGL/Extensions/Unity.WebGL.extensions/BuildPostprocessor.cs:301)
 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()
 

I've already tries running as administrator and building to a folder in documents instead of to Drive, and nothing's worked. I've updated Unity to the latest version I could find, 5.3.4p6, and reinstalled python 2.7.11. I have no clue what to do next. HELP!

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

Video Player and Web GL build not working 2 Answers

Why WebGL Build has bad graphics 1 Answer

WebGL Build doesn't fully load on Github Pages 0 Answers

Invoking error handler due to uncaught exception: abort(-1) at jsStackTrace (NAME.wasm.framework.unityweb:1559:13) 0 Answers

WebGL build creates an empty folder. 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges