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
- SearchExpression strips quotes
- dSYM file is not created during macOS standalone build
- Project Settings panels disappear and do not repaint when entering Play Mode without reloading Domain
- Screen Space Decals ignore Rendering Layer Mask when using OpenGL Graphics API
- Crash on scripting_method_invoke when the Player is build before entering the Play mode in the Editor
Resolution Note:
This is a bug in the project. It patches generated C++ code and does it incorrectly, causing it not to compile anymore.