I tried with an empty project with an empty Scene. This is what I get:
Exception: /opt/Unity/Editor/Data/il2cpp/build/il2cpp.exe did not run properly!
UnityEditorInternal.Runner.RunManagedProgram (System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser, System.Action1 setupStartInfo) (at /home/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:100) UnityEditorInternal.IL2CPPBuilder.ConvertPlayerDlltoCpp (ICollection
1 userAssemblies, System.String outputDirectory, System.String workingDirectory) (at /home/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:353)
UnityEditorInternal.IL2CPPBuilder.Run () (at /home/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:213)
UnityEditorInternal.IL2CPPUtils.RunIl2Cpp (System.String stagingAreaData, IIl2CppPlatformProvider platformProvider, System.Action`1 modifyOutputBeforeCompile, UnityEditor.RuntimeClassRegistry runtimeClassRegistry, Boolean developmentBuild) (at /home/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:139)
UnityEditor.WebGL.WebGlBuildPostprocessor.PostProcess (BuildPostProcessArgs args) (at /Users/builduser/buildslave/unity/build/PlatformDependent/WebGL/Extensions/Unity.WebGL.extensions/BuildPostprocessor.cs:392)
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) (at /home/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:177)
UnityEditor.HostView:OnGUI()
Failed running /opt/Unity/Editor/Data/il2cpp/build/il2cpp.exe --convert-to-cpp --output-format=Compact --compile-cpp --libil2cpp-static --platform=“WebGL” --architecture=“EmscriptenJavaScript” --configuration=“Release” --outputpath=“/home/rod/Development/Unity/EmptyProject/Assets /…/Temp/StagingArea/Data/Native/UserAssembly.bc” --cachedirectory=“/home/rod/Development/Unity/EmptyProject/Assets/…/Library/il2cpp_cache” --compiler-flags=“-Oz -DIL2CPP_EXCEPTION_DISABLED=1 " --linker-flags=”-Oz -s NO_EXIT_RUNTIME=1" --additional-include-directories=“/home/rod/Development/Unity/EmptyProject/Assets/…/Temp/StagingArea/Data/Native/UserAssembly.bc” --extra-types.file=“/opt/Unity/Editor/Data/il2cpp/il2cpp_default_extra_types.txt” --assembly=“/home/rod/Development/Unity/EmptyProject/Temp/StagingArea/Data/Managed/UnityEngine.dll” --generatedcppdir=“/home/rod/Development/Unity/EmptyProject/Temp/StagingArea/Data/il2cppOutput”
stdout:
stderr:
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 :0
at Unity.IL2CPP.Building.ToolChains.EmscriptenToolChain.CompilerExecutableFor (NiceIO.NPath sourceFile) [0x00000] in :0
at Unity.IL2CPP.Building.CppProgramBuilder.ProvideObjectFile (Unity.IL2CPP.Building.CppCompilationInstruction cppCompilationInstruction) [0x00000] in :0
at Unity.IL2CPP.Building.ParallelFor+c__AnonStorey12[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 :0
at System.Threading.Thread.StartInternal () [0x00000] in :0
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 :0
at Unity.IL2CPP.Building.ToolChains.EmscriptenToolChain.CompilerExecutableFor (NiceIO.NPath sourceFile) [0x00000] in :0
at Unity.IL2CPP.Building.CppProgramBuilder.ProvideObjectFile (Unity.IL2CPP.Building.CppCompilationInstruction cppCompilationInstruction) [0x00000] in :0
at Unity.IL2CPP.Building.ParallelFor+c__AnonStorey1`2[Unity.IL2CPP.Building.CppCompilationInstruction,Unity.IL2CPP.Building.ProvideObjectResult].<>m__0 (System.Object o) [0x00000] in :0
at System.Threading.Thread.StartInternal () [0x00000] in :0
UnityEngine.Debug:LogError(Object)
UnityEditorInternal.Runner:RunManagedProgram(String, String, String, CompilerOutputParserBase, Action1) (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:353)
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.HostView:OnGUI()