Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

Failed running il2cpp.exe

Discussion in 'PSM' started by wechat_os_Qy00BbvntrdPe1DxHeg4jdRlY, Nov 1, 2019.

  1. wechat_os_Qy00BbvntrdPe1DxHeg4jdRlY

    wechat_os_Qy00BbvntrdPe1DxHeg4jdRlY

    Joined:
    Nov 1, 2019
    Posts:
    1
    I have a problem with PS4 publish

    Failed running D:\Unity\Editor\2019.1.14f1\Editor\Data\il2cpp/build/il2cpp.exe --convert-to-cpp --dotnetprofile="unityaot" --compile-cpp --libil2cpp-static --platform="PS4" --architecture="x64" --configuration="Release" --outputpath="E:/BBQ2/trunk/ClientPublish/Bin/Assets/../Temp/StagingArea/Data\Native\Il2CppUserAssemblies.prx" --cachedirectory="E:/BBQ2/trunk/ClientPublish/Bin/Library/il2cpp_cache" --compiler-flags="-O0 -g " --linker-flags="%22E%3A%2FBBQ2%2Ftrunk%2FClientPublish%2FBin%2Ftemp%2FApplicationInfo.o%22" --plugin="D:\Unity\Editor\2019.1.14f1\Editor\Data\PlaybackEngines\PS4Player\Tools\PS4Il2CppPlugin.dll" --additional-include-directories="D:/SCE/ORBIS SDKs/6.500\target\include" --configuration="ReleasePlus" --profiler-report --map-file-parser=D:/Unity/Editor/2019.1.14f1/Editor/Data/Tools/MapFileParser/MapFileParser.exe --directory=E:/BBQ2/trunk/ClientPublish/Bin/Temp/StagingArea/Data/Managed --generatedcppdir=E:/BBQ2/trunk/ClientPublish/Bin/Temp/StagingArea/Data/il2cppOutput

    stdout:
    PS4IL2CPPOutputBuildDescription il2cppToolsRoot:D:\Unity\Editor\2019.1.14f1\Editor\Data\PlaybackEngines\PS4Player\Tools
    Building Il2CppUserAssemblies.prx with ClangPS4ToolChain
    Output directory: E:\BBQ2\trunk\ClientPublish\Bin\Temp\StagingArea\Data\Native
    Cache directory: E:\BBQ2\trunk\ClientPublish\Bin\Library\il2cpp_cache
    il2cpp.exe didn't catch exception: Unity.IL2CPP.Building.BuilderFailedException:
    E:\BBQ2\trunk\ClientPublish\Bin\Temp\StagingArea\Data\il2cppOutput\Engine.cpp:20345:14: error: no matching function for call to 'Object_op_Equality_mBC2401774F3BE33E8CF6F0A8148E66C95D6CFF1C'
    bool L_1 = Object_op_Equality_mBC2401774F3BE33E8CF6F0A8148E66C95D6CFF1C(L_0, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)NULL, /*hidden argument*/NULL);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    E:\BBQ2\trunk\ClientPublish\Bin\Temp\StagingArea\Data\il2cppOutput\Engine.cpp:12632:41: note: candidate function not viable: no known conversion from 'AssetBundle_t7D46A23AD31F83905E7C65456AF870A8790A90CB *' to 'Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *' for 1st argument
    IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Object_op_Equality_mBC2401774F3BE33E8CF6F0A8148E66C95D6CFF1C (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 * p0, Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 * p1, const RuntimeMethod* method);
    ^
    E:\BBQ2\trunk\ClientPublish\Bin\Temp\StagingArea\Data\il2cppOutput\Engine.cpp:20444:14: error: no matching function for call to 'Object_op_Inequality_m31EF58E217E8F4BDD3E409DEF79E1AEE95874FC1'
    bool L_9 = Object_op_Inequality_m31EF58E217E8F4BDD3E409DEF79E1AEE95874FC1(L_8, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)NULL, /*hidden argument*/NULL);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    E:\BBQ2\trunk\ClientPublish\Bin\Temp\StagingArea\Data\il2cppOutput\Engine.cpp:12643:41: note: candidate function not viable: no known conversion from 'AssetBundle_t7D46A23AD31F83905E7C65456AF870A8790A90CB *' to 'Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *' for 1st argument
    IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Object_op_Inequality_m31EF58E217E8F4BDD3E409DEF79E1AEE95874FC1 (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 * p0, Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 * p1, const RuntimeMethod* method);
    ^
    E:\BBQ2\trunk\ClientPublish\Bin\Temp\StagingArea\Data\il2cppOutput\Engine.cpp:20508:14: error: no matching function for call to 'Object_op_Inequality_m31EF58E217E8F4BDD3E409DEF79E1AEE95874FC1'
    bool L_1 = Object_op_Inequality_m31EF58E217E8F4BDD3E409DEF79E1AEE95874FC1(L_0, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)NULL, /*hidden argument*/NULL);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    E:\BBQ2\trunk\ClientPublish\Bin\Temp\StagingArea\Data\il2cppOutput\Engine.cpp:12643:41: note: candidate function not viable: no known conversion from 'AssetBundle_t7D46A23AD31F83905E7C65456AF870A8790A90CB *' to 'Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *' for 1st argument
    IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Object_op_Inequality_m31EF58E217E8F4BDD3E409DEF79E1AEE95874FC1 (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 * p0, Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 * p1, const RuntimeMethod* method);
    ^
    E:\BBQ2\trunk\ClientPublish\Bin\Temp\StagingArea\Data\il2cppOutput\Engine.cpp:21013:14: error: no matching function for call to 'Object_op_Inequality_m31EF58E217E8F4BDD3E409DEF79E1AEE95874FC1'
    bool L_9 = Object_op_Inequality_m31EF58E217E8F4BDD3E409DEF79E1AEE95874FC1(L_8, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)NULL, /*hidden argument*/NULL);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    E:\BBQ2\trunk\ClientPublish\Bin\Temp\StagingArea\Data\il2cppOutput\Engine.cpp:12643:41: note: candidate function not viable: no known conversion from 'AssetBundle_t7D46A23AD31F83905E7C65456AF870A8790A90CB *' to 'Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *' for 1st argument
    IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Object_op_Inequality_m31EF58E217E8F4BDD3E409DEF79E1AEE95874FC1 (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 * p0, Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 * p1, const RuntimeMethod* method);
    ^
    4 errors generated.


    Invocation was: Executable: "D:\SCE\ORBIS SDKs\6.500\host_tools\bin\orbis-clang++.exe"
    Arguments: -DNET_4_0 -DUNITY_AOT -DGC_NOT_DLL -DRUNTIME_IL2CPP -DSN_TARGET_ORBIS -DGC_NO_DLOPEN -DGC_NO_PTHREAD_SIGMASK -DIL2CPP_ENABLE_NATIVE_STACKTRACES=1 -DIL2CPP_API_DYNAMIC_NO_DLSYM=1 -D_NDEBUG -DNDEBUG -I"D:\SCE\ORBIS SDKs\6.500\target\include" -I"D:\Unity\Editor\2019.1.14f1\Editor\Data\il2cpp\libil2cpp" -I"D:\Unity\Editor\2019.1.14f1\Editor\Data\il2cpp\libil2cpp" -I"D:\Unity\Editor\2019.1.14f1\Editor\Data\il2cpp\external\bdwgc\include" -I"D:\Unity\Editor\2019.1.14f1\Editor\Data\PlaybackEngines\PS4Player\Tools\il2cpp\libil2cpp" -I"D:\Unity\Editor\2019.1.14f1\Editor\Data\PlaybackEngines\PS4Player\Tools\il2cpp\libil2cpp\os\PS4" -I"D:\Unity\Editor\2019.1.14f1\Editor\Data\PlaybackEngines\PS4Player\Tools\il2cpp\libil2cpp\os\c-api" -I"E:\BBQ2\trunk\ClientPublish\Bin\Temp\StagingArea\Data\il2cppOutput" -I"D:\SCE\ORBIS SDKs\6.500\target\include" -c -fcxx-exceptions -std=c++11 -w -O0 -g "E:\BBQ2\trunk\ClientPublish\Bin\Temp\StagingArea\Data\il2cppOutput\Engine.cpp" -o "E:\BBQ2\trunk\ClientPublish\Bin\Library\il2cpp_cache\B45B27F3E54A28C83B585E9729EB3A3A.obj"

    �� Unity.IL2CPP.Building.CppProgramBuilder.BuildAllCppFiles(IEnumerable`1 sourceFilesToCompile, IBuildStatisticsCollector statisticsCollector)
    �� Unity.IL2CPP.Building.CppProgramBuilder.Build(IBuildStatistics& statistics)
    �� il2cpp.Program.DoRun(String[] args)
    �� il2cpp.Program.Run(String[] args)
    �� il2cpp.Program.Main(String[] args)
    stderr:

    δ��������쳣: Unity.IL2CPP.Building.BuilderFailedException:
    E:\BBQ2\trunk\ClientPublish\Bin\Temp\StagingArea\Data\il2cppOutput\Engine.cpp:20345:14: error: no matching function for call to 'Object_op_Equality_mBC2401774F3BE33E8CF6F0A8148E66C95D6CFF1C'
    bool L_1 = Object_op_Equality_mBC2401774F3BE33E8CF6F0A8148E66C95D6CFF1C(L_0, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)NULL, /*hidden argument*/NULL);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    E:\BBQ2\trunk\ClientPublish\Bin\Temp\StagingArea\Data\il2cppOutput\Engine.cpp:12632:41: note: candidate function not viable: no known conversion from 'AssetBundle_t7D46A23AD31F83905E7C65456AF870A8790A90CB *' to 'Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *' for 1st argument
    IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Object_op_Equality_mBC2401774F3BE33E8CF6F0A8148E66C95D6CFF1C (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 * p0, Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 * p1, const RuntimeMethod* method);
    ^
    E:\BBQ2\trunk\ClientPublish\Bin\Temp\StagingArea\Data\il2cppOutput\Engine.cpp:20444:14: error: no matching function for call to 'Object_op_Inequality_m31EF58E217E8F4BDD3E409DEF79E1AEE95874FC1'
    bool L_9 = Object_op_Inequality_m31EF58E217E8F4BDD3E409DEF79E1AEE95874FC1(L_8, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)NULL, /*hidden argument*/NULL);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    E:\BBQ2\trunk\ClientPublish\Bin\Temp\StagingArea\Data\il2cppOutput\Engine.cpp:12643:41: note: candidate function not viable: no known conversion from 'AssetBundle_t7D46A23AD31F83905E7C65456AF870A8790A90CB *' to 'Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *' for 1st argument
    IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Object_op_Inequality_m31EF58E217E8F4BDD3E409DEF79E1AEE95874FC1 (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 * p0, Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 * p1, const RuntimeMethod* method);
    ^
    E:\BBQ2\trunk\ClientPublish\Bin\Temp\StagingArea\Data\il2cppOutput\Engine.cpp:20508:14: error: no matching function for call to 'Object_op_Inequality_m31EF58E217E8F4BDD3E409DEF79E1AEE95874FC1'
    bool L_1 = Object_op_Inequality_m31EF58E217E8F4BDD3E409DEF79E1AEE95874FC1(L_0, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)NULL, /*hidden argument*/NULL);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    E:\BBQ2\trunk\ClientPublish\Bin\Temp\StagingArea\Data\il2cppOutput\Engine.cpp:12643:41: note: candidate function not viable: no known conversion from 'AssetBundle_t7D46A23AD31F83905E7C65456AF870A8790A90CB *' to 'Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *' for 1st argument
    IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Object_op_Inequality_m31EF58E217E8F4BDD3E409DEF79E1AEE95874FC1 (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 * p0, Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 * p1, const RuntimeMethod* method);
    ^
    E:\BBQ2\trunk\ClientPublish\Bin\Temp\StagingArea\Data\il2cppOutput\Engine.cpp:21013:14: error: no matching function for call to 'Object_op_Inequality_m31EF58E217E8F4BDD3E409DEF79E1AEE95874FC1'
    bool L_9 = Object_op_Inequality_m31EF58E217E8F4BDD3E409DEF79E1AEE95874FC1(L_8, (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *)NULL, /*hidden argument*/NULL);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    E:\BBQ2\trunk\ClientPublish\Bin\Temp\StagingArea\Data\il2cppOutput\Engine.cpp:12643:41: note: candidate function not viable: no known conversion from 'AssetBundle_t7D46A23AD31F83905E7C65456AF870A8790A90CB *' to 'Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *' for 1st argument
    IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Object_op_Inequality_m31EF58E217E8F4BDD3E409DEF79E1AEE95874FC1 (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 * p0, Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 * p1, const RuntimeMethod* method);
    ^
    4 errors generated.


    Invocation was: Executable: "D:\SCE\ORBIS SDKs\6.500\host_tools\bin\orbis-clang++.exe"
    Arguments: -DNET_4_0 -DUNITY_AOT -DGC_NOT_DLL -DRUNTIME_IL2CPP -DSN_TARGET_ORBIS -DGC_NO_DLOPEN -DGC_NO_PTHREAD_SIGMASK -DIL2CPP_ENABLE_NATIVE_STACKTRACES=1 -DIL2CPP_API_DYNAMIC_NO_DLSYM=1 -D_NDEBUG -DNDEBUG -I"D:\SCE\ORBIS SDKs\6.500\target\include" -I"D:\Unity\Editor\2019.1.14f1\Editor\Data\il2cpp\libil2cpp" -I"D:\Unity\Editor\2019.1.14f1\Editor\Data\il2cpp\libil2cpp" -I"D:\Unity\Editor\2019.1.14f1\Editor\Data\il2cpp\external\bdwgc\include" -I"D:\Unity\Editor\2019.1.14f1\Editor\Data\PlaybackEngines\PS4Player\Tools\il2cpp\libil2cpp" -I"D:\Unity\Editor\2019.1.14f1\Editor\Data\PlaybackEngines\PS4Player\Tools\il2cpp\libil2cpp\os\PS4" -I"D:\Unity\Editor\2019.1.14f1\Editor\Data\PlaybackEngines\PS4Player\Tools\il2cpp\libil2cpp\os\c-api" -I"E:\BBQ2\trunk\ClientPublish\Bin\Temp\StagingArea\Data\il2cppOutput" -I"D:\SCE\ORBIS SDKs\6.500\target\include" -c -fcxx-exceptions -std=c++11 -w -O0 -g "E:\BBQ2\trunk\ClientPublish\Bin\Temp\StagingArea\Data\il2cppOutput\Engine.cpp" -o "E:\BBQ2\trunk\ClientPublish\Bin\Library\il2cpp_cache\B45B27F3E54A28C83B585E9729EB3A3A.obj"

    �� Unity.IL2CPP.Building.CppProgramBuilder.BuildAllCppFiles(IEnumerable`1 sourceFilesToCompile, IBuildStatisticsCollector statisticsCollector)
    �� Unity.IL2CPP.Building.CppProgramBuilder.Build(IBuildStatistics& statistics)
    �� il2cpp.Program.DoRun(String[] args)
    �� il2cpp.Program.Run(String[] args)
    �� il2cpp.Program.Main(String[] args)

    UnityEngine.Debug:LogError(Object)
    UnityEditorInternal.Runner:RunProgram(Program, String, String, String, CompilerOutputParserBase) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:128)
    UnityEditorInternal.Runner:RunManagedProgram(String, String, String, CompilerOutputParserBase, Action`1) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:73)
    UnityEditorInternal.IL2CPPBuilder:RunIl2CppWithArguments(List`1, Action`1, String) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:496)
    UnityEditorInternal.IL2CPPBuilder:ConvertPlayerDlltoCpp(String, String, String, Boolean) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:477)
    UnityEditorInternal.IL2CPPBuilder:Run() (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:334)
    UnityEditorInternal.IL2CPPUtils:RunIl2Cpp(String, IIl2CppPlatformProvider, Action`1, RuntimeClassRegistry) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:70)
    UnityEngine.GUIUtility:processEvent(Int32, IntPtr)
     
  2. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    4,113
    This looks like an error on the Unity side. Can you submit a bug report for this issue?