The Mixed Reality Forums here are no longer being used or maintained.
There are a few other places we would like to direct you to for support, both from Microsoft and from the community.
The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.
For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.
If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.
And always feel free to hit us up on Twitter @MxdRealityDev.
[Solved] Sudden Trouble Building App / Metafile & First-pass.dll Missing?
The solution to this problem for me was to factory reset the hololens as well as my computer, and reinstall all software fresh. Also, don't forget to pair up your hololens before you attempt to build to it.
I know this solution is far from ideal - but if you need a quick fix, this is about as quick as I found.
Greetings holo devs,
I have followed the exact steps Microsoft lists under multiple projects within their Microsoft Holographic - Academy tutorials. I completed them all, and all of them worked just fine from creation to export and testing. This is using Unity3D / C# which gets compiled into a Visual Studio Solution (sln) file.
After completing those, I went on to build my own app - which built just fine as well. No problem!
Now when I try to build - I get a strange error that the c-Sharp.firstpass file (the exported/cross-compiled dll from what I understand) can not be found.
Now even the projects that built successfully won't build any more.
I will paste the exact error below.
Things I have tried:
- Creating a new project and pasting all of the previous assets into it - then rebuilding.
- Cleaning the VS project
- Restarting my computer
- Restarting Unity3D
- Uninstalling and reinstalling Visual Studio (recommended version)
- Uninstalling and reinstalling Unity3D (recommended version)
- Following the tutorials step-by-step again
- Searching StackOverflow and attempting every solution whose question remotely resembled my issue
- Asking on Unity Answers (2 days ago)
- Building the project file to different drives, folders, locations, etc.
- To not give up
There seems to be a referencing issue - so I have also unreferenced/referenced the mentioned file.
Thanks for any and all help
The command ""D:\Development\Hololens Builds\PlanetApp\Unity\Tools\SerializationWeaver\SerializationWeaver.exe" "D:\Development\Hololens Projects\Planetarium\UWP\Assembly-CSharp-firstpass\bin\x86\Release\Unprocessed\Assembly-CSharp-firstpass.dll" -pdb -verbose -unity-engine="D:\Development\Hololens Builds\PlanetApp\Planetarium\Unprocessed\UnityEngine.dll" -unity-networking=D:\Development\Hololens Builds\PlanetApp\Planetarium\Unprocessed\UnityEngine.Networking.dll "D:\Development\Hololens Projects\Planetarium\UWP\Assembly-CSharp-firstpass\obj\x86\Release\x86\Release"" exited with code 1. Assembly-CSharp-firstpass D:\Development\Hololens Projects\Planetarium\UWP\Assembly-CSharp-firstpass\Assembly-CSharp-firstpass.csproj 180 Metadata file 'D:\Development\Hololens Projects\Planetarium\UWP\Assembly-CSharp-firstpass\bin\x86\Release\Assembly-CSharp-firstpass.dll' could not be found Assembly-CSharp D:\Development\Hololens Projects\Planetarium\UWP\Assembly-CSharp\CSC Metadata file 'D:\Development\Hololens Projects\Planetarium\UWP\Assembly-CSharp\bin\x86\Release\Assembly-CSharp.dll' could not be found Planetarium D:\Development\Hololens Builds\PlanetApp\Planetarium\CSC