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

IL2CPP

-

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

  1. Resolution Note:

    This code uses many allocations across multiple threads. The GC used by IL2CPP and Mono does not handle this workload well.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.