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
- Progress indicator in Meta Quest Build Profile configuration is barely visible
- Slightly transparent objects disappear completely in Web Player when using RenderGraph
- Visual Scripting Components are hidden behind a throbber when Multiplayer Play Mode is running with at least one local instance
- Video Player does not throw an error when playing a video with unsupported encoding settings
- Errors indicating that TMP Extras were not Imported logged when opening the Render Pipeline Converter Window while in Play Mode
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.17f1