playMaker

Author Topic: I'm having an error with IL2CPP and Playmaker  (Read 149 times)

ob1knb

  • Playmaker Newbie
  • *
  • Posts: 2
    • View Profile
I'm having an error with IL2CPP and Playmaker
« on: February 13, 2020, 06:03:51 PM »
Failed running C:\Program Files\Unity\Hub\Editor\2019.3.1f1\Editor\Data\il2cpp/build/deploy/net471/il2cpp.exe --convert-to-cpp --emit-null-checks --enable-array-bounds-check --dotnetprofile="unityaot" --compile-cpp --libil2cpp-static --platform="Android" --architecture="ARM64" --configuration="Release" --outputpath="C:\Users\x\Desktop\Field-of-View-master\Start file\Temp\StagingArea\assets\bin\Data\Native\arm64-v8a\libil2cpp.so" --cachedirectory="C:\Users\x\Desktop\Field-of-View-master\Start file\Assets\..\Library\il2cpp_android_arm64-v8a/il2cpp_cache" --additional-include-directories="C:/Program Files/Unity/Hub/Editor/2019.3.1f1/Editor/Data/PlaybackEngines/AndroidPlayer/Tools\bdwgc/include" --additional-include-directories="C:/Program Files/Unity/Hub/Editor/2019.3.1f1/Editor/Data/PlaybackEngines/AndroidPlayer/Tools\libil2cpp/include" --tool-chain-path="C:/Program Files/Unity/Hub/Editor/2019.3.1f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK" --profiler-report --map-file-parser="C:/Program Files/Unity/Hub/Editor/2019.3.1f1/Editor/Data/Tools/MapFileParser/MapFileParser.exe" --directory="C:/Users/x/Desktop/Field-of-View-master/Start file/Temp/StagingArea/assets/bin/Data/Managed" --generatedcppdir="C:/Users/x/Desktop/Field-of-View-master/Start file/Temp/StagingArea/Il2Cpp/il2cppOutput"

stdout:
Building libil2cpp.so with AndroidToolChain
   Output directory: C:\Users\x\Desktop\Field-of-View-master\Start file\Temp\StagingArea\assets\bin\Data\Native\arm64-v8a
   Cache directory: C:\Users\x\Desktop\Field-of-View-master\Start file\Library\il2cpp_android_arm64-v8a\il2cpp_cache
il2cpp.exe didn't catch exception: Unity.IL2CPP.Building.BuilderFailedException: C:\Users\x\Desktop\Field-of-View-master\Start file\Temp\StagingArea\Il2Cpp\il2cppOutput\PlayMaker2.cpp:31093: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);
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\x\Desktop\Field-of-View-master\Start file\Temp\StagingArea\Il2Cpp\il2cppOutput\PlayMaker2.cpp:13535:41: note: candidate function not viable: no known conversion from 'GUITexture_t1679093D89FD7E758DB296145046F8BB10DB7E51 *' to 'Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *' for 1st argument
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Object_op_Equality_mBC2401774F3BE33E8CF6F0A8148E66C95D6CFF1C (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 * ___x0, Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 * ___y1, const RuntimeMethod* method);
                                        ^
C:\Users\x\Desktop\Field-of-View-master\Start file\Temp\StagingArea\Il2Cpp\il2cppOutput\PlayMaker2.cpp:31122: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);
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\x\Desktop\Field-of-View-master\Start file\Temp\StagingArea\Il2Cpp\il2cppOutput\PlayMaker2.cpp:13535:41: note: candidate function not viable: no known conversion from 'GUIText_t8C9642311EE384C7674771DDF6AB9F222CA1AE1D *' to 'Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *' for 1st argument
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Object_op_Equality_mBC2401774F3BE33E8CF6F0A8148E66C95D6CFF1C (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 * ___x0, Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 * ___y1, const RuntimeMethod* method);
                                        ^
2 errors generated.


Invocation was: Executable: "C:\Program Files\Unity\Hub\Editor\2019.3.1f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++"
Arguments: -DNET_4_0 -DUNITY_AOT -DIL2CPP_MONO_DEBUGGER_DISABLED -DGC_NOT_DLL -DRUNTIME_IL2CPP -DLINUX -DANDROID -DPLATFORM_ANDROID -D__linux__ -D__STDC_FORMAT_MACROS -DTARGET_ARM64 -I"C:\Program Files\Unity\Hub\Editor\2019.3.1f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\bdwgc\include" -I"C:\Program Files\Unity\Hub\Editor\2019.3.1f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\libil2cpp\include" -I"C:\Program Files\Unity\Hub\Editor\2019.3.1f1\Editor\Data\il2cpp\libil2cpp" -I"C:\Program Files\Unity\Hub\Editor\2019.3.1f1\Editor\Data\il2cpp\libil2cpp" -I"C:\Program Files\Unity\Hub\Editor\2019.3.1f1\Editor\Data\il2cpp\external\bdwgc\include" -I"C:\Program Files\Unity\Hub\Editor\2019.3.1f1\Editor\Data\il2cpp\external\xxHash" -I"C:\Users\x\Desktop\Field-of-View-master\Start file\Temp\StagingArea\Il2Cpp\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 aarch64-linux-android21 -D__ANDROID_API__=21 -march=armv8-a -Wno-unused-value "C:\Users\x\Desktop\Field-of-View-master\Start file\Temp\StagingArea\Il2Cpp\il2cppOutput\PlayMaker2.cpp" -o "C:/Users/x/Desktop/Field-of-View-master/Start file/Library/il2cpp_android_arm64-v8a/il2cpp_cache/D2087F0FB5F7DFE977D6CFD64FB17991.o"

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

