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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.17f1