Search Issue Tracker
Fixed in 2021.2.X
Votes
0
Found in
2021.2
2021.2.5f1
2022.1
2022.2
Issue ID
1399829
Regression
No
Method data is not created when making a second consecutive Development Build
How to reproduce:
1. Open the user attached "strip-test.zip" project
2. Change the Target Platform to Linux (File -> Build Settings) and turn on "Development Build"
3. Change the Scripting Backend to IL2CPP (Edit -> Project Settings -> Player -> Other Settings)
4. Build the project (File -> Build Settings -> Build)
5. Navigate to the "project folder"/Temp/StagingArea/Data/Managed folder and see if MethodsToPreserve.xml exists
6. Build the project again
7. Navigate to the "project folder"/Temp/StagingArea/Data/Managed folder again
Expected result: MethodsToPreserve.xml is created after both builds
Actual result: MethodsToPreserve.xml does not get created after the second build
Reproducible with: 2021.2.15f1, 2022.1.0b11, 2022.2.0a7
Couldn't test with: 2019.4.36f1 (Requires sysroot toolchain package installed, even though it is), 2020.3.31f1 (Necessary folders did not get generated)
Note:
- For constant reproduction delete the Library and Temp folder before repeating steps
- Building project requires cross-compilation toolchain package
- Tested 2021.2 with MacOS
- 2022.1 and 2022.2 can only be built on Linux
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
- Property field override bar does not update transparency correctly when switching between valid and invalid GameObjects
- Project window selection is not updated when search term is changed
- Error when adding valid MonoBehaviour script to Prefab in Project window
- Editor Launch Screen will close when Enter is pressed on it
- ObjectPool's pool is destroyed when entering Play Mode without reloading Domain
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.17f1