IL2CPP broken in 5.01p3 - won't even compile new empty project. - CRITICAL DEPLOYMENT BLOCKING ISSUE

Unity,

I’ve been able to compile my Unity3D project that has UniRx in it in previous versions. Now with the latest patch releases, no joy. 5.01p1, 201p2, and 5.01p3.

This compile is CRITICAL to a very large project. We can’t submit our app to the app store with a compile of UniRx using IL2CPP.

My AOT Options are: ntrampolines=2048,nrgctx-trampolines=1024,nimt-trampolines=2048

Investigation: I created a new empty project. I compiled it in Unity for IOS for IL2CPP. See my IOS player settings in the attached image.

When I attempted to compile the empty project using XCode I got the below 20 errors.

Our very large project is now BLOCKED from releasing on the Apple App Store.

Request:

  • Can you release a version of Unity that will compile an empty project using IL2CPP and will sucessfully compile in XCODE.
  • Can you please test to release with a new project that has UniRx imported into the project.

Thank you,

Karl Shifflett
Logical Advantage

Build target Unity-iPhone

CompileC /Users/Mole/Library/Developer/Xcode/DerivedData/Unity-iPhone-apfamenbaqnwkkbjmeglqyaukmoq/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Objects-normal/armv7/Il2CppMethodTable.o Classes/Native/Il2CppMethodTable.cpp normal armv7 c++ com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild
export LANG=en_US.US-ASCII
export PATH=“/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin”
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -arch armv7 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=c++11 -stdlib=libc++ -Wno-trigraphs -fno-rtti -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -g -fvisibility=hidden -fvisibility-inlines-hidden -Wno-sign-conversion -miphoneos-version-min=6.0 -iquote /Users/Mole/Library/Developer/Xcode/DerivedData/Unity-iPhone-apfamenbaqnwkkbjmeglqyaukmoq/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/EmptyProjectCompile-generated-files.hmap -I/Users/Mole/Library/Developer/Xcode/DerivedData/Unity-iPhone-apfamenbaqnwkkbjmeglqyaukmoq/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/EmptyProjectCompile-own-target-headers.hmap -I/Users/Mole/Library/Developer/Xcode/DerivedData/Unity-iPhone-apfamenbaqnwkkbjmeglqyaukmoq/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/EmptyProjectCompile-all-target-headers.hmap -iquote /Users/Mole/Library/Developer/Xcode/DerivedData/Unity-iPhone-apfamenbaqnwkkbjmeglqyaukmoq/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/EmptyProjectCompile-project-headers.hmap -I/Users/Mole/Library/Developer/Xcode/DerivedData/Unity-iPhone-apfamenbaqnwkkbjmeglqyaukmoq/Build/Products/Debug-iphoneos/include -I/Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes -I/Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild -I/Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native -I/Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Libraries/bdwgc/include -I/Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Libraries/libil2cpp/include -I/Users/Mole/Library/Developer/Xcode/DerivedData/Unity-iPhone-apfamenbaqnwkkbjmeglqyaukmoq/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/DerivedSources/armv7 -I/Users/Mole/Library/Developer/Xcode/DerivedData/Unity-iPhone-apfamenbaqnwkkbjmeglqyaukmoq/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/DerivedSources -F/Users/Mole/Library/Developer/Xcode/DerivedData/Unity-iPhone-apfamenbaqnwkkbjmeglqyaukmoq/Build/Products/Debug-iphoneos -mno-thumb -DINIT_SCRIPTING_BACKEND=1 -include /Users/Mole/Library/Developer/Xcode/DerivedData/Unity-iPhone-apfamenbaqnwkkbjmeglqyaukmoq/Build/Intermediates/PrecompiledHeaders/Prefix-aldhmqpjhbqkeuebqhcseemhgheo/Prefix.pch -MMD -MT dependencies -MF /Users/Mole/Library/Developer/Xcode/DerivedData/Unity-iPhone-apfamenbaqnwkkbjmeglqyaukmoq/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Objects-normal/armv7/Il2CppMethodTable.d --serialize-diagnostics /Users/Mole/Library/Developer/Xcode/DerivedData/Unity-iPhone-apfamenbaqnwkkbjmeglqyaukmoq/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Objects-normal/armv7/Il2CppMethodTable.dia -c /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/Il2CppMethodTable.cpp -o /Users/Mole/Library/Developer/Xcode/DerivedData/Unity-iPhone-apfamenbaqnwkkbjmeglqyaukmoq/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Objects-normal/armv7/Il2CppMethodTable.o

/Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/Il2CppMethodTable.cpp:7:17: error: conflicting types for ‘List_1__ctor_m10619_gshared’
extern “C” void List_1__ctor_m10619_gshared ();
^
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/Il2CppMethodTable.cpp:1:
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Prefix.pch:16:
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/il2cpp_precompiled_header.h:3380:
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/mscorlib_System_Collections_Generic_List_1_genMethodDeclarations.h:32:
/Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/mscorlib_System_Collections_Generic_List_1_gen_26MethodDeclarations.h:29:17: note: previous declaration is here
extern “C” void List_1__ctor_m10619_gshared (List_1_t254 * __this, MethodInfo* method);
^
/Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/Il2CppMethodTable.cpp:9:17: error: conflicting types for ‘Comparison_1__ctor_m1179_gshared’
extern “C” void Comparison_1__ctor_m1179_gshared ();
^
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/Il2CppMethodTable.cpp:1:
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Prefix.pch:16:
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/il2cpp_precompiled_header.h:3429:
/Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/mscorlib_System_Comparison_1_genMethodDeclarations.h:17:17: note: previous declaration is here
extern “C” void Comparison_1__ctor_m1179_gshared (Comparison_1_t6 * __this, Object_t * ___object, IntPtr_t157 ___method, MethodInfo* method);
^
/Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/Il2CppMethodTable.cpp:13:17: error: functions that differ only in their return type cannot be overloaded
extern “C” void List_1_get_Count_m10709_gshared ();

