Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Question Build failed for UWP

Discussion in 'Windows' started by hanxiaoshui, Mar 30, 2021.

  1. hanxiaoshui

    hanxiaoshui

    Joined:
    Apr 20, 2018
    Posts:
    7
    Hello everybody,I need help,
    I am trying to create an App for the Hololens2, unity build is OK,but when use VS2019 to build it fails with the following log statements:

    Build started

    1> ---- build started: Project: il2cppoutproject, configuration: release arm------

    1>'���\C���ZL�j��' �����ڲ����ⲿ���Ҳ���ǿ����еij���

    1>�����������

    1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\ Microsoft.MakeFile.Targets (46, 5) : error msb3073: command "D: / / unityproject / mr2018 / mr2018 / mr2018 / il2cppoutproject / il2cpp / build / IL2 cpp.exe " --libil2cpp-static --compile-cpp -architecture=ARMv7 -configuration=Release -platform=winrt -outputpath="D:\UnityProject\mr2018\mr2018\mr2018\\build\bin\ARM\Release\ GameAssembly.dll " --data-folder="D:\UnityProject\mr2018\mr2018\mr2018\\build\bin\ARM\Release\\" -cachedirectory="D:\UnityProject\mr2018\mr2018\mr2018\\build\obj\il2cppOutputProject\ARM\Release\\" -generatedcppdir="D:\UnityProject\mr2018\mr2018\mr2018\Il2CppOutputProject\\Source" --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 -verbose --relative-data-path=Data/il2cpp_ data --map-file-parser="D:\UnityProject\mr2018\mr2018\mr2018\Il2CppOutputProject\\IL2CPP\MapFileParser\ MapFileParser.exe 'exited with code 1.

    1> Finished building project 'IL2' CppOutputProject.vcxproj ”Operation for - failed.

    2> ---- build started: Project: mr2018, configuration: release arm------

    2> pch.cpp

    2> App.cpp

    2> Main.cpp

    2> UnityGenerated.cpp

    2>D:\UnityProject\mr2018\mr2018\mr2018\mr2018\ App.cpp (26,1): warning c4973: "windows:: UI:: viewmanagement:: iaapplicationview2:: suppresssystemoverlays:: set": marked as obsolete

    2>D:\UnityProject\mr2018\mr2018\mr2018\mr2018\ App.cpp (26,1): Message: "use the tryenterfullscreen method and isfullscreen mode property instead of suppresssystemoverlays. For more info, see MSDN."

    2> Link: fatal error lnk1181: unable to open the input file "D: unityproject / mr2018 / mr2018 / mr2018 / build / bin / arm / release"\ GameAssembly.lib ”

    2> Finished building project 'mr2018. Vcxproj' - failed.

    ==========Generation: 0 succeeded, 2 failed, 0 latest, 0 skipped==========

    ==========Deployment: 0 succeeded, 0 failed, 0 skipped==========

    I have no idea, I have trying with other computer,the problem show too.god.
     
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,530
    Can you show the contents of the "Output" window in Visual Studio?
     
  3. hanxiaoshui

    hanxiaoshui

    Joined:
    Apr 20, 2018
    Posts:
    7
    I can show the contents of the "Output" window in Visual Studio,Not many words.This is the picture,The only difference is that the picture shows Chinese.
    Code (CSharp):
    1.  
    2. Build started
    3.  
    4. 1> ---- build started: Project: il2cppoutproject, configuration: release arm------
    5.  
    6. 1>'���\C���ZL�j��' �����ڲ����ⲿ���Ҳ���ǿ����еij���
    7.  
    8. 1>�����������
    9.  
    10. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\ Microsoft.MakeFile.Targets (46, 5) : error msb3073: command "D: / / unityproject / mr2018 / mr2018 / mr2018 / il2cppoutproject / il2cpp / build / IL2 cpp.exe " --libil2cpp-static --compile-cpp -architecture=ARMv7 -configuration=Release -platform=winrt -outputpath="D:\UnityProject\mr2018\mr2018\mr2018\\build\bin\ARM\Release\ GameAssembly.dll " --data-folder="D:\UnityProject\mr2018\mr2018\mr2018\\build\bin\ARM\Release\\" -cachedirectory="D:\UnityProject\mr2018\mr2018\mr2018\\build\obj\il2cppOutputProject\ARM\Release\\" -generatedcppdir="D:\UnityProject\mr2018\mr2018\mr2018\Il2CppOutputProject\\Source" --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 -verbose --relative-data-path=Data/il2cpp_ data --map-file-parser="D:\UnityProject\mr2018\mr2018\mr2018\Il2CppOutputProject\\IL2CPP\MapFileParser\ MapFileParser.exe 'exited with code 1.
    11.  
    12. 1> Finished building project 'IL2' CppOutputProject.vcxproj ”Operation for - failed.
    13.  
    14. 2> ---- build started: Project: mr2018, configuration: release arm------
    15.  
    16. 2> pch.cpp
    17.  
    18. 2> App.cpp
    19.  
    20. 2> Main.cpp
    21.  
    22. 2> UnityGenerated.cpp
    23.  
    24. 2>D:\UnityProject\mr2018\mr2018\mr2018\mr2018\ App.cpp (26,1): warning c4973: "windows:: UI:: viewmanagement:: iaapplicationview2:: suppresssystemoverlays:: set": marked as obsolete
    25.  
    26. 2>D:\UnityProject\mr2018\mr2018\mr2018\mr2018\ App.cpp (26,1): Message: "use the tryenterfullscreen method and isfullscreen mode property instead of suppresssystemoverlays. For more info, see MSDN."
    27.  
    28. 2> Link: fatal error lnk1181: unable to open the input file "D: unityproject / mr2018 / mr2018 / mr2018 / build / bin / arm / release"\ GameAssembly.lib ”
    29.  
    30. 2> Finished building project 'mr2018. Vcxproj' - failed.
    31.  
    32. ==========Generation: 0 succeeded, 2 failed, 0 latest, 0 skipped==========
    33.  
    34. ==========Deployment: 0 succeeded, 0 failed, 0 skipped==========
    35.  
    QQ截图20210331093704.png
     
  4. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,530
    That is bizarre. Could you try switching to "ExecutableOnly" build type in Unity build settings and try building to an empty folder? Hopefully that gives a better error message.
     
  5. hanxiaoshui

    hanxiaoshui

    Joined:
    Apr 20, 2018
    Posts:
    7
    I have build switch "ExecutableOnly", but I dont know how to do the next.:(

    QQ截图20210331145727.png
     
  6. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,530
    Huh, so executable only build succeeds. Hmm, I wonder what's different when running from Visual Studio...

    In Visual Studio output window, there is this line:

    Code (csharp):
    1. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\ Microsoft.MakeFile.Targets (46, 5) : error msb3073: command '.....' exited with code 1.
    Could you try copying the command that it's trying to run into a command prompt and running it? It seems that when it's run from VS, the output gets mangled and the actual error is lost. Perhaps running it from a command line will not mangle it.
     
  7. hanxiaoshui

    hanxiaoshui

    Joined:
    Apr 20, 2018
    Posts:
    7
    the mr4.exe cannot run,but I build APPX with MRTK show the same error. I don't know if it helps
     
  8. hanxiaoshui

    hanxiaoshui

    Joined:
    Apr 20, 2018
    Posts:
    7
    Ťthis is log
     

    Attached Files:

    • log.txt
      File size:
      109.3 KB
      Views:
      227
  9. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,530
    Can you try running this command line from cmd line directly?

    Code (csharp):
    1. "D:\UnityProject\mr4\mr4\Builds\WSAPlayer\Il2CppOutputProject\\IL2CPP\build\deploy\net471\il2cpp.exe" --libil2cpp-static --compile-cpp -architecture=x64 -configuration=Release -platform=winrt -outputpath="D:\UnityProject\mr4\mr4\Builds\WSAPlayer\\build\bin\x64\Release\GameAssembly.dll" --data-folder="D:\UnityProject\mr4\mr4\Builds\WSAPlayer\\build\bin\x64\Release\\" -cachedirectory="D:\UnityProject\mr4\mr4\Builds\WSAPlayer\\build\obj\il2cppOutputProject\x64\Release\\" -generatedcppdir="D:\UnityProject\mr4\mr4\Builds\WSAPlayer\Il2CppOutputProject\\Source"  --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 -verbose --relative-data-path=Data/il2cpp_data --map-file-parser="D:\UnityProject\mr4\mr4\Builds\WSAPlayer\Il2CppOutputProject\\IL2CPP\MapFileParser\MapFileParser.exe"
     
  10. hanxiaoshui

    hanxiaoshui

    Joined:
    Apr 20, 2018
    Posts:
    7
    cmd can run,and show:

    Code (CSharp):
    1. C:\Users\hc>"D:\UnityProject\mr4\mr4\Builds\WSAPlayer\Il2CppOutputProject\\IL2CPP\build\deploy\net471\il2cpp.exe" --libil2cpp-static --compile-cpp -architecture=x64 -configuration=Release -platform=winrt -outputpath="D:\UnityProject\mr4\mr4\Builds\WSAPlayer\\build\bin\x64\Release\GameAssembly.dll" --data-folder="D:\UnityProject\mr4\mr4\Builds\WSAPlayer\\build\bin\x64\Release\\" -cachedirectory="D:\UnityProject\mr4\mr4\Builds\WSAPlayer\\build\obj\il2cppOutputProject\x64\Release\\" -generatedcppdir="D:\UnityProject\mr4\mr4\Builds\WSAPlayer\Il2CppOutputProject\\Source"  --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 -verbose --relative-data-path=Data/il2cpp_data --map-file-parser="D:\UnityProject\mr4\mr4\Builds\WSAPlayer\Il2CppOutputProject\\IL2CPP\MapFileParser\MapFileParser.exe"
    2. Building GameAssembly.dll with MsvcWinRtToolChain
    3.         Msvc Install Version: 15.0
    4.         Msvc Install SDK Directory: C:\Win10SDK
    5.         Msvc Linker Path: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\bin\HostX64\x64\link.exe
    6.         Msvc Compiler Path: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\bin\HostX64\x64\cl.exe
    7.  
    8.         Output directory: D:\UnityProject\mr4\mr4\Builds\WSAPlayer\build\bin\x64\Release
    9.         Cache directory: D:\UnityProject\mr4\mr4\Builds\WSAPlayer\build\obj\il2cppOutputProject\x64\Release
    10. Il2CppGenericMethodDefinitions.c
    11. Il2CppGenericMethodTable.c
    12. Il2CppGenericMethodPointerTable.cpp
    13. Il2CppMetadataUsage.c
    14. Il2CppCompilerCalculateTypeValues2.cpp
    15. Il2CppInvokerTable.cpp
    16. Il2CppTypeDefinitions.c
    17. Il2CppAttributes.cpp
    18. Il2CppGenericClassTable.c
    19. Il2CppInteropDataTable.cpp
    20. Microsoft.MixedReality.Toolkit.Examples1.cpp
    21. GenericMethods10.cpp
    22. Unity.TextMeshPro.cpp
    23. Il2CppCompilerCalculateTypeValues.cpp
    24. Il2CppCompilerCalculateTypeValues1.cpp
    25. mscorlib_CodeGen.c
    26. mscorlib3.cpp
    27. Generics51.cpp
    28. Microsoft.MixedReality.Toolkit.SDK4.cpp
    29. Microsoft.MixedReality.Toolkit.SDK3.cpp
    30. Microsoft.MixedReality.Toolkit.Examples.cpp
    31. Unity.TextMeshPro1.cpp
    32. GenericMethods2.cpp
    33. Microsoft.MixedReality.Toolkit.SDK.cpp
    34. Microsoft.MixedReality.Toolkit.SDK6.cpp
    35. Il2CppGenericInstDefinitions.c
    36. Microsoft.MixedReality.Toolkit.SDK1.cpp
    37. GenericMethods6.cpp
    38. Microsoft.MixedReality.Toolkit.SDK5.cpp
    39. UnityEngine.UIElementsModule.cpp
    40. Microsoft.MixedReality.Toolkit.Services.InputSystem.cpp
    41. Microsoft.MixedReality.Toolkit4.cpp
    42. GenericMethods8.cpp
    43. GenericMethods5.cpp
    44. GenericMethods11.cpp
    45. Generics3.cpp
    46. Generics9.cpp
    47. GenericMethods1.cpp
    48. mscorlib4.cpp
    49. UnityEngine.UI.cpp
    50. Generics2.cpp
    51. mscorlib10.cpp
    52. Generics24.cpp
    53. Microsoft.MixedReality.Toolkit1.cpp
    54. GenericMethods9.cpp
    55. Microsoft.MixedReality.Toolkit.cpp
    56. Microsoft.MixedReality.Toolkit.SDK2.cpp
    57. Microsoft.MixedReality.Toolkit3.cpp
    58. Generics1.cpp
    59. Generics60.cpp
    60. mscorlib6.cpp
    61. Il2CppComCallableWrappers2.cpp
    62. Microsoft.MixedReality.Toolkit2.cpp
    63. mscorlib17.cpp
    64. Il2CppComCallableWrappers1.cpp
    65. mscorlib16.cpp
    66. mscorlib2.cpp
    67. GenericMethods7.cpp
    68. Il2CppComCallableWrappers12.cpp
    69. Il2CppComCallableWrappers11.cpp
    70. mscorlib7.cpp
    71. Generics.cpp
    72. Unity.TextMeshPro2.cpp
    73. Generics52.cpp
    74. Assembly-CSharp.cpp
    75. GenericMethods.cpp
    76. Generics11.cpp
    77. UnityEngine.UI1.cpp
    78. mscorlib11.cpp
    79. mscorlib.cpp
    80. mscorlib13.cpp
    81. mscorlib12.cpp
    82. Il2CppComCallableWrappers15.cpp
    83. UnityEngine.UI2.cpp
    84. mscorlib8.cpp
    85. mscorlib1.cpp
    86. Generics29.cpp
    87. Generics8.cpp
    88. Generics54.cpp
    89. Generics31.cpp
    90. GenericMethods4.cpp
    91. mscorlib9.cpp
    92. Generics42.cpp
    93. Generics59.cpp
    94. Generics10.cpp
    95. Generics62.cpp
    96. Il2CppComCallableWrappers21.cpp
    97. Il2CppComCallableWrappers26.cpp
    98. Il2CppComCallableWrappers35.cpp
    99. Il2CppComCallableWrappers10.cpp
    100. UnityEngine.CoreModule1.cpp
    101. System.cpp
    102. UnityEngine.CoreModule.cpp
    103. Generics61.cpp
    104. UnresolvedVirtualCallStubs.cpp
    105. Il2CppComCallableWrappers28.cpp
    106. Il2CppComCallableWrappers30.cpp
    107. Il2CppComCallableWrappers25.cpp
    108. Il2CppComCallableWrappers24.cpp
    109. Generics41.cpp
    110. mscorlib14.cpp
    111. Il2CppComCallableWrappers.cpp
    112. mscorlib5.cpp
    113. Generics53.cpp
    114. Il2CppComCallableWrappers27.cpp
    115. Il2CppComCallableWrappers32.cpp
    116. System1.cpp
    117. Il2CppComCallableWrappers22.cpp
    118. Il2CppComCallableWrappers19.cpp
    119. Il2CppComCallableWrappers29.cpp
    120. Il2CppComCallableWrappers20.cpp
    121. Generics12.cpp
    122. Il2CppComCallableWrappers18.cpp
    123. Il2CppComCallableWrappers31.cpp
    124. Generics40.cpp
    125. Generics30.cpp
    126. Unity.TextMeshPro3.cpp
    127. Il2CppComCallableWrappers14.cpp
    128. mscorlib15.cpp
    129. Il2CppComCallableWrappers13.cpp
    130. Generics47.cpp
    131. Il2CppComCallableWrappers17.cpp
    132. Il2CppComCallableWrappers33.cpp
    133. Il2CppComCallableWrappers16.cpp
    134. Microsoft.MixedReality.Toolkit.Providers.WindowsMixedReality.cpp
    135. Il2CppComCallableWrappers5.cpp
    136. Generics63.cpp
    137. Il2CppComCallableWrappers4.cpp
    138. Generics37.cpp
    139. Generics64.cpp
    140. Generics43.cpp
    141. Il2CppComCallableWrappers6.cpp
    142. Generics45.cpp
    143. Generics44.cpp
    144. Il2CppComCallableWrappers7.cpp
    145. Il2CppComCallableWrappers23.cpp
    146. Il2CppComCallableWrappers34.cpp
    147. Generics58.cpp
    148. Il2CppComCallableWrappers9.cpp
    149. Generics35.cpp
    150. Generics67.cpp
    151. Generics56.cpp
    152. Generics36.cpp
    153. Generics55.cpp
    154. Generics4.cpp
    155. Generics23.cpp
    156. Generics66.cpp
    157. Microsoft.MixedReality.Toolkit.Gltf.cpp
    158. Generics15.cpp
    159. Generics57.cpp
    160. UnityEngine.CoreModule2.cpp
    161. Generics14.cpp
    162. Generics17.cpp
    163. Generics49.cpp
    164. Generics48.cpp
    165. Generics46.cpp
    166. Generics50.cpp
    167. Generics21.cpp
    168. Generics13.cpp
    169. GenericMethods3.cpp
    170. Il2CppProjectedComCallableWrapperMethods2.cpp
    171. Generics65.cpp
    172. Generics25.cpp
    173. Il2CppProjectedComCallableWrapperMethods3.cpp
    174. Generics16.cpp
    175. Generics22.cpp
    176. Il2CppProjectedComCallableWrapperMethods.cpp
    177. Generics32.cpp
    178. Il2CppComCallableWrappers3.cpp
    179. Generics7.cpp
    180. Generics39.cpp
    181. Il2CppProjectedComCallableWrapperMethods1.cpp
    182. Generics18.cpp
    183. Il2CppProjectedComCallableWrapperMethods4.cpp
    184. Generics28.cpp
    185. Generics20.cpp
    186. Il2CppComCallableWrappers8.cpp
    187. Generics27.cpp
    188. Generics19.cpp
    189. Generics34.cpp
    190. Generics5.cpp
    191. Generics33.cpp
    192. Microsoft.MixedReality.Toolkit.SDK_CodeGen.c
    193. Generics26.cpp
    194. Generics6.cpp
    195. Microsoft.MixedReality.Toolkit.Services.InputSimulation.cpp
    196. I18N.Rare.cpp
    197. Microsoft.MixedReality.Toolkit_CodeGen.c
    198. Generics38.cpp
    199. Il2CppProjectedComCallableWrapperMethods5.cpp
    200. Il2CppGenericComDefinitions.cpp
    201. mscorlib18.cpp
    202. Microsoft.MixedReality.Toolkit.Services.SceneSystem.cpp
    203. UnityEngine.VRModule.cpp
    204. UnityEngine.IMGUIModule.cpp
    205. Il2CppCompilerCalculateTypeValuesTable.cpp
    206. Microsoft.MixedReality.Toolkit.Providers.XRSDK.cpp
    207. WindowsRuntimeMetadata.cpp
    208. System.Runtime.WindowsRuntime.cpp
    209. GenericMethods12.cpp
    210. Microsoft.MixedReality.Toolkit.Extensions.SceneTransitionService.cpp
    211. UnityEngine.UI3.cpp
    212. I18N.CJK.cpp
    213. UnityEngine.CoreModule_CodeGen.c
    214. I18N.West.cpp
    215. Microsoft.MixedReality.Toolkit.Services.DiagnosticsSystem.cpp
    216. Generics68.cpp
    217. Microsoft.MixedReality.Toolkit.Services.InputAnimation.cpp
    218. I18N.cpp
    219. UnityEngine.AndroidJNIModule.cpp
    220. I18N.Rare1.cpp
    221. UnityEngine.XRModule.cpp
    222. Microsoft.MixedReality.Toolkit.Extensions.HandPhysics.cpp
    223. Microsoft.MixedReality.Toolkit.SDK7.cpp
    224. UnityEngine.UI_CodeGen.c
    225. Microsoft.MixedReality.Toolkit.Providers.XRSDK.WindowsMixedReality.cpp
    226. Microsoft.MixedReality.Toolkit.Providers.WindowsVoiceInput.cpp
    227. char-conversions.cpp
    228. UnityEngine.UnityWebRequestModule.cpp
    229. Unity.TextMeshPro_CodeGen.c
    230. Microsoft.MixedReality.Toolkit.Services.InputSystem1.cpp
    231. Microsoft.MixedReality.Toolkit.Examples_CodeGen.c
    232. Microsoft.MixedReality.Toolkit.Providers.WindowsMixedReality.Shared.cpp
    233. Microsoft.MixedReality.Toolkit5.cpp
    234. I18N.Other.cpp
    235. System2.cpp
    236. Microsoft.MixedReality.Toolkit.Async.cpp
    237. UnityEngine.AnimationModule.cpp
    238. UnityEngine.TextCoreModule.cpp
    239. UnityEngine.TerrainModule.cpp
    240. UnityEngine.UIElementsModule1.cpp
    241. I18N.MidEast.cpp
    242. UnityEngine.PhysicsModule.cpp
    243. UnityEngine.UIModule.cpp
    244. UnityEngine.TextRenderingModule.cpp
    245. Il2CppComCallableWrappers36.cpp
    246. System.Numerics.cpp
    247. System_CodeGen.c
    248. Microsoft.MixedReality.Toolkit.Services.TeleportSystem.cpp
    249. Microsoft.MixedReality.Toolkit.Services.SpatialAwarenessSystem.cpp
    250. UnityEngine.UIElementsModule_CodeGen.c
    251. Microsoft.MixedReality.Toolkit.Examples2.cpp
    252. Microsoft.MixedReality.Toolkit.Demos.Gltf.cpp
    253. UnityEngine.SpatialTracking.cpp
    254. UnityEngine.Physics2DModule.cpp
    255. Microsoft.MixedReality.Toolkit.Services.CameraSystem.cpp
    256. Microsoft.MixedReality.Toolkit.Services.InputSystem_CodeGen.c
    257. UnityEngine.SharedInternalsModule.cpp
    258. UnityEngine.ParticleSystemModule.cpp
    259. UnityEngine.InputLegacyModule.cpp
    260. Microsoft.MixedReality.Toolkit.Extensions.Tracking.cpp
    261. UnityEngine.VRModule_CodeGen.c
    262. WindowsRuntimeMetadata_CodeGen.c
    263. Mono.Security.cpp
    264. UnityEngine.AudioModule.cpp
    265. Microsoft.MixedReality.Toolkit.Demos.UX.Interactables.cpp
    266. UnityEngine.SubsystemsModule.cpp
    267. Microsoft.MixedReality.Toolkit.Services.BoundarySystem.cpp
    268. Microsoft.MixedReality.Toolkit.Services.InputSimulation_CodeGen.c
    269. Assembly-CSharp_CodeGen.c
    270. UnityEngine.IMGUIModule_CodeGen.c
    271. deflate.c
    272. UnityEngine.VideoModule.cpp
    273. System.Runtime.WindowsRuntime_CodeGen.c
    274. UnityEngine.TilemapModule.cpp
    275. Microsoft.MixedReality.Toolkit.Providers.WindowsMixedReality_CodeGen.c
    276. UnityEngine.UnityAnalyticsModule.cpp
    277. I18N.Rare_CodeGen.c
    278. Microsoft.MixedReality.Toolkit.Gltf_CodeGen.c
    279. UnityEngine.AndroidJNIModule_CodeGen.c
    280. I18N.CJK_CodeGen.c
    281. inflate.c
    282. Microsoft.MixedReality.Toolkit.Services.SceneSystem_CodeGen.c
    283. UnityEngine.VFXModule.cpp
    284. System.Configuration.cpp
    285. UnityEngine.InputModule.cpp
    286. trees.c
    287. Microsoft.MixedReality.Toolkit.Extensions.SceneTransitionService_CodeGen.c
    288. Microsoft.MixedReality.Toolkit.Services.InputAnimation_CodeGen.c
    289. UnityEngine.JSONSerializeModule.cpp
    290. UnityEngine.PhysicsModule_CodeGen.c
    291. Microsoft.MixedReality.Toolkit.Async_CodeGen.c
    292. Microsoft.MixedReality.Toolkit.Tools.Runtime.cpp
    293. UnityEngine.XRModule_CodeGen.c
    294. Microsoft.MixedReality.Toolkit.Services.DiagnosticsSystem_CodeGen.c
    295. UnityEngine.AssetBundleModule.cpp
    296. UnityEngine.TextCoreModule_CodeGen.c
    297. UnityEngine.UnityWebRequestModule_CodeGen.c
    298. xamarin_getifaddrs.c
    299. System.Core.cpp
    300. System.Core_CodeGen.c
    301. I18N_CodeGen.c
    302. UnityEngine.AnimationModule_CodeGen.c
    303. il2cpp-api.cpp
    304. UnityEngine.UIModule_CodeGen.c
    305. System.Runtime.WindowsRuntime.UI.Xaml.cpp
    306. UnityEngine.ARModule.cpp
    307. I18N.West_CodeGen.c
    308. Microsoft.MixedReality.Toolkit.Demos.InspectorFields.cpp
    309. infback.c
    310. I18N.Other_CodeGen.c
    311. UnityEngine.AIModule.cpp
    312. gzread.c
    313. D:\UnityProject\mr4\mr4\Builds\WSAPlayer\Il2CppOutputProject\IL2CPP\external\zlib\gzread.c(319): warning C4267: ??=??: ???size_t?????????unsigned int??????????????
    314. D:\UnityProject\mr4\mr4\Builds\WSAPlayer\Il2CppOutputProject\IL2CPP\external\zlib\gzread.c(400): warning C4267: ??=??: ???size_t?????????unsigned int??????????????
    315. D:\UnityProject\mr4\mr4\Builds\WSAPlayer\Il2CppOutputProject\IL2CPP\external\zlib\gzread.c(472): warning C4267: ??=??: ???size_t?????????int??????????????
    316. UnityEngine.ParticleSystemModule_CodeGen.c
    317. UnityEngine.DirectorModule.cpp
    318. gzwrite.c
    319. D:\UnityProject\mr4\mr4\Builds\WSAPlayer\Il2CppOutputProject\IL2CPP\external\zlib\gzwrite.c(212): warning C4267: ??=??: ???size_t?????????unsigned int??????????????
    320. D:\UnityProject\mr4\mr4\Builds\WSAPlayer\Il2CppOutputProject\IL2CPP\external\zlib\gzwrite.c(232): warning C4267: ??=??: ???size_t?????????unsigned int??????????????
    321. D:\UnityProject\mr4\mr4\Builds\WSAPlayer\Il2CppOutputProject\IL2CPP\external\zlib\gzwrite.c(371): warning C4267: ??=??: ???size_t?????????int??????????????
    322. Microsoft.MixedReality.Toolkit.Providers.WindowsVoiceInput_CodeGen.c
    323. Microsoft.MixedReality.Toolkit.Providers.XRSDK_CodeGen.c
    324. UnityEngine.TextRenderingModule_CodeGen.c
    325. UnityEngine.SharedInternalsModule_CodeGen.c
    326. Microsoft.MixedReality.Toolkit.Providers.WindowsMixedReality.Shared_CodeGen.c
    327. Microsoft.MixedReality.Toolkit.Extensions.HandPhysics_CodeGen.c
    328. gzlib.c
    329. UnityEngine.AudioModule_CodeGen.c
    330. UnityEngine.Physics2DModule_CodeGen.c
    331. UnityEngine.TerrainModule_CodeGen.c
    332. crc32.c
    333. Microsoft.MixedReality.Toolkit.Providers.XRSDK.WindowsMixedReality_CodeGen.c
    334. inftrees.c
    335. Il2CppCodeRegistration.cpp
    336. inffast.c
    337. UnityEngine.InputLegacyModule_CodeGen.c
    338. UnityEngine.SpatialTracking_CodeGen.c
    339. I18N.MidEast_CodeGen.c
    340. Microsoft.MixedReality.Toolkit.Services.SpatialAwarenessSystem_CodeGen.c
    341. Microsoft.MixedReality.Toolkit.Extensions.Tracking_CodeGen.c
    342. System.Numerics_CodeGen.c
    343. UnityEngine.TilemapModule_CodeGen.c
    344. UnityEngine.ImageConversionModule.cpp
    345. Microsoft.MixedReality.Toolkit.Services.TeleportSystem_CodeGen.c
    346. UnityEngine.VideoModule_CodeGen.c
    347. UnityEngine.SubsystemsModule_CodeGen.c
    348. Microsoft.MixedReality.Toolkit.Demos.UX.Interactables_CodeGen.c
    349. zutil.c
    350. Microsoft.MixedReality.Toolkit.Services.CameraSystem_CodeGen.c
    351. UnityEngine.UnityAnalyticsModule_CodeGen.c
    352. adler32.c
    353. Mono.Security_CodeGen.c
    354. System.Configuration_CodeGen.c
    355. System.Xml.cpp
    356. UnityEngine.GridModule.cpp
    357. UnityEngine.InputModule_CodeGen.c
    358. UnityEngine.VFXModule_CodeGen.c
    359. Microsoft.MixedReality.Toolkit.Demos.Gltf_CodeGen.c
    360. Microsoft.MixedReality.Toolkit.Services.BoundarySystem_CodeGen.c
    361. uncompr.c
    362. compress.c
    363. Il2CppReversePInvokeWrapperTable.cpp
    364. System.Runtime.WindowsRuntime.UI.Xaml_CodeGen.c
    365. Lump_libil2cpp_icalls.cpp
    366. UnityEngine.JSONSerializeModule_CodeGen.c
    367. UnityEngine.AIModule_CodeGen.c
    368. UnityAdsStubs.cpp
    369. UnityEngine.ARModule_CodeGen.c
    370. Microsoft.MixedReality.Toolkit.Demos.InspectorFields_CodeGen.c
    371. UnityEngine.DirectorModule_CodeGen.c
    372. Microsoft.MixedReality.Toolkit.Tools.Runtime_CodeGen.c
    373. krait_signal_handler.c
    374. Lump_libil2cpp_metadata.cpp
    375. UnityEngine.AssetBundleModule_CodeGen.c
    376. UnityEngine.ImageConversionModule_CodeGen.c
    377. Il2CppMetadataRegistration.c
    378. Lump_libil2cpp_utils.cpp
    379. gc.c
    380. netstandard.cpp
    381. System.Globalization.Extensions.cpp
    382. System.Diagnostics.StackTrace.cpp
    383. System.Numerics.Vectors.cpp
    384. System.ObjectModel.cpp
    385. System.Runtime.cpp
    386. System.Runtime.InteropServices.WindowsRuntime.cpp
    387. UnityEngine.GridModule_CodeGen.c
    388. UnityEngine.cpp
    389. System.Xml_CodeGen.c
    390. il2cpp-benchmark-support.cpp
    391. gzclose.c
    392. Lump_libil2cpp_os.cpp
    393. System.Runtime.InteropServices.WindowsRuntime_CodeGen.c
    394. System.Globalization.Extensions_CodeGen.c
    395. System.Diagnostics.StackTrace_CodeGen.c
    396. System.Numerics.Vectors_CodeGen.c
    397. System.ObjectModel_CodeGen.c
    398. Lump_libil2cpp_gc.cpp
    399. Lump_libil2cpp_vm-utils.cpp
    400. System.Runtime_CodeGen.c
    401. netstandard_CodeGen.c
    402. UnityEngine_CodeGen.c
    403. Lump_libil2cpp_mono-runtime.cpp
    404. Lump_libil2cpp_debugger.cpp
    405. il2cpp-runtime-stats.cpp
    406. Lump_libil2cpp_mono.cpp
    407. Lump_libil2cpp_plugin.cpp
    408. Lump_libil2cpp_codegen.cpp
    409. Lump_libil2cpp_vm.cpp
    410. ObjectFiles: 394 of which compiled: 394
    411.         Time Compile: 23581 milliseconds mscorlib5.cpp
    412.         Time Compile: 22242 milliseconds Unity.TextMeshPro3.cpp
    413.         Time Compile: 18887 milliseconds Unity.TextMeshPro2.cpp
    414.         Time Compile: 13134 milliseconds Lump_libil2cpp_os.cpp
    415.         Time Compile: 13099 milliseconds System.cpp
    416.         Time Compile: 12914 milliseconds Lump_libil2cpp_vm.cpp
    417.         Time Compile: 11191 milliseconds Il2CppComCallableWrappers27.cpp
    418.         Time Compile: 11191 milliseconds Il2CppComCallableWrappers22.cpp
    419.         Time Compile: 11156 milliseconds Il2CppComCallableWrappers35.cpp
    420.         Time Compile: 11042 milliseconds Il2CppComCallableWrappers30.cpp
    421. Total compilation time: 206579 milliseconds.
     
  11. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,530
    Damn, so it doesn't work when building from VS, but works when running from command line... never seen that before! And unfortunately the error is just garbled when running from VS.

    Could you try configuring automatic dump collection (as outlined here: https://docs.microsoft.com/en-us/windows/win32/wer/collecting-user-mode-dumps) and seeing if building from VS produces a dump? If it does, could you upload it?
     
  12. hanxiaoshui

    hanxiaoshui

    Joined:
    Apr 20, 2018
    Posts:
    7
    Too fidgety, I did not use the method you said, I re installed the win10 system, now it can be used normally,
    I suspect the reason is that my computer has an encryption system, Anyway,thank you !
     
  13. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,530
    I'm glad you solved it. It's possible there was something wrong with your Visual Studio installation.