Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.4.12f1
Issue ID
1100003
Regression
No
[IL2CPP] .NET plugin runs slower on IL2CPP backend compaired to .NET backend
Steps to reproduce:
1. Download attached project
2. Build project for UWP with .NET backend
3. Launch player and wait until calculations are done. Should take ~7 seconds
4. Build project on IL2CPP backend (Standalone or UWP)
5. Launch player and wait until calculations are done. Should take ~35 seconds
Expected results: Calculation time should be similar
Actual results: IL2CPP runs 4 times slower compared to .NET
Reproduced with: 2019.1.0a9, 2018.3.0b10, 2018.2.16f1, 2017.4.15f1
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
- Crash on EnsureUniqueSiblingName when calling GameObjectUtility.EnsureUniqueNameForSibling() with a null argument
- Changes are not applied when selecting Platform settings for Plugins
- Particle System only collides with one Terrain Collider at a time when Collision Type is set to 'World'
- Editor crashes on StoredGraphicsBuffer::GetGfxBufferID when VFX Graph property is modified during Play Mode and Application.targetFrameRate is used to limit FPS
- Crash on NVAPI_Thunk when changing Player resolution while HDR display is used and Direct3D12 is set as the graphics API
Resolution Note:
This code uses many allocations across multiple threads. The GC used by IL2CPP and Mono does not handle this workload well.