Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Bug [NEED HELP] IL2CPP Build Critical Error

Discussion in 'Windows' started by UsefulWeapon, Feb 22, 2024.

  1. UsefulWeapon

    UsefulWeapon

    Joined:
    Oct 26, 2013
    Posts:
    66
    When i build the game with IL2CPP i get this error, please help.

    Building Library\Bee\artifacts\WinPlayerBuildProgram\ei6vj\4nke_3_vm6.lump.obj failed with output: zjz3_vm6.lump.cpp F:\Unity Editors\2021.3.10f1\Editor\Data\il2cpp\libil2cpp\utils\Il2CppHashMap.h(71): error C2039: "hash_compare": �� ���� 童��� "stdext". C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include\iterator(1468): note: �. ������� "stdext" F:\Unity Editors\2021.3.10f1\Editor\Data\il2cpp\libil2cpp\utils\Il2CppHashMap.h(71): error C2065: hash_compare: ��������� �����䨪��� F:\Unity Editors\2021.3.10f1\Editor\Data\il2cpp\libil2cpp\utils\Il2CppHashMap.h(71): error C2275: "Key": ��������� ��ࠦ���� ����� ⨯� F:\Unity Editors\2021.3.10f1\Editor\Data\il2cpp\libil2cpp\vm\MetadataCache.cpp(38): error C2976: Il2CppReaderWriterLockedHashMap: ᫨誮� ���� ��㬥�⮢ 蠡��� F:\Unity Editors\2021.3.10f1\Editor\Data\il2cpp\libil2cpp\utils\Il2CppHashMap.h(75): note: �. ������� "Il2CppReaderWriterLockedHashMap" F:\Unity Editors\2021.3.10f1\Editor\Data\il2cpp\libil2cpp\vm\MetadataCache.cpp(38): error C2955: "Il2CppReaderWriterLockedHashMap": ��� �ᯮ�짮����� ����� 蠡��� �ॡ���� ᯨ᮪ ��㬥�⮢ 蠡��� F:\Unity Editors\2021.3.10f1\Editor\Data\il2cpp\libil2cpp\utils\Il2CppHashMap.h(75): note: �. ������� "Il2CppReaderWriterLockedHashMap" F:\Unity Editors\2021.3.10f1\Editor\Data\il2cpp\libil2cpp\vm\MetadataCache.cpp(47): error C2955: "Il2CppReaderWriterLockedHashMap": ��� �ᯮ�짮����� ����� 蠡��� �ॡ���� ᯨ᮪ ��㬥�⮢ 蠡��� F:\Unity Editors\2021.3.10f1\Editor\Data\il2cpp\libil2cpp\utils\Il2CppHashMap.h(75): note: �. ������� "Il2CppReaderWriterLockedHashMap" F:\Unity Editors\2021.3.10f1\Editor\Data\il2cpp\libil2cpp\vm\MetadataCache.cpp(385): error C2662: bool Il2CppReaderWriterLockedHashMap<Key,T,HashFcn,EqualKey,Alloc>::TryGet(const Il2CppHashMap<Key,T,HashFcn,EqualKey,Alloc>::key_type &,T *): ���������� �८�ࠧ����� 㪠��⥫� "this" �� "PointerTypeMap" � "Il2CppReaderWriterLockedHashMap<Key,T,HashFcn,EqualKey,Alloc> &" F:\Unity Editors\2021.3.10f1\Editor\Data\il2cpp\libil2cpp\vm\MetadataCache.cpp(385): note: ��稭�: ���������� �८�ࠧ����� "PointerTypeMap" � "Il2CppReaderWriterLockedHashMap<Key,T,HashFcn,EqualKey,Alloc>" F:\Unity Editors\2021.3.10f1\Editor\Data\il2cpp\libil2cpp\vm\MetadataCache.cpp(385): note: ��� �८�ࠧ������ �ॡ���� ��ன ������ ���짮��⥫�᪮�� �८�ࠧ������ ��� ��������� F:\Unity Editors\2021.3.10f1\Editor\Data\il2cpp\libil2cpp\utils\Il2CppHashMap.h(90): note: �. ������� "Il2CppReaderWriterLockedHashMap<Key,T,HashFcn,EqualKey,Alloc>::TryGet" F:\Unity Editors\2021.3.10f1\Editor\Data\il2cpp\libil2cpp\vm\MetadataCache.cpp(385): note: �� ����⪥ ᮯ��⠢��� ᯨ᮪ ��㬥�⮢ "(Il2CppClass *, Il2CppClass **)" F:\Unity Editors\2021.3.10f1\Editor\Data\il2cpp\libil2cpp\vm\MetadataCache.cpp(438): error C2662: bool Il2CppReaderWriterLockedHashMap<Key,T,HashFcn,EqualKey,Alloc>::Add(const Il2CppHashMap<Key,T,HashFcn,EqualKey,Alloc>::key_type &,const T &): ���������� �८�ࠧ����� 㪠��⥫� "this" �� "PointerTypeMap" � "Il2CppReaderWriterLockedHashMap<Key,T,HashFcn,EqualKey,Alloc> &" F:\Unity Editors\2021.3.10f1\Editor\Data\il2cpp\libil2cpp\vm\MetadataCache.cpp(438): note: ��稭�: ���������� �८�ࠧ����� "PointerTypeMap" � "Il2CppReaderWriterLockedHashMap<Key,T,HashFcn,EqualKey,Alloc>" F:\Unity Editors\2021.3.10f1\Editor\Data\il2cpp\libil2cpp\vm\MetadataCache.cpp(438): note: ��� �८�ࠧ������ �ॡ���� ��ன ������ ���짮��⥫�᪮�� �८�ࠧ������ ��� ��������� F:\Unity Editors\2021.3.10f1\Editor\Data\il2cpp\libil2cpp\utils\Il2CppHashMap.h(102): note: �. ������� "Il2CppReaderWriterLockedHashMap<Key,T,HashFcn,EqualKey,Alloc>::Add" F:\Unity Editors\2021.3.10f1\Editor\Data\il2cpp\libil2cpp\vm\MetadataCache.cpp(438): note: �� ����⪥ ᮯ��⠢��� ᯨ᮪ ��㬥�⮢ "(Il2CppClass *, Il2CppClass *)" F:\Unity Editors\2021.3.10f1\Editor\Data\il2cpp\libil2cpp\vm\MetadataCache.cpp(1135): error C2955: "Il2CppReaderWriterLockedHashMap": ��� �ᯮ�짮����� ����� 蠡��� �ॡ���� ᯨ᮪ ��㬥�⮢ 蠡��� F:\Unity Editors\2021.3.10f1\Editor\Data\il2cpp\libil2cpp\utils\Il2CppHashMap.h(75): note: �. ������� "Il2CppReaderWriterLockedHashMap" F:\Unity Editors\2021.3.10f1\Editor\Data\il2cpp\libil2cpp\vm\MetadataCache.cpp(1135): error C2662: Il2CppHashMap<Key,T,HashFcn,EqualKey,Alloc>::iterator Il2CppReaderWriterLockedHashMap<Key,T,HashFcn,EqualKey,Alloc>::UnlockedBegin(void): ���������� �८�ࠧ����� 㪠��⥫� "this" �� "PointerTypeMap" � "Il2CppReaderWriterLockedHashMap<Key,T,HashFcn,EqualKey,Alloc> &" F:\Unity Editors\2021.3.10f1\Editor\Data\il2cpp\libil2cpp\vm\MetadataCache.cpp(1135): note: ��稭�: ���������� �८�ࠧ����� "PointerTypeMap" � "Il2CppReaderWriterLockedHashMap<Key,T,HashFcn,EqualKey,Alloc>" F:\Unity Editors\2021.3.10f1\Editor\Data\il2cpp\libil2cpp\vm\MetadataCache.cpp(1135): note: ��� �८�ࠧ������ �ॡ���� ��ன ������ ���짮��⥫�᪮�� �८�ࠧ������ ��� ��������� F:\Unity Editors\2021.3.10f1\Editor\Data\il2cpp\libil2cpp\utils\Il2CppHashMap.h(121): note: �. ������� "Il2CppReaderWriterLockedHashMap<Key,T,HashFcn,EqualKey,Alloc>::UnlockedBegin" F:\Unity Editors\2021.3.10f1\Editor\Data\il2cpp\libil2cpp\vm\MetadataCache.cpp(1135): note: �� ����⪥ ᮯ��⠢��� ᯨ᮪ ��㬥�⮢ "()" F:\Unity Editors\2021.3.10f1\Editor\Data\il2cpp\libil2cpp\vm\MetadataCache.cpp(1135): error C2662: Il2CppHashMap<Key,T,HashFcn,EqualKey,Alloc>::iterator Il2CppReaderWriterLockedHashMap<Key,T,HashFcn,EqualKey,Alloc>::UnlockedEnd(void): ���������� �८�ࠧ����� 㪠��⥫� "this" �� "PointerTypeMap" � "Il2CppReaderWriterLockedHashMap<Key,T,HashFcn,EqualKey,Alloc> &" F:\Unity Editors\2021.3.10f1\Editor\Data\il2cpp\libil2cpp\vm\MetadataCache.cpp(1135): note: ��稭�: ���������� �८�ࠧ����� "PointerTypeMap" � "Il2CppReaderWriterLockedHashMap<Key,T,HashFcn,EqualKey,Alloc>" F:\Unity Editors\2021.3.10f1\Editor\Data\il2cpp\libil2cpp\vm\MetadataCache.cpp(1135): note: ��� �८�ࠧ������ �ॡ���� ��ன ������ ���짮��⥫�᪮�� �८�ࠧ������ ��� ��������� F:\Unity Editors\2021.3.10f1\Editor\Data\il2cpp\libil2cpp\utils\Il2CppHashMap.h(127): note: �. ������� "Il2CppReaderWriterLockedHashMap<Key,T,HashFcn,EqualKey,Alloc>::UnlockedEnd" F:\Unity Editors\2021.3.10f1\Editor\Data\il2cpp\libil2cpp\vm\MetadataCache.cpp(1135): note: �� ����⪥ ᮯ��⠢��� ᯨ᮪ ��㬥�⮢ "()" UnityEngine.GUIUtility

    (int,intptr,bool&)
     
    xubin753 likes this.