Hello,
After few days … and few cry I cannot compile my Unity project with WebGL.
No problem when i try to compile in StandAlone or WebPlayer.
I watched few threads, few forums, i have the same error
I have 2 errors :
1st error :
[quote]
Exception: C:\Program Files\Unity\Editor\Data\il2cpp/il2cpp.exe did not run properly!
UnityEditorInternal.Runner.RunManagedProgram (System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:68)
UnityEditorInternal.IL2CPPBuilder.ConvertPlayerDlltoCpp (ICollection1 userAssemblies, System.String outputDirectory, System.String workingDirectory) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:418)** **UnityEditorInternal.IL2CPPBuilder.Run () (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:275)** **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()
[/quote]
2nd error
[quote]
Failed running C:\Program Files\Unity\Editor\Data\il2cpp/il2cpp.exe --copy-level=None --enable-generic-sharing --enable-unity-event-support --output-format=Compact --extra-types.file=“C:\Program Files\Unity\Editor\Data\il2cpp\il2cpp_default_extra_types.txt” “D:\99-Dev\Proto\ProtoUnity5\Temp\StagingArea\Data\Managed\Assembly-CSharp.dll” “D:\99-Dev\InSphereEiffelProto\Eiffel\ProtoUnity5\Temp\StagingArea\Data\Managed\UnityEngine.UI.dll” “D:\99-Dev\lProto\Eiffel\ProtoUnity5\Temp\StagingArea\Data\Managed\UnityTools.dll” “D:\99-Dev\Proto\Eiffel\ProtoUnity5\Temp\StagingArea\Data\il2cppOutput”
stdout:
IL2CPP error (no further information about what managed code was being converted is available)
Additional information: Build a development build for more information. Exception has been thrown by the target of an invocation.
stderr:
Unhandled Exception:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. —> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. —> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation… ( more then 100)
[/quote]
PS : Version of unity : 5.0.1f1