Search Issue Tracker
Third Party Issue
Votes
0
Found in
2021.2
2021.2.0f1
2022.1
2022.2
Issue ID
1408199
Regression
Yes
Installing the AppCentre Analytics SDK from 2021.2.0 onwards causes a crash when building AppX Packages
Reproduction steps:
1. Open project "APPX_Issue_2021_2.zip"
2. Open the App Centre window via Window > App Centre > Editor Extensions
3. Make sure Analytics SDK 4.4.0 is installed
4. Open Build Settings window from File > Build Settings
5. Switch Platform to Universal Windows Platform and build the project
6. Open Command Prompt and navigate to the build using the command "cd"
7. Run the following command to build it "MSBuild (your solution file's name).sln /p:Configuration=Release;AppxBundle=Always;AppxBundlePlatforms="x86|x64|ARM""
8. Observe errors
Expected result: Build is successful
Actual result: Build fails
Reproducible with: 2021.2.0, 2021.2.15f1, 2022.1.0b12, 2022.2.0a8
Could not test with: 2019.4.37f1, 2020.3.31f1, 2021.1.28f1 (Console errors)
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note:
This is a bug in the project. It patches generated C++ code and does it incorrectly, causing it not to compile anymore.