In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/Il2CppMethodTable.cpp:1:
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Prefix.pch:16:
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/il2cpp_precompiled_header.h:3380:
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/mscorlib_System_Collections_Generic_List_1_genMethodDeclarations.h:32:
/Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/mscorlib_System_Collections_Generic_List_1_gen_26MethodDeclarations.h:167:20: note: previous declaration is here
extern "C" int32_t List_1_get_Count_m10709_gshared (List_1_t254 * __this, MethodInfo* method);
~~~~~~~ ^
/Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/Il2CppMethodTable.cpp:15:17: error: functions that differ only in their return type cannot be overloaded
extern "C" void List_1_get_Item_m10710_gshared ();
~~~~ ^
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/Il2CppMethodTable.cpp:1:
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Prefix.pch:16:
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/il2cpp_precompiled_header.h:3380:
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/mscorlib_System_Collections_Generic_List_1_genMethodDeclarations.h:32:
/Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/mscorlib_System_Collections_Generic_List_1_gen_26MethodDeclarations.h:170:23: note: previous declaration is here
extern "C" Object_t * List_1_get_Item_m10710_gshared (List_1_t254 * __this, int32_t ___index, MethodInfo* method);
~~~~~~~~~~ ^
/Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/Il2CppMethodTable.cpp:17:17: error: conflicting types for 'List_1_RemoveAt_m10694_gshared'
extern "C" void List_1_RemoveAt_m10694_gshared ();
^
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/Il2CppMethodTable.cpp:1:
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Prefix.pch:16:
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/il2cpp_precompiled_header.h:3380:
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/mscorlib_System_Collections_Generic_List_1_genMethodDeclarations.h:32:
/Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/mscorlib_System_Collections_Generic_List_1_gen_26MethodDeclarations.h:143:17: note: previous declaration is here
extern "C" void List_1_RemoveAt_m10694_gshared (List_1_t254 * __this, int32_t ___index, MethodInfo* method);
^
/Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/Il2CppMethodTable.cpp:21:17: error: conflicting types for 'List_1_Clear_m1192_gshared'
extern "C" void List_1_Clear_m1192_gshared ();
^
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/Il2CppMethodTable.cpp:1:
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Prefix.pch:16:
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/il2cpp_precompiled_header.h:3466:
/Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/mscorlib_System_Collections_Generic_List_1_gen_0MethodDeclarations.h:103:17: note: previous declaration is here
extern "C" void List_1_Clear_m1192_gshared (List_1_t10 * __this, MethodInfo* method);
^
/Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/Il2CppMethodTable.cpp:22:17: error: conflicting types for 'List_1_Sort_m1208_gshared'
extern "C" void List_1_Sort_m1208_gshared ();
^
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/Il2CppMethodTable.cpp:1:
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Prefix.pch:16:
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/il2cpp_precompiled_header.h:3466:
/Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/mscorlib_System_Collections_Generic_List_1_gen_0MethodDeclarations.h:154:17: note: previous declaration is here
extern "C" void List_1_Sort_m1208_gshared (List_1_t10 * __this, Comparison_1_t6 * ___comparison, MethodInfo* method);
^
/Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/Il2CppMethodTable.cpp:23:17: error: conflicting types for 'UnityEvent_1__ctor_m11842_gshared'
extern "C" void UnityEvent_1__ctor_m11842_gshared ();
^
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/Il2CppMethodTable.cpp:1:
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Prefix.pch:16:
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/il2cpp_precompiled_header.h:3498:
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/UnityEngine_UnityEngine_Events_UnityEvent_1_genMethodDeclarations.h:20:
/Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/UnityEngine_UnityEngine_Events_UnityEvent_1_gen_5MethodDeclarations.h:17:17: note: previous declaration is here
extern "C" void UnityEvent_1__ctor_m11842_gshared (UnityEvent_1_t2316 * __this, MethodInfo* method);
^
/Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/Il2CppMethodTable.cpp:24:17: error: conflicting types for 'UnityEvent_1_Invoke_m11851_gshared'
extern "C" void UnityEvent_1_Invoke_m11851_gshared ();
^
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/Il2CppMethodTable.cpp:1:
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Prefix.pch:16:
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/il2cpp_precompiled_header.h:3498:
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/UnityEngine_UnityEngine_Events_UnityEvent_1_genMethodDeclarations.h:20:
/Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/UnityEngine_UnityEngine_Events_UnityEvent_1_gen_5MethodDeclarations.h:35:17: note: previous declaration is here
extern "C" void UnityEvent_1_Invoke_m11851_gshared (UnityEvent_1_t2316 * __this, Object_t * ___arg0, MethodInfo* method);
^
/Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/Il2CppMethodTable.cpp:25:17: error: conflicting types for 'EventFunction_1__ctor_m11049_gshared'
extern "C" void EventFunction_1__ctor_m11049_gshared ();
^
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/Il2CppMethodTable.cpp:1:
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Prefix.pch:16:
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/il2cpp_precompiled_header.h:3430:
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/UnityEngine_UI_UnityEngine_EventSystems_ExecuteEvents_EventF_12MethodDeclarations.h:20:
/Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/UnityEngine_UI_UnityEngine_EventSystems_ExecuteEvents_EventF_16MethodDeclarations.h:17:17: note: previous declaration is here
extern "C" void EventFunction_1__ctor_m11049_gshared (EventFunction_1_t255 * __this, Object_t * ___object, IntPtr_t157 ___method, MethodInfo* method);
^
/Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/Il2CppMethodTable.cpp:26:17: error: conflicting types for 'UnityAction_1__ctor_m11232_gshared'
extern "C" void UnityAction_1__ctor_m11232_gshared ();
^
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/Il2CppMethodTable.cpp:1:
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Prefix.pch:16:
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/il2cpp_precompiled_header.h:3447:
/Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/UnityEngine_UnityEngine_Events_UnityAction_1_gen_6MethodDeclarations.h:15:17: note: previous declaration is here
extern "C" void UnityAction_1__ctor_m11232_gshared (UnityAction_1_t2262 * __this, Object_t * ___object, IntPtr_t157 ___method, MethodInfo* method);
^
/Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/Il2CppMethodTable.cpp:27:17: error: conflicting types for 'ObjectPool_1__ctor_m11203_gshared'
extern "C" void ObjectPool_1__ctor_m11203_gshared ();
^
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/Il2CppMethodTable.cpp:1:
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Prefix.pch:16:
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/il2cpp_precompiled_header.h:3443:
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/UnityEngine_UI_UnityEngine_UI_ObjectPool_1_genMethodDeclarations.h:12:
/Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/UnityEngine_UI_UnityEngine_UI_ObjectPool_1_gen_3MethodDeclarations.h:11:17: note: previous declaration is here
extern "C" void ObjectPool_1__ctor_m11203_gshared (ObjectPool_1_t2263 * __this, UnityAction_1_t2262 * ___actionOnGet, UnityAction_1_t2262 * ___actionOnRelease, MethodInfo* method);
^
/Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/Il2CppMethodTable.cpp:29:17: error: conflicting types for 'List_1__ctor_m10621_gshared'
extern "C" void List_1__ctor_m10621_gshared ();
^
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/Il2CppMethodTable.cpp:1:
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Prefix.pch:16:
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/il2cpp_precompiled_header.h:3380:
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/mscorlib_System_Collections_Generic_List_1_genMethodDeclarations.h:32:
/Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/mscorlib_System_Collections_Generic_List_1_gen_26MethodDeclarations.h:32:17: note: previous declaration is here
extern "C" void List_1__ctor_m10621_gshared (List_1_t254 * __this, int32_t ___capacity, MethodInfo* method);
^
/Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/Il2CppMethodTable.cpp:32:17: error: conflicting types for 'List_1_Clear_m10667_gshared'
extern "C" void List_1_Clear_m10667_gshared ();
^
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/Il2CppMethodTable.cpp:1:
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Prefix.pch:16:
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/il2cpp_precompiled_header.h:3380:
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/mscorlib_System_Collections_Generic_List_1_genMethodDeclarations.h:32:
/Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/mscorlib_System_Collections_Generic_List_1_gen_26MethodDeclarations.h:101:17: note: previous declaration is here
extern "C" void List_1_Clear_m10667_gshared (List_1_t254 * __this, MethodInfo* method);
^
/Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/Il2CppMethodTable.cpp:33:17: error: functions that differ only in their return type cannot be overloaded
extern "C" void List_1_Contains_m10669_gshared ();
~~~~ ^
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/Il2CppMethodTable.cpp:1:
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Prefix.pch:16:
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/il2cpp_precompiled_header.h:3380:
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/mscorlib_System_Collections_Generic_List_1_genMethodDeclarations.h:32:
/Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/mscorlib_System_Collections_Generic_List_1_gen_26MethodDeclarations.h:104:17: note: previous declaration is here
extern "C" bool List_1_Contains_m10669_gshared (List_1_t254 * __this, Object_t * ___item, MethodInfo* method);
~~~~ ^
/Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/Il2CppMethodTable.cpp:35:17: error: conflicting types for 'List_1_Add_m10655_gshared'
extern "C" void List_1_Add_m10655_gshared ();
^
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/Il2CppMethodTable.cpp:1:
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Prefix.pch:16:
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/il2cpp_precompiled_header.h:3380:
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/mscorlib_System_Collections_Generic_List_1_genMethodDeclarations.h:32:
/Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/mscorlib_System_Collections_Generic_List_1_gen_26MethodDeclarations.h:83:17: note: previous declaration is here
extern "C" void List_1_Add_m10655_gshared (List_1_t254 * __this, Object_t * ___item, MethodInfo* method);
^
/Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/Il2CppMethodTable.cpp:36:17: error: functions that differ only in their return type cannot be overloaded
extern "C" void List_1_Remove_m10691_gshared ();
~~~~ ^
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/Il2CppMethodTable.cpp:1:
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Prefix.pch:16:
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/il2cpp_precompiled_header.h:3380:
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/mscorlib_System_Collections_Generic_List_1_genMethodDeclarations.h:32:
/Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/mscorlib_System_Collections_Generic_List_1_gen_26MethodDeclarations.h:137:17: note: previous declaration is here
extern "C" bool List_1_Remove_m10691_gshared (List_1_t254 * __this, Object_t * ___item, MethodInfo* method);
~~~~ ^
/Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/Il2CppMethodTable.cpp:39:17: error: conflicting types for 'List_1__ctor_m1275_gshared'
extern "C" void List_1__ctor_m1275_gshared ();
^
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/Il2CppMethodTable.cpp:1:
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Prefix.pch:16:
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/il2cpp_precompiled_header.h:3466:
/Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/mscorlib_System_Collections_Generic_List_1_gen_0MethodDeclarations.h:31:17: note: previous declaration is here
extern "C" void List_1__ctor_m1275_gshared (List_1_t10 * __this, MethodInfo* method);
^
/Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/Il2CppMethodTable.cpp:40:17: error: functions that differ only in their return type cannot be overloaded
extern "C" void List_1_get_Item_m1276_gshared ();
~~~~ ^
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/Il2CppMethodTable.cpp:1:
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Prefix.pch:16:
In file included from /Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/il2cpp_precompiled_header.h:3466:
/Users/Mole/Documents/Unity3D/LogicalAdvantage/EmptyProjectCompile/MyBuild/Classes/Native/mscorlib_System_Collections_Generic_List_1_gen_0MethodDeclarations.h:172:31: note: previous declaration is here
extern "C" RaycastResult_t11 List_1_get_Item_m1276_gshared (List_1_t10 * __this, int32_t ___index, MethodInfo* method);
~~~~~~~~~~~~~~~~~ ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.

@KarlShifflett

Please try disabling the Use IL2CPP precompiled header option. That should correct this issue. Note that we will be removing that option in the near future.

Josh,

Thank you. This worked. 394 warnings, but it built. PLEASE add your instructions to the readme notes for your patches and builds.

Thank you,

Karl

Just hit same issue and Josh’s fix worked for me too.

ty!

@KarlShifflett

Even better, I’ll remove this option. The changes might not make the next 5.0.1 patch release, but they will be available soon.