Resolve Azure Spatial Anchor Unity Package Issue on Mac (1st May 2021 Changes)

Problem: On 1 May 2021, The unity package update from Bintray no longer working

Unity3D will not able to resolve the packages from the previous location.

https://api.bintray.com/npm/microsoft/AzureMixedReality-NPM/com.microsoft.azure.spatial-anchors-sdk.core

2021-05-21_21-14-43
2021-05-21_19-08-12

Solution: Using alternative way to add unity package

New proposed solution by Azure team currently only works for Windows using Mixed Reality Feature Tool

For mac, manually download or using npm to obtain the version you need from the following link into a folder. For this case DownloadedPackage Folder under Unity Project is created.

https://dev.azure.com/aipmr/MixedReality-Unity-Packages/_packaging?_a=feed&feed=Unity-packages

2021-05-21_22-22-08

Remove the earlier package setup in Manifect.json
2021-05-21_22-23-24

2021-05-21_22-25-54

lastly import all the packages through Unity3D package manager
2021-05-21_22-17-25

Another way is Directly alter the earlier package setup in Manifect.json

from the following:

{
  "scopedRegistries": [
    {
      "name": "Azure Mixed Reality Services",
      "url": "https://api.bintray.com/npm/microsoft/AzureMixedReality-NPM",
      "scopes": [
        "com.microsoft.azure.spatial-anchors-sdk"
      ]
    }
  ],
  "dependencies": {
    "com.microsoft.azure.spatial-anchors-sdk.android": "2.9.0",
    "com.microsoft.azure.spatial-anchors-sdk.ios": "2.9.0",
    "com.microsoft.azure.spatial-anchors-sdk.windows": "2.9.0",
    "com.unity.2d.sprite": "1.0.0",
    "com.unity.2d.tilemap": "1.0.0",
    "com.unity.ads": "3.6.1",
    "com.unity.analytics": "3.5.3",
    "com.unity.collab-proxy": "1.3.9",
    "com.unity.ide.rider": "2.0.7",
    "com.unity.ide.visualstudio": "2.0.7",
    "com.unity.ide.vscode": "1.2.3",
    "com.unity.purchasing": "2.2.2",
    "com.unity.test-framework": "1.1.22",
    "com.unity.textmeshpro": "3.0.1",
    "com.unity.timeline": "1.4.6",
    "com.unity.ugui": "1.0.0",
    "com.unity.xr.arcore": "4.0.12",
    "com.unity.xr.arfoundation": "4.0.12",
    "com.unity.xr.arkit": "4.0.12",
    "com.unity.xr.arsubsystems": "4.0.8",
    "com.unity.modules.ai": "1.0.0",
    "com.unity.modules.androidjni": "1.0.0",
    "com.unity.modules.animation": "1.0.0",
    "com.unity.modules.assetbundle": "1.0.0",
    "com.unity.modules.audio": "1.0.0",
    "com.unity.modules.cloth": "1.0.0",
    "com.unity.modules.director": "1.0.0",
    "com.unity.modules.imageconversion": "1.0.0",
    "com.unity.modules.imgui": "1.0.0",
    "com.unity.modules.jsonserialize": "1.0.0",
    "com.unity.modules.particlesystem": "1.0.0",
    "com.unity.modules.physics": "1.0.0",
    "com.unity.modules.physics2d": "1.0.0",
    "com.unity.modules.screencapture": "1.0.0",
    "com.unity.modules.terrain": "1.0.0",
    "com.unity.modules.terrainphysics": "1.0.0",
    "com.unity.modules.tilemap": "1.0.0",
    "com.unity.modules.ui": "1.0.0",
    "com.unity.modules.uielements": "1.0.0",
    "com.unity.modules.umbra": "1.0.0",
    "com.unity.modules.unityanalytics": "1.0.0",
    "com.unity.modules.unitywebrequest": "1.0.0",
    "com.unity.modules.unitywebrequestassetbundle": "1.0.0",
    "com.unity.modules.unitywebrequestaudio": "1.0.0",
    "com.unity.modules.unitywebrequesttexture": "1.0.0",
    "com.unity.modules.unitywebrequestwww": "1.0.0",
    "com.unity.modules.vehicles": "1.0.0",
    "com.unity.modules.video": "1.0.0",
    "com.unity.modules.vr": "1.0.0",
    "com.unity.modules.wind": "1.0.0",
    "com.unity.modules.xr": "1.0.0"
  }
}

