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
- SystemInfo.get_graphicsDeviceName() is generating garbage GC Alloc when using Metal graphics API
- Crash on D3D12CommonShader::ApplyGpuProgram when attaching material which samples "_UnityFBInput0" to "Full Screen Pass Renderer Feature" Component
- SpeedTree meshes and objects count differs when comparing the numbers in the Player with the Editor
- Model and Prefab Preview icons are not updated after upgrading associated Materials to URP
- Game view is rendered white when viewing the Editor with HDR display and Post Proccesing is enabled on the Main Camera with 2D URP
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.17f1