Search Issue Tracker

Fixed in 2022.2.X

Votes

0

Found in

2021.2.0a18

2021.3

2022.1

2022.2

Issue ID

1421774

Regression

Yes

Header files are not copied when exporting Android project

Android

-

Reproduction steps:
1. Open the attached project "headers"
2. Set the Build Target to Android (File > Build Settings... > Android)
3. In the Build Settings window, enable the "Export Project" checkbox
4. Set the Scripting Backend to IL2CPP (Edit > Project Settings... > Player > Other Settings > Configuration > Scripting Backend)
5. In the Build Settings window, click "Export"
6. In the exported files, search for the file "memory_advice.h" (%ExportLocation%/unityLibrary/src/main/il2cppoutputproject/source/il2cppoutput)

Expected result: "memory_advice.h" is in the exported project
Actual result: "memory_advice.h" is not in the exported project

Reproducible with: 2021.2.0a18, 2021.2.19f1, 2021.3.3f1, 2022.1.2f1, 2022.2.0a10
Not reproducible with: 2020.3.35f1, 2021.2.0a17, 2022.2.0a11, 2022.2.0a15
Could not test with: 2019.4.39f1 (files are compiled to a single library)

Reproducible on: Windows 10

  1. Resolution Note (fix version 2022.2):

    Fixed in: 2022.2.0a11

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.