to

{
  "dependencies": {
    "com.microsoft.azure.spatial-anchors-sdk.android": "file:../DownloadedPackages/com.microsoft.azure.spatial-anchors-sdk.android-2.9.0.tgz",
    "com.microsoft.azure.spatial-anchors-sdk.core": "file:../DownloadedPackages/com.microsoft.azure.spatial-anchors-sdk.core-2.9.0.tgz",
    "com.microsoft.azure.spatial-anchors-sdk.ios": "file:../DownloadedPackages/com.microsoft.azure.spatial-anchors-sdk.ios-2.9.0.tgz",
    "com.microsoft.azure.spatial-anchors-sdk.windows": "file:../DownloadedPackages/com.microsoft.azure.spatial-anchors-sdk.windows-2.9.0.tgz",
    "com.unity.2d.sprite": "1.0.0",
    "com.unity.2d.tilemap": "1.0.0",
    "com.unity.ads": "3.6.1",
    "com.unity.analytics": "3.5.3",
    "com.unity.collab-proxy": "1.3.9",
    "com.unity.ide.rider": "2.0.7",
    "com.unity.ide.visualstudio": "2.0.7",
    "com.unity.ide.vscode": "1.2.3",
    "com.unity.purchasing": "2.2.2",
    "com.unity.test-framework": "1.1.22",
    "com.unity.textmeshpro": "3.0.1",
    "com.unity.timeline": "1.4.6",
    "com.unity.ugui": "1.0.0",
    "com.unity.xr.arcore": "4.0.12",
    "com.unity.xr.arfoundation": "4.0.12",
    "com.unity.xr.arkit": "4.0.12",
    "com.unity.xr.arsubsystems": "4.0.8",
    "com.unity.modules.ai": "1.0.0",
    "com.unity.modules.androidjni": "1.0.0",
    "com.unity.modules.animation": "1.0.0",
    "com.unity.modules.assetbundle": "1.0.0",
    "com.unity.modules.audio": "1.0.0",
    "com.unity.modules.cloth": "1.0.0",
    "com.unity.modules.director": "1.0.0",
    "com.unity.modules.imageconversion": "1.0.0",
    "com.unity.modules.imgui": "1.0.0",
    "com.unity.modules.jsonserialize": "1.0.0",
    "com.unity.modules.particlesystem": "1.0.0",
    "com.unity.modules.physics": "1.0.0",
    "com.unity.modules.physics2d": "1.0.0",
    "com.unity.modules.screencapture": "1.0.0",
    "com.unity.modules.terrain": "1.0.0",
    "com.unity.modules.terrainphysics": "1.0.0",
    "com.unity.modules.tilemap": "1.0.0",
    "com.unity.modules.ui": "1.0.0",
    "com.unity.modules.uielements": "1.0.0",
    "com.unity.modules.umbra": "1.0.0",
    "com.unity.modules.unityanalytics": "1.0.0",
    "com.unity.modules.unitywebrequest": "1.0.0",
    "com.unity.modules.unitywebrequestassetbundle": "1.0.0",
    "com.unity.modules.unitywebrequestaudio": "1.0.0",
    "com.unity.modules.unitywebrequesttexture": "1.0.0",
    "com.unity.modules.unitywebrequestwww": "1.0.0",
    "com.unity.modules.vehicles": "1.0.0",
    "com.unity.modules.video": "1.0.0",
    "com.unity.modules.vr": "1.0.0",
    "com.unity.modules.wind": "1.0.0",
    "com.unity.modules.xr": "1.0.0"
  }
}