-
Notifications
You must be signed in to change notification settings - Fork 114
ERROR WITH SpatialAnchorConfig #445
Comments
In the Unity Editor select the assembly In the Inspector under "Assembly Definition References" click the "+" sign and drag in the assembly called This assembly is either located in the packages folder if you imported the Azure Spatial Anchors SDK through the Package Manager. Or it's located in your Assets folder if you imported it as old-fashioned '.unitypackage'. Then hit Apply at the bottom of the Inspector window. Does that fix the problem? If it doesn't, try to adding three more assembly definition references for the specific ASA SDK platforms right after the Core Runtime assembly: AzureSpatialAnchors.SDK.iOS.Runtime.asmdef AzureSpatialAnchors.SDK.Android.Runtime.asmdef AzureSpatialAnchors.SDK.Windows.Runtime.asmdef Let me know if it worked :) |
The errors disappeared when I set the repository path C:\SpectatorView |
C:\SpectatorView\src\SpectatorView.Unity\Assets\SpectatorView\Scripts\SpatialAlignment\MarkerVisual\QRCodeMarkerVisualDetectorSpatialLocalizer.cs(20,25): error CS0234: The type or namespace name 'Package' does not exist in the namespace 'Microsoft.Windows.ApplicationModel' (are you missing an assembly reference?) |
C:\SpectatorView\src\SpectatorView.Unity\Assets\SpectatorView\Scripts\SpatialAlignment\MarkerVisual\QRCodeMarkerVisualDetectorSpatialLocalizer.cs(20,85): error CS0234: The type or namespace name 'ProcessorArchitecture' does not exist in the namespace 'Microsoft.Windows.System' (are you missing an assembly reference?) |
Go into all files which trigger the error and search for statements like this:
Now prefix the Windows.xxx. statements with the global:: namespace like so:
|
Thank you so much))) compilation of the build was successful) |
Tomorrow I will test on hololins, I hope everything will be fine) |
so... |
I have some errors with build Appx file: Command failed, errorCode: 1 |
maybe I need to install a different version of MixedReality.Toolkit? |
I don't understand, why not just throw off UnityPackaje, in which everything is already configured? What is the point of spending time on something that can be done in 5 minutes |
Саn you tell me how to create a SpatialAnchorConfig file??
I have 9 errors due to BuildDemo2019 compilation.
any information is useful!
The text was updated successfully, but these errors were encountered: