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
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
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.0a11