Unhandled Exception: Unity.IL2CPP.Building.BuilderFailedException: C:\Users\x\Desktop\Field-of-View-master\Start file\Temp\StagingArea\Il2Cpp\il2cppOutput\PlayMaker2.cpp:31093: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);
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\x\Desktop\Field-of-View-master\Start file\Temp\StagingArea\Il2Cpp\il2cppOutput\PlayMaker2.cpp:13535:41: note: candidate function not viable: no known conversion from 'GUITexture_t1679093D89FD7E758DB296145046F8BB10DB7E51 *' to 'Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *' for 1st argument
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Object_op_Equality_mBC2401774F3BE33E8CF6F0A8148E66C95D6CFF1C (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 * ___x0, Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 * ___y1, const RuntimeMethod* method);
                                        ^
C:\Users\x\Desktop\Field-of-View-master\Start file\Temp\StagingArea\Il2Cpp\il2cppOutput\PlayMaker2.cpp:31122: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);
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\x\Desktop\Field-of-View-master\Start file\Temp\StagingArea\Il2Cpp\il2cppOutput\PlayMaker2.cpp:13535:41: note: candidate function not viable: no known conversion from 'GUIText_t8C9642311EE384C7674771DDF6AB9F222CA1AE1D *' to 'Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 *' for 1st argument
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Object_op_Equality_mBC2401774F3BE33E8CF6F0A8148E66C95D6CFF1C (Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 * ___x0, Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 * ___y1, const RuntimeMethod* method);
                                        ^
2 errors generated.


Invocation was: Executable: "C:\Program Files\Unity\Hub\Editor\2019.3.1f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++"
Arguments: -DNET_4_0 -DUNITY_AOT -DIL2CPP_MONO_DEBUGGER_DISABLED -DGC_NOT_DLL -DRUNTIME_IL2CPP -DLINUX -DANDROID -DPLATFORM_ANDROID -D__linux__ -D__STDC_FORMAT_MACROS -DTARGET_ARM64 -I"C:\Program Files\Unity\Hub\Editor\2019.3.1f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\bdwgc\include" -I"C:\Program Files\Unity\Hub\Editor\2019.3.1f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\libil2cpp\include" -I"C:\Program Files\Unity\Hub\Editor\2019.3.1f1\Editor\Data\il2cpp\libil2cpp" -I"C:\Program Files\Unity\Hub\Editor\2019.3.1f1\Editor\Data\il2cpp\libil2cpp" -I"C:\Program Files\Unity\Hub\Editor\2019.3.1f1\Editor\Data\il2cpp\external\bdwgc\include" -I"C:\Program Files\Unity\Hub\Editor\2019.3.1f1\Editor\Data\il2cpp\external\xxHash" -I"C:\Users\x\Desktop\Field-of-View-master\Start file\Temp\StagingArea\Il2Cpp\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 aarch64-linux-android21 -D__ANDROID_API__=21 -march=armv8-a -Wno-unused-value "C:\Users\x\Desktop\Field-of-View-master\Start file\Temp\StagingArea\Il2Cpp\il2cppOutput\PlayMaker2.cpp" -o "C:/Users/x/Desktop/Field-of-View-master/Start file/Library/il2cpp_android_arm64-v8a/il2cpp_cache/D2087F0FB5F7DFE977D6CFD64FB17991.o"

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

UnityEngine.Debug:LogError(Object)
UnityEditorInternal.Runner:RunProgram(Program, String, String, String, CompilerOutputParserBase)
UnityEditorInternal.Runner:RunManagedProgram(String, String, String, CompilerOutputParserBase, Action`1)
UnityEditorInternal.IL2CPPBuilder:RunIl2CppWithArguments(List`1, Action`1, String)
UnityEditorInternal.IL2CPPBuilder:ConvertPlayerDlltoCpp(Il2CppBuildPipelineData, String, String, Boolean)
UnityEditorInternal.IL2CPPBuilder:Run()
UnityEditorInternal.IL2CPPUtils:RunIl2Cpp(String, String, IIl2CppPlatformProvider, Action`1, RuntimeClassRegistry)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15082
  • Official Playmaker Support
    • View Profile
Re: I'm having an error with IL2CPP and Playmaker
« Reply #1 on: February 14, 2020, 04:15:12 AM »
Hi,

1: back up
2: reimport playmaker from the asset store
3: if it doesn't work
4: delete playmaker folder ( keep the global asset and templates if you have them in that folder still)
5: import PlayMaker ( wizard won't work, you have potentially errors, if some scripts relies on PLayMaker
6: manually import the package ( Assets/PlayMaker/Editor/Installs)
7: if it doesn't work still, get back here and will debug further.

Bye,

 Jean