Search Issue Tracker

By Design

Votes

0

Found in

2018.4

2019.2

2019.3

2019.3.0b7

2020.1

Issue ID

1192441

Regression

No

[IL2CPP] Profiler does not generate profile.json or states that there is a profile.json already when building project

IL2CPP

-

.Steps to reproduce:
1. Open User-supplied project
2. Build on Android

Expected: the profile.json is created*.
Actual: the profiler does not get created.

Reproduced in: 2018.4.12f1**, 2019.2.10f1**, 2019.3.0a11**, 2019.3.0a12, 2019.3.0b8, 2020.1.0a10
Not reproduced in: 2017.4 (can't build due to Packman errors)

Notes:
*at Temp/StagingArea/Il2Cpp/il2cppOutput/profile.json and the ProfilerPostprocessor can copy it from that path to the project root.

**"IOException: /.../profile.json already exists" errors

  1. Resolution Note (2020.1.X):

    The --enable-stats option should be passed to il2cpp.exe as well as --profiler-report to enable the profiler.

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.