Search Issue Tracker
Fixed in 4.6.5
Votes
0
Found in
5.0.0f4
Issue ID
677960
Regression
No
[WSA] Build and run error in the editor
Pressing "build and run" button when building to WSA platform (specific build parameters are given below) editor shows such error:
---
Exception: Failed to build Visual Studio project. Output:
UnityInstallationDir "C:\Program Files\Unity\Editor".
UnityWSAPlayerDir "C:\Program Files\Unity\Editor\Data\PlaybackEngines\metrosupport".
UnityProjectDir "C:\BUILD AND RUN TEST\510a3".
Copying unprocessed assemblies...
C:\BUILD AND RUN TEST\510a3\Assembly-CSharp-metro-vs2013.csproj(3,3): error MSB4019: The imported project "C:\BUILD AND RUN TEST\510a3\UnityCommon.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
C:\BUILD AND RUN TEST\510a3\Assembly-CSharp-firstpass-metro-vs2013.csproj(3,3): error MSB4019: The imported project "C:\BUILD AND RUN TEST\510a3\UnityCommon.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
---
More of errors are in the attached log file "log.txt";
"Build and run" doesn't make error to appear when building to WSA, sdk8.1, without Unity C# projects
Reproducible on 4.5, 4.6. 5.0, 5.1;
Different version provides slightly different error messages;
Repro steps:
1. create an empty project;
2. set such settings in build settings:
>sdk: 8.0, without Unity C# projects
or
>sdk: 8.0, with Unity C# projects
or
>sdk: 8.1, with Unity C# projects
3. press "build and run" button;
Workaround: don't use "build and run" button.
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
- Red spots appear when Blending Lighting Scenarios using Adaptive Probe Volumes
- [Windows] About Unity Window needs to be opened twice to adapt to resolution
- NullReferenceException and temporary graph corruption after entering playmode if output node connection was changed
- Sprite Renderer with Animation does not reflect Sprite changes in the Scene when switching Mask Interaction
- User is redirected to a non-existing online documentation link when clicking on "?" help button inside Inspector window while Animator Override Controller is selected
shubhamswaraj2021
Aug 20, 2020 01:54
good one <a href="https://www.lyricsauto.com">lyricsauto</a>
Fabien Renaud
Jul 08, 2015 18:33
I have the same issue with Unity 5.1.1f1 and i'm building from command line.