Search Issue Tracker
By Design
Votes
0
Found in
2018.4
2018.4.10f1
2019.2
2019.3
2020.1
Issue ID
1194612
Regression
No
[IL2CPP] Build fails on x86 with C++ source code native plugins
Steps to reproduce:
1. Download attached project
2. Change architecture to x86
3. Build project
Expected results: Build is successful
Actual results: Build fails
Reproduced with: 2020.1.0a13, 2019.3.0b11, 2019.2.13f1, 2018.4.12f1
Note:
- Reproducible with Standalone and UWP x86 architecture
- Not reproducible with Standalone and UWP x64 architecture
stdout:
Building GameAssembly.dll with MsvcDesktopToolChain
Msvc Install Version: 15.0
Msvc Install SDK Directory: C:\Program Files (x86)\Windows Kits\10
Msvc Linker Path: C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\VC\Tools\MSVC\14.24.28218\bin\HostX64\x86\link.exe
Msvc Compiler Path: C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\VC\Tools\MSVC\14.24.28218\bin\HostX64\x86\cl.exe
Output directory: C:\Users\sarunas\Downloads\case_1194612-TestUWPLinker\Temp\StagingArea\Data\Native
Cache directory: C:\Users\sarunas\Downloads\case_1194612-TestUWPLinker\Library\il2cpp_cache
ObjectFiles: 165 of which compiled: 165
Time Compile: 8010 milliseconds mscorlib5.cpp
Time Compile: 7809 milliseconds System.cpp
Time Compile: 7552 milliseconds Lump_libil2cpp_os.cpp
Time Compile: 7006 milliseconds Lump_libil2cpp_vm.cpp
Time Compile: 5021 milliseconds mscorlib3.cpp
Time Compile: 4956 milliseconds mscorlib11.cpp
Time Compile: 4595 milliseconds GenericMethods.cpp
Time Compile: 4349 milliseconds Generics7.cpp
Time Compile: 4317 milliseconds Generics1.cpp
Time Compile: 4316 milliseconds Lump_libil2cpp_icalls.cpp
Total compilation time: 33332 milliseconds.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- TreeView Child display toggle styling becomes reversed when clicking and dragging it
- Null is returned when using FocusOutEvent.relatedTarget
- Unity_BaseInstanceID is always zero when rendering multiple meshes and instancing with the same buffer
- UI Document button's text does not resize relatively when size in percentage (%) is used
- Event.current.mousePosition has an offset of 1px along the y-axis in WebGL build when the mouse button is released
Resolution Note:
The native code in this project did not match the calling convention of the DllImport attribute.