Search Issue Tracker
Fixed in 2019.1.8f1
Votes
0
Found in
2018.3.0b9
2019.1.0a8
2019.1.3f1
Issue ID
1156422
Regression
No
[IL2CPP][2019.1] Delegate with NativeArray<int> as parameter type triggers an compiler error
Steps to reproduce:
1. Download 1156422_repro.zip
2. Build a Standalone player with IL2CPP backend
Actual results: Build fails with an exception.
Reproduced with: 2019.1.4f1, 2018.4.1f1
Not reproducible with: 2019.3.0a3, 2019.2.0b3, 2019.2.0a10
Exception: D:\Unity\2018.4\2018.4.1f1_42a7eb444191\Editor\Data\il2cpp/build/il2cpp.exe did not run properly!
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\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64\link.exe
Msvc Compiler Path: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64\cl.exe
Example code:
delegate void Fn(NativeArray<int> value1, [ReadOnly] NativeArray<int> value2);
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- NullReferenceException is thrown when assigning an Object to a custom DebugUI.ObjectField in Rendering Debugger
- Crash on D3D12CommonShader::ApplyGpuProgram when attaching material which samples "_UnityFBInput0" to "Full Screen Pass Renderer Feature" Component
- SpeedTree meshes and objects count differs when comparing the numbers in the Player with the Editor
- Model and Prefab Preview icons are not updated after upgrading associated Materials to URP
- Game view is rendered white when viewing the Editor with HDR display and Post Proccesing is enabled on the Main Camera with 2D URP
Add comment