Search Issue Tracker

Fixed

Fixed in 2022.3.19f1, 2023.2.8f1, 2023.3.0b3, 7000.0.0a1

Votes

8

Found in

2022.3.15f1

Issue ID

UUM-56483

Regression

Yes

il2cppFileRoot.txt and LineNumberMappings.json end up being referenced in generated project but are not actually present, breaking the build

--

-

Repro steps:

1. Create a new project using the 3D project template;
2. Switch target platform to Universal Windows Platform;
3. Go to Project Settings -> Services and link the project to any cloud project ID, and make sure to answer the COPPA question (doesn't what you answer, just don't leave it blank);
4. Go to the Package Manager -> Services -> install Cloud Diagnostics package
5. Go back to Project Settings -> Services -> Cloud Diagnostics and enable it via the toggle on the top right corner
6. Press Build & Run in the build window.

Expected: Build succeeds
Actual: Build fails with error:

C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Microsoft\VisualStudio\v17.0\AppxPackage\Microsoft.AppXPackage.Targets(3011,5): error APPX0702: Payload file 'E:\UnitySrc\Unity Projects\My project (103)\bin\Il2CppOutputProject\Source\il2cppOutput\Symbols\il2cppFileRoot.txt' does not exist. [E:\UnitySrc\Unity Projects\My project (103)\bin\My project (103)\My project (103).vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Microsoft\VisualStudio\v17.0\AppxPackage\Microsoft.AppXPackage.Targets(3011,5): error APPX0702: Payload file 'E:\UnitySrc\Unity Projects\My project (103)\bin\Il2CppOutputProject\Source\il2cppOutput\Symbols\LineNumberMappings.json' does not exist. [E:\UnitySrc\Unity Projects\My project (103)\bin\My project (103)\My project (103).vcxproj]

Reported on the forum: https://forum.unity.com/threads/uwp-build-crashing.1454554/

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.