Search Issue Tracker

Fixed in 2022.1.X

Fixed in 2019.4.X, 2020.3.X, 2021.1.X, 2021.2.X

Votes

0

Found in

2019.4

2020.3

2020.3.11f1

2021.1

2021.2

2022.1

Issue ID

1345403

Regression

No

[UWP] Failed to copy PDB error appear when building solution with MasterWithLTCG

Reproduction steps:
1. Open the attached project ("test-uwp-master-ltcg.zip")
2. Switch to the UWP platform
3. Tick "Copy PDB files"
4. Build SampleScene
5. Open the "test-uwp-master-ltcg.sln" with Visual studio
6. Set the configuration to "MasterWithLTCG"
7. In the Solution Explorer window select "test-uwp-master-ltcg" and Publish->Create App Packages...

Expected result: No errors
Actual result: When creating and app the following error occurs:
2>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VisualStudio\v16.0\AppxPackage\Microsoft.AppXPackage.Targets(3561,5): warning : Failed to copy PDB 'C:\Program Files\Unity\2022.1.0a5_141e928f4280\Data\PlaybackEngines\MetroSupport\Players\UAP\il2cpp\x64\Master\baselib_UAP_x64_MasterWithLTCG_il2cpp.pdb' with exception: Could not find file 'C:\Program Files\Unity\2022.1.0a5_141e928f4280\Data\PlaybackEngines\MetroSupport\Players\UAP\il2cpp\x64\Master\baselib_UAP_x64_MasterWithLTCG_il2cpp.pdb'.

Reproducible with: 2020.3.17f1, 2021.1.18f1, 2021.2.0b7, 2022.1.0a6
Not reproducible with: 2019.4.29f1

  1. Resolution Note (fix version 2022.1):

    Fixed with 2022.1.0a11, backported to 2021.1.25f1, 2021.2.0b16, 2020.3.21f1, 2019.4.32f1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.