playMaker

Author Topic: IL2CPP Build Failed  (Read 2564 times)

ahsan15

  • Playmaker Newbie
  • *
  • Posts: 1
IL2CPP Build Failed
« on: May 26, 2022, 07:46:38 AM »
I'm working on android platform. play store not accepting .aab file with mono scripting backend.so I switched scripting backend: mono to IL2CPP, and now when I try to build. it shows me this error. how can I fix this? when I try to build with mono it works fine . help me please  :'(

Error :

Exception: Unity.IL2CPP.Building.BuilderFailedException: F:\UNITY\Dusty ball\Library\Il2cppBuildCache\Android\armeabi-v7a\il2cppOutput\PlayMaker2.cpp:30197:9: error: no matching function for call to 'Object_op_Equality_mEE9EC7EB5C7DC3E95B94AB904E1986FC4D566D54'
                L_1 = Object_op_Equality_mEE9EC7EB5C7DC3E95B94AB904E1986FC4D566D54(L_0, (Object_tF2F3778131EFF286AF62B7B013A170F95A91571A *)NULL, /*hidden argument*/NULL);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
F:\UNITY\Dusty ball\Library\Il2cppBuildCache\Android\armeabi-v7a\il2cppOutput\PlayMaker2.cpp:13288:41: note: candidate function not viable: no known conversion from 'GUITexture_t804803F0948E46CF8CAF71AB6B6FDC8F4F21B868 *' to 'Object_tF2F3778131EFF286AF62B7B013A170F95A91571A *' for 1st argument
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Object_op_Equality_mEE9EC7EB5C7DC3E95B94AB904E1986FC4D566D54 (Object_tF2F3778131EFF286AF62B7B013A170F95A91571A * ___x0, Object_tF2F3778131EFF286AF62B7B013A170F95A91571A * ___y1, const RuntimeMethod* method);
                                        ^
F:\UNITY\Dusty ball\Library\Il2cppBuildCache\Android\armeabi-v7a\il2cppOutput\PlayMaker2.cpp:30229:9: error: no matching function for call to 'Object_op_Equality_mEE9EC7EB5C7DC3E95B94AB904E1986FC4D566D54'
                L_1 = Object_op_Equality_mEE9EC7EB5C7DC3E95B94AB904E1986FC4D566D54(L_0, (Object_tF2F3778131EFF286AF62B7B013A170F95A91571A *)NULL, /*hidden argument*/NULL);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
F:\UNITY\Dusty ball\Library\Il2cppBuildCache\Android\armeabi-v7a\il2cppOutput\PlayMaker2.cpp:13288:41: note: candidate function not viable: no known conversion from 'GUIText_tBA5432020978C9BBDA8584FFB0D8C815257DEFEB *' to 'Object_tF2F3778131EFF286AF62B7B013A170F95A91571A *' for 1st argument
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Object_op_Equality_mEE9EC7EB5C7DC3E95B94AB904E1986FC4D566D54 (Object_tF2F3778131EFF286AF62B7B013A170F95A91571A * ___x0, Object_tF2F3778131EFF286AF62B7B013A170F95A91571A * ___y1, const RuntimeMethod* method);
                                        ^
2 errors generated.


Invocation was: Executable: "F:\UNITY\2020.3.27f1\android-ndk-r19-windows-x86_64\android-ndk-r19\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++"
Arguments: -DNET_4_0 -DUNITY_AOT -DIL2CPP_MONO_DEBUGGER_DISABLED -DGC_NOT_DLL -DRUNTIME_IL2CPP -DIL2CPP_ENABLE_WRITE_BARRIERS=1 -DIL2CPP_INCREMENTAL_TIME_SLICE=3 -DBASELIB_INLINE_NAMESPACE=il2cpp_baselib -DLINUX -DANDROID -DPLATFORM_ANDROID -D__linux__ -D__STDC_FORMAT_MACROS -I"F:\UNITY\2020.3.27f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\bdwgc\include" -I"F:\UNITY\2020.3.27f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\libil2cpp\include" -I"F:\UNITY\2020.3.27f1\Editor\Data\il2cpp\libil2cpp" -I"F:\UNITY\2020.3.27f1\Editor\Data\il2cpp\libil2cpp" -I"F:\UNITY\2020.3.27f1\Editor\Data\il2cpp\external\bdwgc\include" -I"F:\UNITY\2020.3.27f1\Editor\Data\il2cpp\external\xxHash" -I"F:\UNITY\2020.3.27f1\Editor\Data\il2cpp\external\baselib\Include" -I"F:\UNITY\2020.3.27f1\Editor\Data\il2cpp\external\baselib\Platforms\Android\Include" -I"F:\UNITY\2020.3.27f1\Editor\Data\il2cpp\libil2cpp\pch" -I"F:\UNITY\Dusty ball\Library\Il2cppBuildCache\Android\armeabi-v7a\il2cppOutput" -I"." -c -g -DNDEBUG -fexceptions -fno-limit-debug-info -fdata-sections -ffunction-sections -Wa,--noexecstack -fno-rtti -std=c++11 -fno-strict-aliasing -fvisibility=hidden -fvisibility-inlines-hidden -fno-strict-overflow -fno-addrsig -fPIC -Os -stdlib=libc++ -target armv7-linux-androideabi19 -D__ANDROID_API__=19 -march=armv7-a -mfloat-abi=softfp -mfpu=neon-fp16 -Wno-unused-value "F:\UNITY\Dusty ball\Library\Il2cppBuildCache\Android\armeabi-v7a\il2cppOutput\PlayMaker2.cpp" -o "F:/UNITY/Dusty ball/Library/il2cpp_android_armeabi-v7a/il2cpp_cache/C05AC04DDC60094CC72212CFBFA248F1.o"

   at Unity.IL2CPP.Building.CppProgramBuilder.BuildAllCppFiles(IEnumerable`1 sourceFilesToCompile, IBuildStatisticsCollector statisticsCollector)
   at Unity.IL2CPP.Building.CppProgramBuilder.Build(IBuildStatistics& statistics)
   at il2cpp.Compilation.CompilationDriver.Run(RuntimePlatform platform, BuildingOptions buildingOptions, ReadOnlyCollection`1 matchedAssemblyMethodSourceFiles)
   at il2cpp.Program.DoRun(String[] args, RuntimePlatform platform, BuildingOptions buildingOptions, Boolean throwExceptions)
UnityEditorInternal.Runner.RunProgram (UnityEditor.Utils.Program p, System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser) (at <63ccfe108ffa44728b417cb47fb2f841>:0)
UnityEditorInternal.Runner.RunManagedProgram (System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser, System.Action`1[T] setupStartInfo) (at <63ccfe108ffa44728b417cb47fb2f841>:0)
UnityEditorInternal.IL2CPPBuilder.RunIl2CppWithArguments (System.Collections.Generic.List`1[T] arguments, System.Action`1[T] setupStartInfo) (at <63ccfe108ffa44728b417cb47fb2f841>:0)
UnityEditorInternal.IL2CPPBuilder.ConvertPlayerDlltoCpp (UnityEditor.Il2Cpp.Il2CppBuildPipelineData data) (at <63ccfe108ffa44728b417cb47fb2f841>:0)
UnityEditorInternal.IL2CPPBuilder.Run () (at <63ccfe108ffa44728b417cb47fb2f841>:0)
UnityEditorInternal.IL2CPPUtils.RunIl2Cpp (System.String tempFolder, System.String stagingAreaData, UnityEditorInternal.IIl2CppPlatformProvider platformProvider, System.Action`1[T] modifyOutputBeforeCompile, UnityEditor.RuntimeClassRegistry runtimeClassRegistry) (at <63ccfe108ffa44728b417cb47fb2f841>:0)
UnityEditor.Android.PostProcessor.Tasks.RunIl2Cpp.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <b3cb3e8dc74c43a6a86b595abf419282>:0)
UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <b3cb3e8dc74c43a6a86b595abf419282>:0)
UnityEditor.Android.PostProcessAndroidPlayer.PostProcess (UnityEditor.BuildTarget target, System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at <b3cb3e8dc74c43a6a86b595abf419282>:0)
UnityEditor.Android.AndroidBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) (at <b3cb3e8dc74c43a6a86b595abf419282>:0)
UnityEditor.PostprocessBuildPlayer.Postprocess (UnityEditor.BuildTargetGroup targetGroup, UnityEditor.BuildTarget target, System.String installPath, System.String companyName, System.String productName, System.Int32 width, System.Int32 height, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at <63ccfe108ffa44728b417cb47fb2f841>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)