Hi.
I have been trying to track the source of this problem for a long time now and I clearly need help.
I am trying to migrate my projecto 2019 LTS. Everything works great in Editor, Android Mono builds work and Windows builds too.
When I try to compile for Android using il2cpp, errors occur stating that some RenderPipeline class methods (that were removed in 2019) need 3 methods instead of 2. Nowhere in my code I even reference these classes.
Any help would be greatly appreciated.
Building libil2cpp.so with AndroidToolChain
Output directory: C:\repos\newgame\Temp\StagingArea\assets\bin\Data\Native\armeabi-v7a
Cache directory: C:\repos\newgame\Library\il2cpp_android_armeabi-v7a\il2cpp_cache
il2cpp.exe didn't catch exception: Unity.IL2CPP.Building.BuilderFailedException: C:\repos\newgame\Temp\StagingArea\Il2Cpp\il2cppOutput\XR2.cpp:16350:3: error: no matching function for call to 'RenderPipeline_add_beginCameraRendering_mCEF8B837B4A07F2CBA6B8122E447E564CF897032'
RenderPipeline_add_beginCameraRendering_mCEF8B837B4A07F2CBA6B8122E447E564CF897032(L_2, /*hidden argument*/NULL);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\repos\newgame\Temp\StagingArea\Il2Cpp\il2cppOutput\XR2.cpp:10955:41: note: candidate function not viable: requires 3 arguments, but 2 were provided
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RenderPipeline_add_beginCameraRendering_mCEF8B837B4A07F2CBA6B8122E447E564CF897032 (RenderPipeline_tF3CC67FDBB039E96CF303DF8893577BF45CD13FF * __this, Action_1_t1AD4DC4E3F00CCEA6CF624A0A962DF92E6CCDE34 * p0, const RuntimeMethod* method);
^
C:\repos\newgame\Temp\StagingArea\Il2Cpp\il2cppOutput\XR2.cpp:16379:3: error: no matching function for call to 'RenderPipeline_remove_beginCameraRendering_m1DE240C560382F65A969E6075C92E59D62DE3A8F'
RenderPipeline_remove_beginCameraRendering_m1DE240C560382F65A969E6075C92E59D62DE3A8F(L_2, /*hidden argument*/NULL);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\repos\newgame\Temp\StagingArea\Il2Cpp\il2cppOutput\XR2.cpp:10957:41: note: candidate function not viable: requires 3 arguments, but 2 were provided
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RenderPipeline_remove_beginCameraRendering_m1DE240C560382F65A969E6075C92E59D62DE3A8F (RenderPipeline_tF3CC67FDBB039E96CF303DF8893577BF45CD13FF * __this, Action_1_t1AD4DC4E3F00CCEA6CF624A0A962DF92E6CCDE34 * p0, const RuntimeMethod* method);
^
2 errors generated.