Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2020.3.X, 2021.2.X
Votes
0
Found in
2020.1.0a15
2020.3
2021.1
2021.2
2022.1
2022.1.0a12
Issue ID
1375766
Regression
Yes
"Merge failure for shared merged PRI file : error 0x80070490" thrown when installing app package targeted for ARM, x86 and x64
How to reproduce:
1. Open the attached project "UWPMergeFail.zip"
2. Open File>Build Settings...
3. Switch Platform to Universal Windows Platform
4. Build the project
5. Open the "UWPMergeFail.sln" solution in the built project folder with Visual Studio
6. Press the right mouse button on "UWPMergeFail" in the "Solution Explorer"
7. Click Publish>Create App Packages
8. Click "Next" 2 times
9. Change "Generate app bundle:" to "Always"
10. Enable "ARM64"
11. Change "Solution Configuration" of every Architecture to "Master"
12. Click "Create"
13. Open the "Output location" of created "App Packages"
14. Press the right mouse button on "Install.ps1"
15. Run with PowerShell
Expected result: App is successfully installed
Actual result: "Merge failure for shared merged PRI file : error 0x80070490" is thrown
Reproducible with: 2020.1.0a15, 2020.3.22f1, 2021.1.28f1, 2021.2.2f1, 2022.1.0a14
Not reproducible with: 2019.4.32f1, 2020.1.0a14
Notes: Does not reproduce when Architecture is set to x86 and x64 only
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0b1
This issue can be worked around by adding this attribute to generated .vcxproj file:
<AppxBundleAutoResourcePackageQualifiers>Language|DXFeatureLevel</AppxBundleAutoResourcePackageQualifiers>
Once you upgrade to a Unity version with this fix, make sure to delete the old generated .vcxproj file as Unity will not overwrite it.
Resolution Note (fix version 2021.2):
Fixed in 2021.2.6f1
Resolution Note (fix version 2020.3):
Fixed in 2020.3.25f1