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 /
avatar image
4
Question by bumbleblee · Apr 17, 2016 at 11:41 AM · editorlinuxlinux editor

Failed WebGL target when building in Linux environment

I'm building a WebGL target in the new Linux Editor (5.4.0b13+20160406). The build is failing with the error System.NotSupportedException: Don't know how to get python path on current platform!. The exact same project builds fine when using the editor in my OSX environment. I need it to work in the Linux environment as that's running our CI server.

There doesn't appear to be anything different with the Python environment between my mac and the linux CI server. Here's a snippet of the error:

 Unhandled Exception:
 System.NotSupportedException: Don't know how to get python path on current platform!
   at Unity.IL2CPP.Building.ToolChains.EmscriptenPaths.get_Python () [0x00000] in <filename unknown>:0 
   at Unity.IL2CPP.Building.ToolChains.EmscriptenToolChain.CompilerExecutableFor (NiceIO.NPath sourceFile) [0x00000] in <filename unknown>:0 
   at Unity.IL2CPP.Building.CppProgramBuilder.ProvideObjectFile (Unity.IL2CPP.Building.CppCompilationInstruction cppCompilationInstruction) [0x00000] in <filename unknown>:0 
   at Unity.IL2CPP.Building.ParallelFor+<RunWithResult>c__AnonStorey1`2[Unity.IL2CPP.Building.CppCompilationInstruction,Unity.IL2CPP.Building.ProvideObjectResult].<>m__0 (System.Object o) [0x00000] in <filename unknown>:0 
   at System.Threading.Thread.StartInternal () [0x00000] in <filename unknown>:0 
 [ERROR] FATAL UNHANDLED EXCEPTION: System.NotSupportedException: Don't know how to get python path on current platform!
   at Unity.IL2CPP.Building.ToolChains.EmscriptenPaths.get_Python () [0x00000] in <filename unknown>:0 
   at Unity.IL2CPP.Building.ToolChains.EmscriptenToolChain.CompilerExecutableFor (NiceIO.NPath sourceFile) [0x00000] in <filename unknown>:0 
   at Unity.IL2CPP.Building.CppProgramBuilder.ProvideObjectFile (Unity.IL2CPP.Building.CppCompilationInstruction cppCompilationInstruction) [0x00000] in <filename unknown>:0 
   at Unity.IL2CPP.Building.ParallelFor+<RunWithResult>c__AnonStorey1`2[Unity.IL2CPP.Building.CppCompilationInstruction,Unity.IL2CPP.Building.ProvideObjectResult].<>m__0 (System.Object o) [0x00000] in <filename unknown>:0 
   at System.Threading.Thread.StartInternal () [0x00000] in <filename unknown>:0 
 
 UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
 UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
 UnityEngine.Logger:Log(LogType, Object)
 UnityEngine.Debug:LogError(Object)
 UnityEditorInternal.Runner:RunManagedProgram(String, String, String, CompilerOutputParserBase, Action`1) (at /home/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:98)
 UnityEditorInternal.IL2CPPBuilder:ConvertPlayerDlltoCpp(ICollection`1, String, String) (at /home/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:350)
 UnityEditorInternal.IL2CPPBuilder:Run() (at /home/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:213)
 UnityEditorInternal.IL2CPPUtils:RunIl2Cpp(String, IIl2CppPlatformProvider, Action`1, RuntimeClassRegistry, Boolean) (at /home/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:139)
 UnityEditor.WebGL.WebGlBuildPostprocessor:PostProcess(BuildPostProcessArgs) (at /Users/builduser/buildslave/unity/build/PlatformDependent/WebGL/Extensions/Unity.WebGL.extensions/BuildPostprocessor.cs:392)
 UnityEditor.PostprocessBuildPlayer:Postprocess(BuildTarget, String, String, String, Int32, Int32, String, String, BuildOptions, RuntimeClassRegistry, BuildReport) (at /home/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:177)
 UnityEditor.BuildPipeline:BuildPlayerInternalNoCheck(String[], String, BuildTarget, BuildOptions, Boolean)
 UnityEditor.BuildPipeline:BuildPlayerInternal(String[], String, BuildTarget, BuildOptions) (at /home/builduser/buildslave/unity/build/artifacts/generated/common/editor/BuildPipelineBindings.gen.cs:247)
 UnityEditor.BuildPipeline:BuildPlayer(String[], String, BuildTarget, BuildOptions) (at /home/builduser/buildslave/unity/build/artifacts/generated/common/editor/BuildPipelineBindings.gen.cs:182)
 BuildScript:BuildAlphaWeb() (at Assets/Editor/BuildScript.cs:37)
  
 (Filename: /home/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs Line: 98)
 
 Exception: /opt/Unity/Editor/Data/il2cpp/build/il2cpp.exe did not run properly!
   at UnityEditorInternal.Runner.RunManagedProgram (System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser, System.Action`1 setupStartInfo) [0x00160] in /home/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:100 
   at UnityEditorInternal.IL2CPPBuilder.ConvertPlayerDlltoCpp (ICollection`1 userAssemblies, System.String outputDirectory, System.String workingDirectory) [0x002b0] in /home/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:350 
   at UnityEditorInternal.IL2CPPBuilder.Run () [0x0008b] in /home/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:213 
   at UnityEditorInternal.IL2CPPUtils.RunIl2Cpp (System.String stagingAreaData, IIl2CppPlatformProvider platformProvider, System.Action`1 modifyOutputBeforeCompile, UnityEditor.RuntimeClassRegistry runtimeClassRegistry, Boolean developmentBuild) [0x0000d] in /home/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:139 
   at UnityEditor.WebGL.WebGlBuildPostprocessor.PostProcess (BuildPostProcessArgs args) [0x001ee] in /Users/builduser/buildslave/unity/build/PlatformDependent/WebGL/Extensions/Unity.WebGL.extensions/BuildPostprocessor.cs:392 
   at 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, UnityEditor.BuildReporting.BuildReport report) [0x000ce] in /home/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:177 
 UnityEditor.BuildPipeline:BuildPlayerInternalNoCheck(String[], String, BuildTarget, BuildOptions, Boolean)
 UnityEditor.BuildPipeline:BuildPlayerInternal(String[], String, BuildTarget, BuildOptions) (at /home/builduser/buildslave/unity/build/artifacts/generated/common/editor/BuildPipelineBindings.gen.cs:247)
 UnityEditor.BuildPipeline:BuildPlayer(String[], String, BuildTarget, BuildOptions) (at /home/builduser/buildslave/unity/build/artifacts/generated/common/editor/BuildPipelineBindings.gen.cs:182)
 BuildScript:BuildAlphaWeb() (at Assets/Editor/BuildScript.cs:37)
  
 (Filename: /home/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs Line: 100)
 
 DisplayProgressNotification: Build Failed
 Error building Player: 2 errors
Comment
Add comment · Show 1
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
avatar image jimmack · May 04, 2016 at 04:52 PM 1
Share

I've got the same problem. Linux $$anonymous$$int 17.2, Ubuntu 14.04 TLS, unity-editor-5.4.0b15+20160418_amd64.deb

Help with this would be really cool. Thanks.

1 Reply

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by bumbleblee · Jun 03, 2016 at 10:18 PM

Now works in build 5.4.0b18

Comment
Add comment · Share
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

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

6 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Unity mouse clicks break on Linux 0 Answers

Is there an Ubuntu ppa for the Unity Editor? 1 Answer

Ubuntu Editor and "Dash To Panel" GNOME Shell extension issue 0 Answers

ui_scaling problem linux editor 0 Answers

Can I use projects created on Windows editor in Linux editor? 1 Answer


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