Search Unity

Official Workaround for building with IL2CPP with Visual Studio 2022 17.4

Discussion in 'Windows' started by Tautvydas-Zilys, Oct 31, 2022.

  1. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,680
    UPDATE: The fix is included in Unity 2020.3.42f1, 2021.3.14f1, 2022.1.23f1, 2022.2.0b16 and 2023.1.0a19.


    Visual Studio 2022 17.4 update has introduced a breaking change in their standard C++ headers which causes parts of IL2CPP runtime fail to compile if you upgrade to this version of Visual Studio:

    Code (csharp):
    1. [111/231    3s] C_Win64_VS2022 Library/Bee/artifacts/WinPlayerBuildProgram/ei6vj/5dkl_c_vm6.lump.obj
    2. ##### CommandLine
    3. "C:/Program Files/Microsoft Visual Studio/2022/Preview/VC/Tools/MSVC/14.34.31932/bin/Hostx64/x64/cl.exe" /Oi /D_WIN64 /D_AMD64_ /FC "Library\Bee\artifacts\WinPlayerBuildProgram\ei6vj\ij4c_vm6.lump.cpp" /MT /c /bigobj /utf-8 /cgthreads2 /Ox /Gw /Zo /Oy- /d2ssa-cse- /TP /EHs /GR- /Gy /nologo /GF /Z7 /GS- /W3 /wd4102 /wd4800 /wd4056 /wd4190 /wd4723 /wd4467 /wd4503 /wd4996 /wd4200 /wd4834 /wd4722 /DUNICODE /D_UNICODE /D_SECURE_SCL=0 /D_ITERATOR_DEBUG_LEVEL=0 /D_HAS_ITERATOR_DEBUGGING=0 /DWINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP /DWIN32 /DWINDOWS /D_WINDOWS /DBASELIB_INLINE_NAMESPACE=il2cpp_baselib /DBASELIB_USE_DYNAMICLIBRARY=1 /DIL2CPP_MONO_DEBUGGER_DISABLED /DRUNTIME_IL2CPP /DIL2CPP_ENABLE_WRITE_BARRIERS=1 /DIL2CPP_INCREMENTAL_TIME_SLICE=3 /DGC_NOT_DLL /DWIN32_THREADS /DIL2CPP_DEFAULT_DATA_DIR_PATH=Data /DWINDOWS_SDK_BUILD_VERSION=22621 /DNOMINMAX /DNDEBUG /D_CRT_SECURE_NO_DEPRECATE /D_SCL_SECURE_NO_DEPRECATE /D_WINSOCK_DEPRECATED_NO_WARNINGS /D_CRT_NONSTDC_NO_DEPRECATE /DNOMINMAX /D_CRT_SECURE_NO_WARNINGS /D_SCL_SECURE_NO_WARNINGS /I"." /I"E:\Builds\2021.3.10f1\Editor\Data\il2cpp\libil2cpp\pch" /I"E:\Builds\2021.3.10f1\Editor\Data\il2cpp\libil2cpp" /I"E:\Builds\2021.3.10f1\Editor\Data\il2cpp\external\baselib\Include" /I"E:\Builds\2021.3.10f1\Editor\Data\il2cpp\external\baselib\Platforms\Windows\Include" /I"E:\Builds\2021.3.10f1\Editor\Data\il2cpp\external\bdwgc\include" /I"C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.34.31932\include" /I"C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\shared" /I"C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\um" /I"C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\winrt" /I"C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt" /I"C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\cppwinrt" /Fo"Library\Bee\artifacts\WinPlayerBuildProgram\ei6vj\5dkl_c_vm6.lump.obj" /D_HAS_AUTO_PTR_ETC=1 /D_SILENCE_ALL_CXX17_DEPRECATION_WARNINGS /D_SILENCE_ALL_CXX20_DEPRECATION_WARNINGS /Zc:__cplusplus /std:c++17
    4. ##### Custom Environment Variables
    5. PATH=C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.34.31932\bin\Hostx64\x64;C:\Program Files (x86)\Windows Kits\10\bin\10.0.22621.0\x64
    6. _MSPDBSRV_ENDPOINT_=7360085491879648213
    7. ##### ExitCode
    8. 2
    9. ##### Output
    10. ij4c_vm6.lump.cpp
    11.  
    12. E:\Builds\2021.3.10f1\Editor\Data\il2cpp\libil2cpp\utils\Il2CppHashMap.h(71): error C2039: 'hash_compare': is not a member of 'stdext'
    13.  
    14. C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.34.31932\include\iterator(1426): note: see declaration of 'stdext'
    15.  
    16. E:\Builds\2021.3.10f1\Editor\Data\il2cpp\libil2cpp\utils\Il2CppHashMap.h(71): error C2065: 'hash_compare': undeclared identifier
    17.  
    18. E:\Builds\2021.3.10f1\Editor\Data\il2cpp\libil2cpp\utils\Il2CppHashMap.h(71): error C2275: 'Key': expected an expression instead of a type
    19.  
    20. E:\Builds\2021.3.10f1\Editor\Data\il2cpp\libil2cpp\vm\MetadataCache.cpp(38): error C2976: 'Il2CppReaderWriterLockedHashMap': too few template arguments
    21.  
    22. E:\Builds\2021.3.10f1\Editor\Data\il2cpp\libil2cpp\utils\Il2CppHashMap.h(75): note: see declaration of 'Il2CppReaderWriterLockedHashMap'
    23.  
    24. E:\Builds\2021.3.10f1\Editor\Data\il2cpp\libil2cpp\vm\MetadataCache.cpp(38): error C2974: 'Il2CppReaderWriterLockedHashMap': invalid template argument for 'HashFcn', type expected
    25.  
    26. E:\Builds\2021.3.10f1\Editor\Data\il2cpp\libil2cpp\utils\Il2CppHashMap.h(75): note: see declaration of 'Il2CppReaderWriterLockedHashMap'
    27.  
    28. E:\Builds\2021.3.10f1\Editor\Data\il2cpp\libil2cpp\vm\MetadataCache.cpp(38): error C2955: 'Il2CppReaderWriterLockedHashMap': use of class template requires template argument list
    29.  
    30. E:\Builds\2021.3.10f1\Editor\Data\il2cpp\libil2cpp\utils\Il2CppHashMap.h(75): note: see declaration of 'Il2CppReaderWriterLockedHashMap'
    31.  
    32. E:\Builds\2021.3.10f1\Editor\Data\il2cpp\libil2cpp\vm\MetadataCache.cpp(47): error C2955: 'Il2CppReaderWriterLockedHashMap': use of class template requires template argument list
    33.  
    34. E:\Builds\2021.3.10f1\Editor\Data\il2cpp\libil2cpp\utils\Il2CppHashMap.h(75): note: see declaration of 'Il2CppReaderWriterLockedHashMap'
    35.  
    36. E:\Builds\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 *)': cannot convert 'this' pointer from 'PointerTypeMap' to 'Il2CppReaderWriterLockedHashMap<Key,T,HashFcn,EqualKey,Alloc> &'
    37.  
    38. E:\Builds\2021.3.10f1\Editor\Data\il2cpp\libil2cpp\vm\MetadataCache.cpp(385): note: Reason: cannot convert from 'PointerTypeMap' to 'Il2CppReaderWriterLockedHashMap<Key,T,HashFcn,EqualKey,Alloc>'
    39.  
    40. E:\Builds\2021.3.10f1\Editor\Data\il2cpp\libil2cpp\vm\MetadataCache.cpp(385): note: Conversion requires a second user-defined-conversion operator or constructor
    41.  
    42. E:\Builds\2021.3.10f1\Editor\Data\il2cpp\libil2cpp\utils\Il2CppHashMap.h(90): note: see declaration of 'Il2CppReaderWriterLockedHashMap<Key,T,HashFcn,EqualKey,Alloc>::TryGet'
    43.  
    44. E:\Builds\2021.3.10f1\Editor\Data\il2cpp\libil2cpp\vm\MetadataCache.cpp(385): note: while trying to match the argument list '(Il2CppClass *, Il2CppClass **)'
    45.  
    46. E:\Builds\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 &)': cannot convert 'this' pointer from 'PointerTypeMap' to 'Il2CppReaderWriterLockedHashMap<Key,T,HashFcn,EqualKey,Alloc> &'
    47.  
    48. E:\Builds\2021.3.10f1\Editor\Data\il2cpp\libil2cpp\vm\MetadataCache.cpp(438): note: Reason: cannot convert from 'PointerTypeMap' to 'Il2CppReaderWriterLockedHashMap<Key,T,HashFcn,EqualKey,Alloc>'
    49.  
    50. E:\Builds\2021.3.10f1\Editor\Data\il2cpp\libil2cpp\vm\MetadataCache.cpp(438): note: Conversion requires a second user-defined-conversion operator or constructor
    51.  
    52. E:\Builds\2021.3.10f1\Editor\Data\il2cpp\libil2cpp\utils\Il2CppHashMap.h(102): note: see declaration of 'Il2CppReaderWriterLockedHashMap<Key,T,HashFcn,EqualKey,Alloc>::Add'
    53.  
    54. E:\Builds\2021.3.10f1\Editor\Data\il2cpp\libil2cpp\vm\MetadataCache.cpp(438): note: while trying to match the argument list '(Il2CppClass *, Il2CppClass *)'
    55.  
    56. E:\Builds\2021.3.10f1\Editor\Data\il2cpp\libil2cpp\vm\MetadataCache.cpp(1135): error C2955: 'Il2CppReaderWriterLockedHashMap': use of class template requires template argument list
    57.  
    58. E:\Builds\2021.3.10f1\Editor\Data\il2cpp\libil2cpp\utils\Il2CppHashMap.h(75): note: see declaration of 'Il2CppReaderWriterLockedHashMap'
    59.  
    60. E:\Builds\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)': cannot convert 'this' pointer from 'PointerTypeMap' to 'Il2CppReaderWriterLockedHashMap<Key,T,HashFcn,EqualKey,Alloc> &'
    61.  
    62. E:\Builds\2021.3.10f1\Editor\Data\il2cpp\libil2cpp\vm\MetadataCache.cpp(1135): note: Reason: cannot convert from 'PointerTypeMap' to 'Il2CppReaderWriterLockedHashMap<Key,T,HashFcn,EqualKey,Alloc>'
    63.  
    64. E:\Builds\2021.3.10f1\Editor\Data\il2cpp\libil2cpp\vm\MetadataCache.cpp(1135): note: Conversion requires a second user-defined-conversion operator or constructor
    65.  
    66. E:\Builds\2021.3.10f1\Editor\Data\il2cpp\libil2cpp\utils\Il2CppHashMap.h(121): note: see declaration of 'Il2CppReaderWriterLockedHashMap<Key,T,HashFcn,EqualKey,Alloc>::UnlockedBegin'
    67.  
    68. E:\Builds\2021.3.10f1\Editor\Data\il2cpp\libil2cpp\vm\MetadataCache.cpp(1135): note: while trying to match the argument list '()'
    69.  
    70. E:\Builds\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)': cannot convert 'this' pointer from 'PointerTypeMap' to 'Il2CppReaderWriterLockedHashMap<Key,T,HashFcn,EqualKey,Alloc> &'
    71.  
    72. E:\Builds\2021.3.10f1\Editor\Data\il2cpp\libil2cpp\vm\MetadataCache.cpp(1135): note: Reason: cannot convert from 'PointerTypeMap' to 'Il2CppReaderWriterLockedHashMap<Key,T,HashFcn,EqualKey,Alloc>'
    73.  
    74. E:\Builds\2021.3.10f1\Editor\Data\il2cpp\libil2cpp\vm\MetadataCache.cpp(1135): note: Conversion requires a second user-defined-conversion operator or constructor
    75.  
    76. E:\Builds\2021.3.10f1\Editor\Data\il2cpp\libil2cpp\utils\Il2CppHashMap.h(127): note: see declaration of 'Il2CppReaderWriterLockedHashMap<Key,T,HashFcn,EqualKey,Alloc>::UnlockedEnd'
    77.  
    78. E:\Builds\2021.3.10f1\Editor\Data\il2cpp\libil2cpp\vm\MetadataCache.cpp(1135): note: while trying to match the argument list '()'
    We reported this to Microsoft but unfortunately this change was by design: https://developercommunity.visualstudio.com/t/stdext::hash_compare-has-been-removed-in/10182319

    We are currently preparing a fix in Unity for this for all supported Unity releases. I will update this thread once the fix has gone out (you can track it here: https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-17921). In the mean time, you can workaround this issue by adding this script to anywhere within your project:

    Code (csharp):
    1. #if UNITY_EDITOR
    2. using System;
    3. using UnityEditor.Build;
    4. using UnityEditor.Build.Reporting;
    5.  
    6. public class MsvcStdextWorkaround : IPreprocessBuildWithReport
    7. {
    8.     const string kWorkaroundFlag = "/D_SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS";
    9.  
    10.     public int callbackOrder => 0;
    11.  
    12.     public void OnPreprocessBuild(BuildReport report)
    13.     {
    14.         var clEnv = Environment.GetEnvironmentVariable("_CL_");
    15.  
    16.         if (string.IsNullOrEmpty(clEnv))
    17.         {
    18.             Environment.SetEnvironmentVariable("_CL_", kWorkaroundFlag);
    19.         }
    20.         else if (!clEnv.Contains(kWorkaroundFlag))
    21.         {
    22.             clEnv += " " + kWorkaroundFlag;
    23.             Environment.SetEnvironmentVariable("_CL_", clEnv);
    24.         }
    25.     }
    26. }
    27.  
    28. #endif // UNITY_EDITOR
    UPDATE: The fix is included in Unity 2020.3.42f1, 2021.3.14f1, 2022.1.23f1, 2022.2.0b16 and 2023.1.0a19.
     

    Attached Files:

    Last edited: Nov 17, 2022
  2. zhang296

    zhang296

    Joined:
    Aug 10, 2022
    Posts:
    1
    Adding one line

    #define _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS

    to

    il2cpp\external\google\sparsehash\internal\sparseconfig.h

    before

    /* The system-provided hash function including the namespace. */
    #define SPARSEHASH_HASH HASH_NAMESPACE::hash_compare

    is also a solution.
     
  3. KuraiAndras

    KuraiAndras

    Joined:
    Aug 23, 2021
    Posts:
    10
    We just hit this problem with the stable 17.4 version. The official fix only works when you are building the generated IL2CPP project inside Unity.
    On our HoloLens build we are generating the IL2CPP project from unity but build it as a separate build step with MSBuild outside of Unity. the solutionby @zhang296 fixed it for us

    Edit: We initially moified the generated header file, but later moved to setting the environment variable when invoking MSBuild, as this seemed as a nicer solution
     
    Last edited: Nov 10, 2022
    clcheles likes this.
  4. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,680
    Thanks for bringing this up. When writing the original workaround, I forgot about cases like that.
     
    flaxj likes this.
  5. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,680
    UPDATE: The fix is included in Unity 2020.3.42f1, 2021.3.14f1, 2022.1.23f1, 2022.2.0b16 and 2023.1.0a19.
     
    Jonas_DM_, alin538, flaxj and 3 others like this.
  6. ZoeDreams

    ZoeDreams

    Joined:
    Dec 6, 2013
    Posts:
    21
    I hope this is going on someone's quarterly performance report.
     
    evenstarX and VizworxInc like this.
  7. KuraiAndras

    KuraiAndras

    Joined:
    Aug 23, 2021
    Posts:
    10
    Well, yes, the fix should have been out by the time the Visual Studio 17.4 was released (for example in Unity 2022.1.22 and the other versions released at the same time), but Unity acted relatively quickly to provide a fix which is easy to implement, and we will only have to wait one or two weeks for a fix in the editor - this could have been handled much worse.
     
    flaxj and jnho228 like this.
  8. Snigros

    Snigros

    Joined:
    Jun 12, 2018
    Posts:
    38
    Thanks very much for posting this - trying to figure out what was going wrong was driving me crazy!
     
    Last edited: Nov 14, 2022
  9. SirWackelDackel

    SirWackelDackel

    Joined:
    Dec 3, 2015
    Posts:
    5
    I struggled for so many hours, thank you so much for this fix !
     
  10. RendergonPolygons

    RendergonPolygons

    Joined:
    Oct 9, 2019
    Posts:
    98
    Hi @Tautvydas-Zilys , I was having this same issue with Unity version below 2022.1.23 for release builds for Hololens 2 with VS 2022 17.4.3 and after this post I upgraded to Unity 2022.1.24 and works for for release builds.

    Now when building for debug I get error when trying to deploy the sln file to H2. Is this the same issue with VS2022 as per this post?

    upload_2022-12-15_10-15-24.png

    Code (CSharp):
    1. Severity    Code    Description    Project    File    Line    Suppression State
    2. Error    MSB3073    The command ""C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\\IL2CPP\build\deploy\il2cpp.exe" --libil2cpp-static --compile-cpp -architecture=ARM64 -configuration=Debug -platform=WinRT -outputpath="C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\\build\bin\ARM64\Debug\GameAssembly.dll" --data-folder="C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\\build\bin\ARM64\Debug\\" -cachedirectory="C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\\build\obj\il2cppOutputProject\ARM64\Debug\\" -generatedcppdir="C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\\Source" --enable-debugger --incremental-g-c-time-slice=3 --baselib-directory="C:\Program Files\Unity\Hub\Editor\2022.1.24f1\Editor\Data\PlaybackEngines\MetroSupport\Players\UAP\il2cpp\ARM64\Debug" --avoid-dynamic-library-copy --dont-deploy-baselib --profiler-report --additional-defines=WINDOWS_UWP --additional-defines=UNITY_UWP --additional-defines=UNITY_WSA_10_0 --additional-defines=UNITY_WSA --additional-defines=UNITY_WINRT --additional-defines=PLATFORM_WINRT -dotnetprofile=unityaot-win32 -verbose --relative-data-path=Data/il2cpp_data" exited with code 4.    Il2CppOutputProject    C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.MakeFile.Targets    45  
    3.  
    4. Severity    Code    Description    Project    File    Line    Suppression State
    5. Error    LNK1104    cannot open file 'C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\build\bin\ARM64\Debug\GameAssembly.lib'    PickAndPlace    C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\PickAndPlace\LINK    1  
    6.  
     
  11. KuraiAndras

    KuraiAndras

    Joined:
    Aug 23, 2021
    Posts:
    10
    no, this is seems like an unreleated issue. Try deleting the following folders: your build ouput folder, Temp, Library, then try to build again. Also make sure that no process locks the file in the error
     
  12. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,680
    I doubt it's related, however, when copying errors from Visual Studio, always copy the contents of the "Output" folder. "Errors" are not helpful - the stuff you pasted does not allow determining what is going wrong.
     
  13. RendergonPolygons

    RendergonPolygons

    Joined:
    Oct 9, 2019
    Posts:
    98
    Thank you, I tried @KuraiAndras suggestions but the error remains. Yes sorry @Tautvydas-Zilys , here's the output, maybe you see something here to follow a lead, I don't:

    Build started...
    1>------ Build started: Project: Il2CppOutputProject, Configuration: Debug ARM64 ------
    1>Building GameAssembly.dll with MsvcWinRtToolChain
    1> Msvc Install Version: 17.0
    1> Msvc Install SDK Directory: C:\Program Files (x86)\Windows Kits\10
    1> Msvc Linker Path: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\bin\HostX64\ARM64\link.exe
    1> Msvc Compiler Path: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\bin\HostX64\ARM64\cl.exe
    1>
    1> Output directory: C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\build\bin\ARM64\Debug
    1> Cache directory: C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\build\obj\il2cppOutputProject\ARM64\Debug
    1>EXEC : error : Unity.IL2CPP.Building.BuilderFailedException: debugger-agent.c
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/metadata/metadata-internals.h(1017): warning C4018: '>': signed/unsigned mismatch
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-context.h(51): error C2061: syntax error: identifier 'MonoContextSimdReg'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-context.h(51): error C2059: syntax error: ';'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/arch/arm64/arm64-codegen.h(173): warning C4244: 'initializing': conversion from '__int64' to 'unsigned int', possible loss of data
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/arch/arm64/arm64-codegen.h(199): warning C4244: 'initializing': conversion from '__int64' to 'unsigned int', possible loss of data
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/arch/arm64/arm64-codegen.h(227): warning C4244: 'initializing': conversion from '__int64' to 'unsigned int', possible loss of data
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-context.h(483): error C2061: syntax error: identifier 'MonoContextSimdReg'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-context.h(490): error C2059: syntax error: '}'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-context.h(1073): error C2143: syntax error: missing ')' before '*'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-context.h(1073): error C2081: 'MonoContext': name in formal parameter list illegal
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-context.h(1073): error C2143: syntax error: missing '{' before '*'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-context.h(1073): error C2059: syntax error: ')'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-context.h(1081): error C2143: syntax error: missing ')' before '*'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-context.h(1081): error C2143: syntax error: missing '{' before '*'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-context.h(1081): error C2059: syntax error: 'type'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-context.h(1081): error C2059: syntax error: ')'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-stack-unwinding.h(118): error C2061: syntax error: identifier 'MonoContext'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-stack-unwinding.h(123): error C2059: syntax error: '}'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(242): error C2061: syntax error: identifier 'MonoThreadUnwindState'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(312): error C2059: syntax error: '}'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(315): error C2143: syntax error: missing ')' before '*'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(315): error C2143: syntax error: missing ';' before '*'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(315): error C2059: syntax error: '*'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(315): error C2059: syntax error: ')'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(323): error C2143: syntax error: missing ')' before '*'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(323): error C2143: syntax error: missing '{' before '*'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(323): error C2059: syntax error: ')'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(329): error C2143: syntax error: missing ')' before '*'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(329): error C2143: syntax error: missing '{' before '*'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(329): error C2059: syntax error: ')'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(331): error C2143: syntax error: missing ')' before '*'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(331): error C2143: syntax error: missing '{' before '*'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(331): error C2059: syntax error: ')'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(336): error C2059: syntax error: '}'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(345): error C2143: syntax error: missing ')' before '*'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(345): error C2143: syntax error: missing ';' before '*'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(345): error C2059: syntax error: '*'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(345): error C2143: syntax error: missing '{' before '*'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(345): error C2059: syntax error: 'type'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(345): error C2059: syntax error: ')'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(346): error C2059: syntax error: '}'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(354): error C2143: syntax error: missing ')' before '*'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(354): error C2143: syntax error: missing '{' before '*'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(354): error C2040: 'gpointer': 'int' differs in levels of indirection from 'void *'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(354): error C2146: syntax error: missing ';' before identifier 'user_data'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(354): error C2059: syntax error: ')'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(354): error C2040: 'user_data': 'int' differs in levels of indirection from 'void *'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(357): error C2143: syntax error: missing ')' before '*'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(357): error C2143: syntax error: missing '{' before '*'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(357): error C2059: syntax error: ')'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(368): error C2143: syntax error: missing ')' before '*'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(368): error C2143: syntax error: missing '{' before '*'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(368): error C2370: 'MonoThreadInfoFlags': redefinition; different storage class
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(199): note: see declaration of 'MonoThreadInfoFlags'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(368): error C2146: syntax error: missing ';' before identifier 'flags'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(368): error C2059: syntax error: ')'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(369): error C2054: expected '(' to follow 'flags'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(396): error C2143: syntax error: missing ')' before '*'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(396): error C2143: syntax error: missing '{' before '*'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(396): error C2059: syntax error: ')'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(397): error C2054: expected '(' to follow 'info'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(402): error C2143: syntax error: missing ')' before '*'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(402): error C2143: syntax error: missing '{' before '*'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(402): warning C4142: 'MonoNativeThreadId': benign redefinition of type
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(33): note: see declaration of 'MonoNativeThreadId'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(402): error C2370: 'MonoNativeThreadId': redefinition; different storage class
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(33): note: see declaration of 'MonoNativeThreadId'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(402): error C2146: syntax error: missing ';' before identifier 'tid'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(402): error C2059: syntax error: ')'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(403): error C2054: expected '(' to follow 'tid'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(424): error C2143: syntax error: missing ')' before '*'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(424): error C2143: syntax error: missing '{' before '*'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(424): error C2059: syntax error: ')'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(430): error C2143: syntax error: missing ')' before '*'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(430): error C2143: syntax error: missing '{' before '*'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(430): error C2059: syntax error: ')'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(432): error C2143: syntax error: missing '{' before '*'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(439): error C2143: syntax error: missing '{' before '*'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(446): error C2143: syntax error: missing ')' before '*'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(446): error C2143: syntax error: missing '{' before '*'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(446): error C2040: 'MonoGCHandle': 'int' differs in levels of indirection from 'void *'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(446): error C2143: syntax error: missing ';' before '*'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(446): error C2059: syntax error: ')'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(449): error C2143: syntax error: missing ')' before '*'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(449): error C2143: syntax error: missing '{' before '*'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(449): error C2040: 'MonoGCHandle': 'int' differs in levels of indirection from 'void *'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(449): error C2146: syntax error: missing ';' before identifier 'gchandle'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(449): error C2059: syntax error: ')'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(449): error C2040: 'gchandle': 'int' differs in levels of indirection from 'int *'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(452): error C2143: syntax error: missing ')' before '*'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(452): error C2143: syntax error: missing '{' before '*'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(452): error C2059: syntax error: ')'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(460): error C2143: syntax error: missing '{' before '*'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(470): error C2143: syntax error: missing '{' before '*'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(479): error C2143: syntax error: missing '{' before '*'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(486): error C2146: syntax error: missing ')' before identifier 'callback'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(486): error C2081: 'MonoSuspendThreadCallback': name in formal parameter list illegal
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(486): error C2061: syntax error: identifier 'callback'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(486): error C2059: syntax error: ';'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(486): error C2059: syntax error: ','
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(486): error C2059: syntax error: ')'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(489): error C2143: syntax error: missing ')' before '*'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(489): error C2143: syntax error: missing '{' before '*'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(489): error C2059: syntax error: 'type'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(519): error C2143: syntax error: missing ')' before '*'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(519): error C2143: syntax error: missing '{' before '*'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(519): error C2370: 'MonoTlsKey': redefinition; different storage class
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-tls.h(39): note: see declaration of 'MonoTlsKey'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(519): error C2146: syntax error: missing ';' before identifier 'key'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(519): error C2059: syntax error: ')'
    1>C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono/utils/mono-threads.h(519): fatal error C1003: error count exceeds 100; stopping compilation
    1>
    1>Invocation was: Executable: "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\bin\HostX64\ARM64\cl.exe"
    1>Arguments: "C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono\mini\debugger-agent.c" /nologo /c /bigobj /W3 /Z7 /EHs /GR- /Gy /utf-8 /wd4102 /wd4800 /wd4056 /wd4190 /wd4723 /wd4467 /wd4503 /wd4996 /wd4200 /wd4834 /wd4722 /Od /Zc:inline /RTC1 /MDd /DWINDOWS_UWP /DUNITY_UWP /DUNITY_WSA_10_0 /DUNITY_WSA /DUNITY_WINRT /DPLATFORM_WINRT /DNET_4_0 /DUNITY_AOT /DIL2CPP_MONO_DEBUGGER=1 /DIL2CPP_DEBUGGER_PORT=56000 /DGC_NOT_DLL /DRUNTIME_IL2CPP /DPLATFORM_UNITY /DUNITY_USE_PLATFORM_STUBS /DENABLE_OVERRIDABLE_ALLOCATORS /DIL2CPP_ON_MONO=1 /DDISABLE_JIT=1 /DDISABLE_REMOTING=1 /DHAVE_CONFIG_H /DMONO_DLL_EXPORT=1 /DIL2CPP_ENABLE_WRITE_BARRIERS=1 /DIL2CPP_INCREMENTAL_TIME_SLICE=3 /DIL2CPP_DEBUG=1 /DBASELIB_INLINE_NAMESPACE=il2cpp_baselib /DIL2CPP_DEFAULT_DATA_DIR_PATH=Data/il2cpp_data /DBASELIB_USE_DYNAMICLIBRARY=1 /D_WIN32 /DWIN32 /DWIN32_THREADS /D_WINDOWS /DWINDOWS /D_UNICODE /DUNICODE /D_CRT_SECURE_NO_WARNINGS /D_SCL_SECURE_NO_WARNINGS /D_WINSOCK_DEPRECATED_NO_WARNINGS /DNOMINMAX /D_SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS /D_DEBUG /DDEBUG /DIL2CPP_DEBUG=1 /DWINDOWS_SDK_BUILD_VERSION=22621 /D__WRL_NO_DEFAULT_LIB__ /DWINAPI_FAMILY=WINAPI_FAMILY_APP /I"C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\libil2cpp" /I"C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\libil2cpp" /I"C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\bdwgc\include" /I"C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\xxHash" /I"C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\baselib\Include" /I"C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\baselib\Platforms\UniversalWindows\Include" /I"C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\libil2cpp\pch" /I"C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\Source" /I"C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono" /I"C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono\eglib" /I"C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono" /I"C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono\sgen" /I"C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono\utils" /I"C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono\metadata" /I"C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\external\mono\mono\metadata\private" /I"C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\libil2cpp\os\c-api" /I"C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\libmono\config" /I"C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\IL2CPP\libil2cpp\debugger" /I"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include" /I"C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\shared" /I"C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\um" /I"C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\winrt" /I"C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt" /Fo"C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\build\obj\il2cppOutputProject\ARM64\Debug\libil2cpp\666C3B9EA71F1BEB08EF256E1061884E.obj" /Fd"C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\build\obj\il2cppOutputProject\ARM64\Debug\libil2cpp\666C3B9EA71F1BEB08EF256E1061884E.pdb"
    1>EnvArg key: PATH value: C:\Program Files (x86)\Windows Kits\10\bin\10.0.22621.0\x64;C:\Program Files (x86)\Windows Kits\10\bin\x64;C:\Program Files (x86)\Windows Kits\10\bin\10.0.22621.0\x86;C:\Program Files (x86)\Windows Kits\10\bin\x86;C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\bin\HostX64\x64
    1>
    1> at Unity.IL2CPP.Building.CppProgramBuilder.BuildAllCppFiles(IEnumerable`1 sourceFilesToCompile, IBuildStatisticsCollector statisticsCollector)
    1> at Unity.IL2CPP.Building.CppProgramBuilder.Build(IBuildStatistics& statistics)
    1> at il2cpp.Compilation.CompilationDriver.Run(RuntimePlatform platform, Il2CppCommandLineArguments il2CppCommandLineArguments, BuildingOptions buildingOptions, ReadOnlyCollection`1 matchedAssemblyMethodSourceFiles)
    1> at il2cpp.Program.DoRun(String[] args, RuntimePlatform platform, Il2CppCommandLineArguments il2CppCommandLineArguments, BuildingOptions buildingOptions, Boolean throwExceptions)
    1>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.MakeFile.Targets(45,5): error MSB3073: The command ""C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\\IL2CPP\build\deploy\il2cpp.exe" --libil2cpp-static --compile-cpp -architecture=ARM64 -configuration=Debug -platform=WinRT -outputpath="C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\\build\bin\ARM64\Debug\GameAssembly.dll" --data-folder="C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\\build\bin\ARM64\Debug\\" -cachedirectory="C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\\build\obj\il2cppOutputProject\ARM64\Debug\\" -generatedcppdir="C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\Il2CppOutputProject\\Source" --enable-debugger --incremental-g-c-time-slice=3 --baselib-directory="C:\Program Files\Unity\Hub\Editor\2022.1.24f1\Editor\Data\PlaybackEngines\MetroSupport\Players\UAP\il2cpp\ARM64\Debug" --avoid-dynamic-library-copy --dont-deploy-baselib --profiler-report --additional-defines=WINDOWS_UWP --additional-defines=UNITY_UWP --additional-defines=UNITY_WSA_10_0 --additional-defines=UNITY_WSA --additional-defines=UNITY_WINRT --additional-defines=PLATFORM_WINRT -dotnetprofile=unityaot-win32 -verbose --relative-data-path=Data/il2cpp_data" exited with code 4.
    1>Done building project "Il2CppOutputProject.vcxproj" -- FAILED.
    2>------ Build started: Project: PickAndPlace, Configuration: Debug ARM64 ------
    2>LINK : fatal error LNK1104: cannot open file 'C:\AR-VR-Github\Unity-Robotics-Hub-H2-test\tutorials\pick_and_place\Unity-Dev-Build-H2\build\bin\ARM64\Debug\GameAssembly.lib'
    2>Done building project "PickAndPlace.vcxproj" -- FAILED.
    ========== Build: 0 succeeded, 2 failed, 0 up-to-date, 0 skipped ==========
    ========== Elapsed 00:08.286 ==========
    ========== Deploy: 0 succeeded, 0 failed, 0 skipped ==========
    ========== Elapsed 00:08.286 ==========
     
  14. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,680
    As a workaround, can you try disabling the debugger in the build window in Unity and see if it allows you to proceed??

    This looks like a bug in Unity, but I'm not sure what is causing it.
     
  15. RendergonPolygons

    RendergonPolygons

    Joined:
    Oct 9, 2019
    Posts:
    98
    Hi @Tautvydas-Zilys I think by disabling the debugger in the build window in Unity it means uncheck Development build. Yes it builds and deploys with these settings. Should I file bug report? Thank you for your help!

    upload_2022-12-17_7-32-21.png
     

    Attached Files:

    Last edited: Dec 19, 2022
  16. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,938
  17. RendergonPolygons

    RendergonPolygons

    Joined:
    Oct 9, 2019
    Posts:
    98
    Well, I can't report it anymore @JoshPeterson @Tautvydas-Zilys , since this morning I can't even deploy the release after building in Unity, new error. I can't see any update on Windows11 or VS, the only thing is that I installed Hololens 2 Emulator, which I have uninstalled since but the error persits. Awaiting to hear when solved I'll raise the bug if the issue persists.
     
  18. jadware

    jadware

    Joined:
    Aug 26, 2018
    Posts:
    7
    Unity 2022.2.7f1, Visual Studio 17.4.5, cannot build an empty project to HoloLens 2 with "Script Debugging" enabled because of this same error. When debugging is not selected, the application crashes on launch with an untraceable error.

    What combination of Unity and Visual Studio versions is capable of building a HoloLens 2 application?
     
  19. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,938
    Can you drop us a bug report for this issue?
     
  20. Kamyker

    Kamyker

    Joined:
    May 14, 2013
    Posts:
    1,091
    Deleting only Library/Bee was enough for me, upgraded only from 2021.3.16 to 2021.3.19.
     
  21. jantjedetweede

    jantjedetweede

    Joined:
    Oct 21, 2021
    Posts:
    7
    I upgraded to version 2022.1.24f1 but I still get an error when trying build IL2CPP.
    I'm on Windows 11, Visual studio 2022 17.5.1 including Desktop development with C++
    Also tried deleting library, temp and build folder

    I get the following error:

    Fatal error in Unity CIL Linker
    Mono.Linker.LinkerFatalErrorException: ILLink: error IL1005: System.Windows.Forms.XplatUIX11.SetDisplay(IntPtr): Error processing method 'System.Windows.Forms.XplatUIX11.SetDisplay(IntPtr)' in assembly 'System.Windows.Forms.dll'
     
  22. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,938
    This looks like a different issue than the others reported here maybe. Is this something you can submit a bug report for? We would like to be able to reproduce and investigate this.

    https://unity.com/releases/editor/qa/bug-reporting

    In general though, System.Windows.Forms.dll is not support, so I would not recommend using it, or anything that depends on it.
     
  23. lplabst1

    lplabst1

    Joined:
    Jul 12, 2021
    Posts:
    1
    I am also facing the same error as @RendergonPolygons or @jadware
    When building for HL2 with MRTK 2.7.2, as soon as I check Script Debugging, Visual Studio 22 failts to build.
    Any news on this?
     
  24. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,938
    @lplabst1: We've not been able to reproduce this issue on our side yet, so I'm not sure about the cause. Can you submit a bug report with a project that causes this?

    https://unity.com/releases/editor/qa/bug-reporting
     
  25. suhanabiswas309

    suhanabiswas309

    Joined:
    Apr 26, 2023
    Posts:
    5
    I am having the following errors, can someone please help?
    I am using Unity version 2021.3.19f1, Visual Studio 19



    Severity Code Description Project File Line Suppression State
    Warning C4305 'return': truncation from '__int64' to 'T' Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4305 'return': truncation from '__int64' to 'T' Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4309 'return': truncation of constant value Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4305 'return': truncation from '__int64' to 'T' Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4309 'return': truncation of constant value Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4305 'return': truncation from '__int64' to 'T' Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4309 'return': truncation of constant value Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4305 'return': truncation from '__int64' to 'T' Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4309 'return': truncation of constant value Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4305 'return': truncation from '__int64' to 'T' Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4309 'return': truncation of constant value Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4305 'return': truncation from '__int64' to 'T' Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4309 'return': truncation of constant value Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4305 'return': truncation from '__int64' to 'T' Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4309 'return': truncation of constant value Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4305 'return': truncation from '__int64' to 'T' Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4309 'return': truncation of constant value Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4305 'return': truncation from '__int64' to 'T' Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4309 'return': truncation of constant value Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4305 'return': truncation from '__int64' to 'T' Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4309 'return': truncation of constant value Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4305 'return': truncation from '__int64' to 'T' Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4309 'return': truncation of constant value Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4305 'return': truncation from '__int64' to 'T' Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4309 'return': truncation of constant value Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4305 'return': truncation from '__int64' to 'T' Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4309 'return': truncation of constant value Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4305 'return': truncation from '__int64' to 'T' Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4309 'return': truncation of constant value Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4305 'return': truncation from '__int64' to 'T' Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4309 'return': truncation of constant value Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4305 'return': truncation from '__int64' to 'T' Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4309 'return': truncation of constant value Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4305 'return': truncation from '__int64' to 'T' Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4309 'return': truncation of constant value Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4305 'return': truncation from '__int64' to 'T' Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4309 'return': truncation of constant value Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4305 'return': truncation from '__int64' to 'T' Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4309 'return': truncation of constant value Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4305 'return': truncation from '__int64' to 'T' Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4309 'return': truncation of constant value Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4305 'return': truncation from '__int64' to 'T' Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4309 'return': truncation of constant value Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4305 'return': truncation from '__int64' to 'T' Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4309 'return': truncation of constant value Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4305 'return': truncation from '__int64' to 'T' Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4309 'return': truncation of constant value Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4305 'return': truncation from '__int64' to 'T' Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4309 'return': truncation of constant value Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4305 'return': truncation from '__int64' to 'T' Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4309 'return': truncation of constant value Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4305 'return': truncation from '__int64' to 'T' Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4309 'return': truncation of constant value Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4305 'return': truncation from '__int64' to 'T' Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4309 'return': truncation of constant value Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4305 'return': truncation from '__int64' to 'T' Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4309 'return': truncation of constant value Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4305 'return': truncation from '__int64' to 'T' Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4309 'return': truncation of constant value Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4305 'return': truncation from '__int64' to 'T' Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4309 'return': truncation of constant value Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4305 'return': truncation from '__int64' to 'T' Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4309 'return': truncation of constant value Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4305 'return': truncation from '__int64' to 'T' Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4309 'return': truncation of constant value Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4305 'return': truncation from '__int64' to 'T' Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4309 'return': truncation of constant value Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4305 'return': truncation from '__int64' to 'T' Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4309 'return': truncation of constant value Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4305 'return': truncation from '__int64' to 'T' Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4309 'return': truncation of constant value Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4305 'return': truncation from '__int64' to 'T' Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4309 'return': truncation of constant value Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4305 'return': truncation from '__int64' to 'T' Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4309 'return': truncation of constant value Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4305 'return': truncation from '__int64' to 'T' Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4309 'return': truncation of constant value Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4305 'return': truncation from '__int64' to 'T' Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4309 'return': truncation of constant value Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4305 'return': truncation from '__int64' to 'T' Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4309 'return': truncation of constant value Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4305 'return': truncation from '__int64' to 'T' Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4309 'return': truncation of constant value Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4305 'return': truncation from '__int64' to 'T' Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4309 'return': truncation of constant value Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4305 'return': truncation from '__int64' to 'T' Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4309 'return': truncation of constant value Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4305 'return': truncation from '__int64' to 'T' Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4309 'return': truncation of constant value Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4305 'return': truncation from '__int64' to 'T' Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4309 'return': truncation of constant value Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4305 'return': truncation from '__int64' to 'T' Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4309 'return': truncation of constant value Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4305 'return': truncation from '__int64' to 'T' Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4309 'return': truncation of constant value Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4305 'return': truncation from '__int64' to 'T' Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4309 'return': truncation of constant value Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4305 'return': truncation from '__int64' to 'T' Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4309 'return': truncation of constant value Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4305 'return': truncation from '__int64' to 'T' Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4309 'return': truncation of constant value Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4305 'return': truncation from '__int64' to 'T' Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4309 'return': truncation of constant value Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4305 'return': truncation from '__int64' to 'T' Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4309 'return': truncation of constant value Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4305 'return': truncation from '__int64' to 'T' Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4309 'return': truncation of constant value Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4305 'return': truncation from '__int64' to 'T' Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4309 'return': truncation of constant value Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4305 'return': truncation from '__int64' to 'T' Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4309 'return': truncation of constant value Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4305 'return': truncation from '__int64' to 'T' Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4309 'return': truncation of constant value Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4305 'return': truncation from '__int64' to 'T' Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4309 'return': truncation of constant value Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4305 'return': truncation from '__int64' to 'T' Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4309 'return': truncation of constant value Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4309 'return': truncation of constant value Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\libil2cpp\codegen\il2cpp-codegen-common-small.h 35
    Warning C4244 '=': conversion from 'ush' to 'uchf', possible loss of data Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\external\zlib\deflate.c 1916
    Warning C4244 '=': conversion from 'ush' to 'uchf', possible loss of data Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\external\zlib\deflate.c 2041
    Warning C4244 '=': conversion from 'ush' to 'uchf', possible loss of data Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\IL2CPP\external\zlib\deflate.c 2150
    Error Unity.IL2CPP.Building.BuilderFailedException: Assembly-CSharp.cpp Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\EXEC 1
    Error C2679 binary '=': no operator found which takes a right-hand operand of type 'Memory_1_t1A080EA345AC554A756B0032BB43D975C31A5953' (or there is no acceptable conversion) Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\Source\il2cppOutput\Assembly-CSharp.cpp 16283
    Error MSB3073 The command ""C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\\IL2CPP\build\deploy\il2cpp.exe" --libil2cpp-static --compile-cpp -architecture=ARM64 -configuration=Release -platform=winrt -outputpath="C:\Users\Dell\Downloads\_builds\\build\bin\ARM64\Release\GameAssembly.dll" --data-folder="C:\Users\Dell\Downloads\_builds\\build\bin\ARM64\Release\\" -cachedirectory="C:\Users\Dell\Downloads\_builds\\build\obj\il2cppOutputProject\ARM64\Release\\" -generatedcppdir="C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\\Source" --incremental-g-c-time-slice=3 --baselib-directory="C:\Program Files\Unity\Hub\Editor\2021.3.19f1\Editor\Data\PlaybackEngines\MetroSupport\Players\UAP\il2cpp\ARM64\Release" --avoid-dynamic-library-copy --dont-deploy-baselib --profiler-report --additional-defines=WINDOWS_UWP --additional-defines=UNITY_UWP --additional-defines=UNITY_WSA_10_0 --additional-defines=UNITY_WSA --additional-defines=UNITY_WINRT --additional-defines=PLATFORM_WINRT -dotnetprofile=unityaot-win32 -verbose --relative-data-path=Data/il2cpp_data --compiler-flags="-d2ssa-cfg-jt-"" exited with code 4. Il2CppOutputProject C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.MakeFile.Targets 46
    Error LNK1181 cannot open input file 'C:\Users\Dell\Downloads\_builds\build\bin\ARM64\Release\GameAssembly.lib' IMPECT-HRI C:\Users\Dell\Downloads\_builds\IMPECT-HRI\LINK 1
     
  26. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,938
    I think the error here is:

    Error C2679 binary '=': no operator found which takes a right-hand operand of type 'Memory_1_t1A080EA345AC554A756B0032BB43D975C31A5953' (or there is no acceptable conversion) Il2CppOutputProject C:\Users\Dell\Downloads\_builds\Il2CppOutputProject\Source\il2cppOutput\Assembly-CSharp.cpp 16283

    This usually means there is a separate copy of the System.Memory.dll in the project which is not compatible with the one Unity ships with the .NET base class libraries. If that is the case, you should be able to remove that System.Memory.dll from the project. It should not be required.
     
  27. suhanabiswas309

    suhanabiswas309

    Joined:
    Apr 26, 2023
    Posts:
    5
    Hey! Thanks a lot, it worked. :)
     
  28. panzerchrust

    panzerchrust

    Joined:
    May 28, 2019
    Posts:
    3
    having following error with v.2021.3.21 and VS 2022 (VS 2019 too) with described workaround.
    140+ similar entries. 'chcp' is in the Path.

    gzlib.c
    [ 77/238 0s] C_Win64_VS2022 Library/Bee/artifacts/WinPlayerBuildProgram/f0vvw/nmu4_gzclose.obj
    ##### CommandLine
    "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/bin/Hostx64/x64/cl.exe" /Oi /D_WIN64 /D_AMD64_ /FC "C:\Program Files\Unity\Hub\Editor\2021.3.21f1\Editor\Data\il2cpp\external\zlib\gzclose.c" /MT /c /bigobj /utf-8 /cgthreads2 /Ox /Gw /Zo /Oy- /d2ssa-cse- /TC /D_HAS_EXCEPTIONS=0 /GR- /Gy /nologo /GF /Z7 /GS- /W3 /wd4102 /wd4800 /wd4056 /wd4190 /wd4723 /wd4467 /wd4503 /wd4996 /wd4200 /wd4834 /wd4722 /DUNICODE /D_UNICODE /D_SECURE_SCL=0 /D_ITERATOR_DEBUG_LEVEL=0 /D_HAS_ITERATOR_DEBUGGING=0 /DWINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP /DWIN32 /DWINDOWS /D_WINDOWS /DWINDOWS_SDK_BUILD_VERSION=22621 /DNDEBUG /D_CRT_SECURE_NO_DEPRECATE /D_SCL_SECURE_NO_DEPRECATE /D_WINSOCK_DEPRECATED_NO_WARNINGS /D_CRT_NONSTDC_NO_DEPRECATE /DNOMINMAX /D_CRT_SECURE_NO_WARNINGS /D_SCL_SECURE_NO_WARNINGS /I"." /I"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.35.32215\include" /I"C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\shared" /I"C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\um" /I"C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\winrt" /I"C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt" /I"C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\cppwinrt" /Fo"Library\Bee\artifacts\WinPlayerBuildProgram\f0vvw\nmu4_gzclose.obj" /D_HAS_AUTO_PTR_ETC=1 /D_SILENCE_ALL_CXX17_DEPRECATION_WARNINGS /D_SILENCE_ALL_CXX20_DEPRECATION_WARNINGS /Zc:__cplusplus /std:c++17
    ##### Custom Environment Variables
    PATH=C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.35.32215\bin\Hostx64\x64;C:\Program Files (x86)\Windows Kits\10\bin\10.0.22621.0\x64
    _MSPDBSRV_ENDPOINT_=12259972267930562432
    ##### ExitCode
    1
    ##### Output
    'chcp' is not recognized as an internal or external command,


    Building Library\Bee\artifacts\WinPlayerBuildProgram\f0vvw\06p2_gzlib.obj failed with output:
    'chcp' is not recognized as an internal or external command,
    operable program or batch file.
    gzlib.c
    UnityEngine.StackTraceUtility:ExtractStackTrace ()
    UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
    UnityEngine.Logger:Log (UnityEngine.LogType,object)
    UnityEngine.Debug:LogError (object)
    UnityEditor.Modules.BeeBuildPostprocessor:DefaultResultProcessor (Bee.BeeDriver.NodeResult,bool,bool)
    UnityEditor.Modules.BeeBuildPostprocessor:ReportBuildResults (Bee.BeeDriver.BeeDriverResult)
    UnityEditor.Modules.BeeBuildPostprocessor:postProcess (UnityEditor.Modules.BuildPostProcessArgs)
    UnityEditor.Modules.DefaultBuildPostprocessor:postProcess (UnityEditor.Modules.BuildPostProcessArgs,UnityEditor.BuildProperties&)
    UnityEditor.WindowsStandalone.WinPlayerPostProcessor:postProcess (UnityEditor.Modules.BuildPostProcessArgs,UnityEditor.BuildProperties&) (at C:/build/output/unity/unity/PlatformDependent/WinPlayer/Extensions/Managed/WinPlayerPostProcessor.cs:110)
    UnityEditor.PostprocessBuildPlayer:postprocess (UnityEditor.BuildTargetGroup,UnityEditor.BuildTarget,int,string,string,string,int,int,UnityEditor.BuildOptions,UnityEditor.RuntimeClassRegistry,UnityEditor.Build.Reporting.BuildReport)
    UnityEditor.BuildPlayerWindow/DefaultBuildMethods:BuildPlayer (UnityEditor.BuildPlayerOptions)
    UnityEditor.BuildPlayerWindow:CallBuildMethods (bool,UnityEditor.BuildOptions)
    UnityEditor.BuildPlayerWindow/<>c__DisplayClass43_0:<GUIBuildButtons>b__0 ()
    UnityEditor.GenericMenu:CatchMenu (object,string[],int)
     
  29. camogram

    camogram

    Joined:
    Jul 11, 2018
    Posts:
    29
    I've submitted report [IN-42766] as we are experiencing the same issue as @RendergonPolygons @jadware @lplabst1.

    This occurs on a blank new project with Unity 2022.3.0f1 and Visual Studio 17.6.2

    1. Create new project (3D template)
    2. Switch platform to UWP, set ARM64, D3D and "Release" config, but enable development mode and script debugging.
    3. Build the sample scene.


    The Visual Studio project is built from Unity, but the project does not compile, producing the attached vs-log.txt.
    Following an error in visual studio shows: `#error "Implement mono-context for the current arch"`

    The build does succeed when development mode / script debugging is not enabled. Did not occur with same VS version and Unity 2021.3.26f1.
     

    Attached Files:

  30. camogram

    camogram

    Joined:
    Jul 11, 2018
    Posts:
    29
  31. havokentity

    havokentity

    Joined:
    Sep 25, 2017
    Posts:
    44
    Hey guys I'm on Unity 2022.3.8f1 and the Hololens solution output after Unity build is complete with Script Debugging enabled fails to compile with 100s of errors cmd. Same errors as the message I've replied to

     
  32. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,938
    You can follow the issue tracker link for details about this bug: https://issuetracker.unity3d.com/issues/arm64-build-fails-when-script-debugging-is-enabled

    It is fixed in 2022.3.9, which should be out today or tomorrow. You can watch https://unity.com/releases/editor/qa/lts-releases?version=2022.3 for the release details.
     
    havokentity likes this.
  33. venkat_3636

    venkat_3636

    Joined:
    May 25, 2022
    Posts:
    1
    hi i am using latest unity version 2023.2.3f1 and when i am trying to run my project in xcode i got below errors

    Unity.IL2CPP.Compile.CompileFailedException: Failed:

    at Unity.IL2CPP.Compile.CompilationDriver.Run(TinyProfiler2 tinyProfiler, Il2CppCommandLineArguments il2CppCommandLineArguments, String il2CppInvocationString, String directoryHoldingIl2Cpp, String distributionDirectory) in /Users/bokken/build/output/unity/il2cpp/Unity.IL2CPP.Compile/CompilationDriver.cs:line 61

    at Program.<Main>$(String[] args) in /Users/bokken/build/output/unity/il2cpp/il2cpp-compile/Program.cs:line 26

    at il2cpp.Compilation.CompilationDriver.RunOutOfProcess(TinyProfiler2 tinyProfiler, Il2CppCommandLineArguments il2CppCommandLineArguments) in /Users/bokken/build/output/unity/il2cpp/il2cpp/Compilation/CompilationDriver.cs:line 80

    at il2cpp.Program.DoRun(TinyProfiler2 tinyProfiler, String[] args, Il2CppCommandLineArguments il2CppCommandLineArguments, Boolean throwExceptions) in /Users/bokken/build/output/unity/il2cpp/il2cpp/Program.cs:line 260

    Unhandled exception: System.IO.IOException: Failed to create '/Users/kas215/Desktop/gtc-lms-ios/Il2CppOutputProject/Source/il2cppOutput/Il2CppToEditorData.json' with allocation size '1366993' because the disk was full.

    at Microsoft.Win32.SafeHandles.SafeFileHandle.Init(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Int64& fileLength, UnixFileMode& filePermissions)

    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, UnixFileMode openPermissions, Int64& fileLength, UnixFileMode& filePermissions, Func`4 createOpenException)

    at System.IO.File.OpenHandle(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)

    at System.IO.File.WriteToFile(String path, FileMode mode, String contents, Encoding encoding)

    at NiceIO.NPath.WriteAllText(String contents) in /Users/bokken/build/output/unity/il2cpp/Unity.IL2CPP.Common35/NiceIO.cs:line 856

    at il2cpp.EditorIntegration.Il2CppEditorDataGenerator.Write(Boolean quiet) in /Users/bokken/build/output/unity/il2cpp/il2cpp/EditorIntegration/Il2CppEditorDataGenerator.cs:line 72

    at il2cpp.Program.DoRun(TinyProfiler2 tinyProfiler, String[] args, Il2CppCommandLineArguments il2CppCommandLineArguments, Boolean throwExceptions) in /Users/bokken/build/output/unity/il2cpp/il2cpp/Program.cs:line 277

    at il2cpp.Program.Run(String[] args, Boolean setInvariantCulture, Boolean throwExceptions) in /Users/bokken/build/output/unity/il2cpp/il2cpp/Program.cs:line 93

    at il2cpp.Program.Main(String[] args) in /Users/bokken/build/output/unity/il2cpp/il2cpp/Program.cs:line 30

    Command PhaseScriptExecution failed with a nonzero exit code


    i am searching for solution from almost one week but couldn't find.
     
  34. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,938
    I would recommend two things:
    1. This thread is about a Visual Studio issue. Since your problem is with a build in Xcode, it is likely different, some please create a new forum thread to centralize your discussion.
    2. Are there any other error messages available? This one does not provide specific information about a possible cause, so please include additional errors if possible on the new forum thread.