The type or namespace name 'VPSLocationManifest' could not be found

  • Issue category: ARDK Documentation / / Developer Tools /VPS / Scanning Framework
  • Device type & OS version: Android
  • Host machine & OS version: Windows
  • Issue Environment : Unity Remote / On Device
  • Xcode version:
  • ARDK version: 2.5.2
  • Unity version: 2022.3.4f1

Description of the issue:

Hi, I’m trying to develop an application with the VPS Location.
I created with the VPS Authoring Assistant my VPSLocationManifest.
In my script call “StartSession” when the experience starts, it downloads from a Resource folder all my VPSLocationManifest.

In my scene I’ve add the Location Manifest Manager. In “StartSession” I get via [SerializeField] the ManifestManager in the scene.

So the script creates foreach VPSLocationManifest the RuntimeVPSLocationManifest, and add it to the array in the Location Manifest Manager.

In the editor the script works without problem, but if I try to Build on Android and error occur: “error CS0246: The type or namespace name ‘VPSLocationManifest’ could not be found”.

The namespace for the VPSLocationManifest is present in my script, the RemoteAuthoring Example is builded but, if I insert the type of “VPS Location Manifest” , it stop to work.

public class StartSession : MonoBehaviour

        private LocationManifestManager manifestManager;
        private VPSLocationManifest manifestJason;

private void Start()
        var updateManifest = manifestManager.Manifests.ToList();

        var getManifests = Resources.LoadAll("Manifests");


        for (int i = 0; i < getManifests.Length; i++)

           var manifest = getManifests[i];
            if(manifest.GetType() == typeof(VPSLocationManifest))
                RuntimeVPSLocationManifest RuntimeManifest = new RuntimeVPSLocationManifest(manifest as VPSLocationManifest);

manifestManager.Manifests = updateManifest.ToArray();


There is something that I don’t know. Someone can help me?

Hi Extesa,

The class you’re looking for is the RuntimeVPSLocationManifest in the Niantic.ARDK.AR.WayspotAnchors namespace.

Kind Regards,
Maverick L.

I already using that namespace.

I discover that some methods of this class working only in editor mode. So now I’m trying a new way. In the editor I used it to populate with the anchors, and after I created a prefab with the populated anchors and download it directly with the anchors set.