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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note:
This code uses many allocations across multiple threads. The GC used by IL2CPP and Mono does not handle this workload well.