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
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
- Errors and warnings are thrown after installing Visual Effect Graph Learning Samples
- Add Behaviour dropdown has a part in which the dropdown outline is cut out when the Add Behaviour dropdown is opened
Resolution Note:
This code uses many allocations across multiple threads. The GC used by IL2CPP and Mono does not handle this workload well.