You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I cloned the repo to:
D:\Git\OpenSource\Microsoft\MixedReality-WorldLockingTools-Unity
Tried to build for UWP which failed building with this unclear error message: DirectoryNotFoundException: Could not find a part of the path "D:\Git\OpenSource\Microsoft\MixedReality-WorldLockingTools-Unity\Assets\MRTK\MixedRealityToolkit.Providers\WindowsMixedReality\DotNetAdapter\Plugins\net46\Microsoft.Windows.MixedReality.DotNetWinRT\Editor\Microsoft.Windows.MixedReality.DotNetWinRT.Editor.asmdef"
Looking at the long path I guessed it could be hitting the Windows path length limit, therefore I moved the project to the root on my D: disk and there it built just fine.
Not sure what can be done here as it seems to come from the MRTK but might be worth to look into. My typical subfolder I tried to use initially is not extraordinary long and I would expect others to run into the same issue.
The text was updated successfully, but these errors were encountered:
With the upcoming release, this should be alleviated (i.e. we did some work in MRTK itself to not have such a crazy long path).
That being said, I think that you'll still likely hit this with longer prefix paths to projects, so to some degree having it be closer to root is still probably good to do.
Nice detective work, Rene. I will follow up on this. At the very least I can document this in the setup guide to augment the "unclear error message". Thanks!
I cloned the repo to:
D:\Git\OpenSource\Microsoft\MixedReality-WorldLockingTools-Unity
Tried to build for UWP which failed building with this unclear error message: DirectoryNotFoundException: Could not find a part of the path "D:\Git\OpenSource\Microsoft\MixedReality-WorldLockingTools-Unity\Assets\MRTK\MixedRealityToolkit.Providers\WindowsMixedReality\DotNetAdapter\Plugins\net46\Microsoft.Windows.MixedReality.DotNetWinRT\Editor\Microsoft.Windows.MixedReality.DotNetWinRT.Editor.asmdef"
Looking at the long path I guessed it could be hitting the Windows path length limit, therefore I moved the project to the root on my D: disk and there it built just fine.
Not sure what can be done here as it seems to come from the MRTK but might be worth to look into. My typical subfolder I tried to use initially is not extraordinary long and I would expect others to run into the same issue.
The text was updated successfully, but these errors were encountered: