Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question "Exception: .../il2cpp.exe did not run properly!" with Unity2019.4.19f1 on Fedora

Discussion in 'Web' started by pakueamb, Feb 15, 2021.

  1. pakueamb

    pakueamb

    Joined:
    Jan 8, 2020
    Posts:
    1
    Hi, I managed to install Unity on my Fedora 33 PC and have been using it for about 2 weeks. I am using version 2019.4.19f1. Then, one day I find myself incapable of making a WebGL or Windows build of my game.
    I tried building other projects I've made and also some of the templates like the kart racing game or even New Unity Project with just a sample scene and all builds have failed so far.

    Any help would be greatly appreciated.

    Unity log: https://pastebin.com/pRLksM5W

    Console error message:
    Code (CSharp):
    1. Exception: /home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/il2cpp/build/deploy/net471/il2cpp.exe did not run properly!
    2.  
    3. Failed running "/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/il2cpp/build/deploy/net471/il2cpp.exe" --convert-to-cpp --dotnetprofile="unityaot" --compile-cpp --libil2cpp-static --platform="WebGL" --architecture="EmscriptenJavaScript" --configuration="Release" --outputpath="/home/djinnalexio/Projects/Space-Journey-Breakout/Space Journey Breakout/Assets /../Temp/StagingArea/Data/Native/build.bc" --cachedirectory="/home/djinnalexio/Projects/Space-Journey-Breakout/Space Journey Breakout/Assets/../Library/il2cpp_cache" --compiler-flags="-Oz -DIL2CPP_EXCEPTION_DISABLED=1 " --emit-method-map --additional-libraries="/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/lib/modules_development/WebGLSupport_AIModule_Dynamic.bc" --additional-libraries="/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/lib/modules_development/WebGLSupport_AccessibilityModule_Dynamic.bc" --additional-libraries="/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/lib/modules_development/WebGLSupport_AndroidJNIModule_Dynamic.bc" --additional-libraries="/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/lib/modules_development/WebGLSupport_AnimationModule_Dynamic.bc" --additional-libraries="/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/lib/modules_development/WebGLSupport_AssetBundleModule_Dynamic.bc" --additional-libraries="/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/lib/modules_development/WebGLSupport_AudioModule_Dynamic.bc" --additional-libraries="/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/lib/modules_development/WebGLSupport_ClothModule_Dynamic.bc" --additional-libraries="/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/lib/modules_development/WebGLSupport_CoreModule_Dynamic.bc" --additional-libraries="/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/lib/modules_development/WebGLSupport_CrashReportingModule_Dynamic.bc" --additional-libraries="/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/lib/modules_development/WebGLSupport_DSPGraphModule_Dynamic.bc" --additional-libraries="/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/lib/modules_development/WebGLSupport_DirectorModule_Dynamic.bc" --additional-libraries="/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/lib/modules_development/WebGLSupport_GameCenterModule_Dynamic.bc" --additional-libraries="/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/lib/modules_development/WebGLSupport_GridModule_Dynamic.bc" --additional-libraries="/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/lib/modules_development/WebGLSupport_HotReloadModule_Dynamic.bc" --additional-libraries="/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/lib/modules_development/WebGLSupport_IMGUIModule_Dynamic.bc" --additional-libraries="/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/lib/modules_development/WebGLSupport_ImageConversionModule_Dynamic.bc" --additional-libraries="/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/lib/modules_development/WebGLSupport_InputLegacyModule_Dynamic.bc" --additional-libraries="/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/lib/modules_development/WebGLSupport_InputModule_Dynamic.bc" --additional-libraries="/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/lib/modules_development/WebGLSupport_JSONSerializeModule_Dynamic.bc" --additional-libraries="/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/lib/modules_development/WebGLSupport_LocalizationModule_Dynamic.bc" --additional-libraries="/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/lib/modules_development/WebGLSupport_ParticleSystemModule_Dynamic.bc" --additional-libraries="/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/lib/modules_development/WebGLSupport_PerformanceReportingModule_Dynamic.bc" --additional-libraries="/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/lib/modules_development/WebGLSupport_Physics2DModule_Dynamic.bc" --additional-libraries="/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/lib/modules_development/WebGLSupport_PhysicsModule_Dynamic.bc" --additional-libraries="/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/lib/modules_development/WebGLSupport_ProfilerModule_Dynamic.bc" --additional-libraries="/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/lib/modules_development/WebGLSupport_ScreenCaptureModule_Dynamic.bc" --additional-libraries="/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/lib/modules_development/WebGLSupport_SharedInternalsModule_Dynamic.bc" --additional-libraries="/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/lib/modules_development/WebGLSupport_SpriteMaskModule_Dynamic.bc" --additional-libraries="/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/lib/modules_development/WebGLSupport_SpriteShapeModule_Dynamic.bc" --additional-libraries="/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/lib/modules_development/WebGLSupport_StreamingModule_Dynamic.bc" --additional-libraries="/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/lib/modules_development/WebGLSupport_SubstanceModule_Dynamic.bc" --additional-libraries="/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/lib/modules_development/WebGLSupport_SubsystemsModule_Dynamic.bc" --additional-libraries="/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/lib/modules_development/WebGLSupport_TLSModule_Dynamic.bc" --additional-libraries="/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/lib/modules_development/WebGLSupport_TerrainModule_Dynamic.bc" --additional-libraries="/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/lib/modules_development/WebGLSupport_TerrainPhysicsModule_Dynamic.bc" --additional-libraries="/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/lib/modules_development/WebGLSupport_TextCoreModule_Dynamic.bc" --additional-libraries="/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/lib/modules_development/WebGLSupport_TextRenderingModule_Dynamic.bc" --additional-libraries="/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/lib/modules_development/WebGLSupport_TilemapModule_Dynamic.bc" --additional-libraries="/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/lib/modules_development/WebGLSupport_UIElementsModule_Dynamic.bc" --additional-libraries="/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/lib/modules_development/WebGLSupport_UIModule_Dynamic.bc" --additional-libraries="/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/lib/modules_development/WebGLSupport_UNETModule_Dynamic.bc" --additional-libraries="/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/lib/modules_development/WebGLSupport_UmbraModule_Dynamic.bc" --additional-libraries="/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/lib/modules_development/WebGLSupport_UnityAnalyticsModule_Dynamic.bc" --additional-libraries="/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/lib/modules_development/WebGLSupport_UnityConnectModule_Dynamic.bc" --additional-libraries="/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/lib/modules_development/WebGLSupport_UnityTestProtocolModule_Dynamic.bc" --additional-libraries="/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/lib/modules_development/WebGLSupport_UnityWebRequestAssetBundleModule_Dynamic.bc" --additional-libraries="/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/lib/modules_development/WebGLSupport_UnityWebRequestAudioModule_Dynamic.bc" --additional-libraries="/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/lib/modules_development/WebGLSupport_UnityWebRequestModule_Dynamic.bc" --additional-libraries="/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/lib/modules_development/WebGLSupport_UnityWebRequestTextureModule_Dynamic.bc" --additional-libraries="/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/lib/modules_development/WebGLSupport_UnityWebRequestWWWModule_Dynamic.bc" --additional-libraries="/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/lib/modules_development/WebGLSupport_VFXModule_Dynamic.bc" --additional-libraries="/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/lib/modules_development/WebGLSupport_VRModule_Dynamic.bc" --additional-libraries="/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/lib/modules_development/WebGLSupport_VehiclesModule_Dynamic.bc" --additional-libraries="/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/lib/modules_development/WebGLSupport_VideoModule_Dynamic.bc" --additional-libraries="/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/lib/modules_development/WebGLSupport_WebGLModule_Dynamic.bc" --additional-libraries="/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/lib/modules_development/WebGLSupport_WindModule_Dynamic.bc" --additional-libraries="/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/lib/modules_development/WebGLSupport_XRModule_Dynamic.bc" --profiler-report --map-file-parser="/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/Tools/MapFileParser/MapFileParser" --directory="/home/djinnalexio/Projects/Space-Journey-Breakout/Space Journey Breakout/Temp/StagingArea/Data/Managed" --generatedcppdir="/home/djinnalexio/Projects/Space-Journey-Breakout/Space Journey Breakout/Temp/StagingArea/Data/il2cppOutput"
    4.  
    5. stdout:
    6. Building build.bc with EmscriptenToolChain
    7.     Output directory: /home/djinnalexio/Projects/Space-Journey-Breakout/Space Journey Breakout/Temp/StagingArea/Data/Native
    8.     Cache directory: /home/djinnalexio/Projects/Space-Journey-Breakout/Space Journey Breakout/Library/il2cpp_cache
    9. il2cpp.exe didn't catch exception: Unity.IL2CPP.Building.BuilderFailedException: /home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/Emscripten_FastComp_Linux/clang: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
    10. ERROR:root:compiler frontend failed to generate LLVM bitcode, halting
    11.  
    12.  
    13. Invocation was: Executable: /usr/bin/python2
    14. Arguments: -E "/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/Emscripten/emcc" -Wno-unused-value -Wno-invalid-offsetof -nostdinc -fno-strict-overflow -Wno-null-conversion -O3 -Oz -DIL2CPP_EXCEPTION_DISABLED=1  -DNET_4_0 -DUNITY_AOT -DIL2CPP_MONO_DEBUGGER_DISABLED -DGC_NOT_DLL -DRUNTIME_IL2CPP -DNDEBUG -I"/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/il2cpp/libil2cpp" -I"/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/il2cpp/libil2cpp" -I"/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/il2cpp/external/bdwgc/include" -I"/home/djinnalexio/.local/share/unity3d/2019.4.19f1/Editor/Data/il2cpp/external/xxHash" -I"/home/djinnalexio/Projects/Space-Journey-Breakout/Space Journey Breakout/Temp/StagingArea/Data/il2cppOutput" "/home/djinnalexio/Projects/Space-Journey-Breakout/Space Journey Breakout/Temp/StagingArea/Data/il2cppOutput/Il2CppTypeDefinitions.c" -o "/home/djinnalexio/Projects/Space-Journey-Breakout/Space Journey Breakout/Library/il2cpp_cache/DA4AC2CAC5B1F4F0B411F8D38425B8AB.o"
    15.  
    16.  at Unity.IL2CPP.Building.CppProgramBuilder.BuildAllCppFiles (System.Collections.Generic.IEnumerable`1[T] sourceFilesToCompile, Unity.IL2CPP.Building.Statistics.IBuildStatisticsCollector statisticsCollector) [0x0024f] in <ed39187f0ed44a38bce9de2b7010e579>:0
    17.  at Unity.IL2CPP.Building.CppProgramBuilder.Build (Unity.IL2CPP.Building.Statistics.IBuildStatistics& statistics) [0x00206] in <ed39187f0ed44a38bce9de2b7010e579>:0
    18.  at Unity.IL2CPP.Building.Statistics.Building
    19. --------------------------------------------------------------------------------
    20. Build completed with a result of 'Failed' in 53 seconds (53227 ms)
    21. UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) (at /home/bokken/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:197)
    22. -----------------------------------------------------------------------------------
    23. UnityEditor.BuildPlayerWindow+BuildMethodException: 2 errors
    24.  at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002b3] in /home/bokken/buildslave/unity/build/Editor/Mono/BuildPlayerWindowBuildMethods.cs:194
    25.  at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in /home/bokken/buildslave/unity/build/Editor/Mono/BuildPlayerWindowBuildMethods.cs:95
    26. UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) (at /home/bokken/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:197)
     

    Attached Files:

  2. jukka_j

    jukka_j

    Unity Technologies

    Joined:
    May 4, 2018
    Posts:
    953