I am trying to build an app for the Hololens. It already worked a lot of times, as I am developing since about 10 months. But all of a sudden, a reference is broken. I have appended a screenshot.
I have already tried (for weeks):
- Downgrading to version before, I also tried all unity versions available since 2018
- Reimporting all assets
- Running a virus scanner because crypto mining malware can affect imports
- Talked to Microsoft support
- Did manual imports with a csc.rsp file
- Tried building in unity and running in vs code.
- Tried to delete the dlls
- Tried to add missing dlls in a lot of places.
- Creating a whole new project but error persists.
- A lot of other things I can not remember right now.
It looks like Unity is not able to copy System.web.dll into the Temp\Staging folder. Kind regards
Since the build completes in the end, did you test deploying the app?
We have a similar list of errors when building our app, but it still works as expected when deployed to a HoloLens. It appears similar bugs have appeared a number of times before as well:
https://github.com/microsoft/MixedRealityToolkit-Unity/issues/3939 https://fogbugz.unity3d.com/default.asp?1146307_k5pfi2qqltmcvqm5