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
- "GetPreferedValue" returns max value when using auto-sizing
- UI Builder doesn't update the style sheet when using "Extract inline style" right-click option
- “Assertion failed on expression” errors thrown when undoing Nodes creation with keyboard shortcut
- Crash on various stack traces when using Texture2D.CreateExternalTexture() while rendering
- Clicking on section text in Node Library > Context folder throws NullReferenceException errors
Resolution Note:
This code uses many allocations across multiple threads. The GC used by IL2CPP and Mono does not handle this workload well.