# NSDK Documentation -- Niantic Spatial SDK (NSDK) > Index of the NSDK guides (Unity, Swift, Kotlin). Each entry links to a small per-page file with that guide flattened to plain text; platform-conditional content is expanded under "Platform: " headings within each page. Fetch the page you need. - [Overview](https://www.nianticspatial.com/docs/llms-nsdk/index.txt) -- Welcome to Niantic Spatial SDK for. - [Core concepts](https://www.nianticspatial.com/docs/llms-nsdk/core_concepts.txt) -- This guide introduces the core concepts behind building AR applications with the Niantic Spatial Development Kit (NSDK) and explains how it operates so you can... - [Account](https://www.nianticspatial.com/docs/llms-nsdk/create_account.txt) -- To use Niantic's SDK (NSDK), you must have a Scaniverse account. Each account belongs to an Organization, which manages projects, collaborators, and shared... - [Set up the Niantic SDK](https://www.nianticspatial.com/docs/llms-nsdk/setup.txt) -- The Niantic Spatial SDK (NSDK) for Unity extends AR Foundation with Niantic Spatial features for VPS localization, depth, occlusion, meshing, semantics, and... - [Authorization](https://www.nianticspatial.com/docs/llms-nsdk/auth_getting_started.txt) -- There are three common reasons to use token-based authorization with NSDK:. - [Sample login reference](https://www.nianticspatial.com/docs/llms-nsdk/auth_client.txt) -- The NSDK sample apps include a complete login flow that exchanges a Scaniverse login for an NSDK access token through Niantic's sample backend. This page... - [Generate developer tokens](https://www.nianticspatial.com/docs/llms-nsdk/auth_developer_token.txt) -- Developer tokens are the simplest way to authorize the Niantic Software Development Kit (NSDK) and Niantic Spatial REST APIs. When you generate a developer... - [Generate access tokens](https://www.nianticspatial.com/docs/llms-nsdk/auth_backend.txt) -- This page describes the production deployment authorization flow introduced in Authorization. In this flow, your backend uses a service account API key to... - [Getting Logs](https://www.nianticspatial.com/docs/llms-nsdk/getting_logs.txt) -- This guide explains how to access logs for your NSDK application on Kotlin and Swift platforms. - [Niantic SDK Settings](https://www.nianticspatial.com/docs/llms-nsdk/xr_settings.txt) -- You will need a Unity project with NSDK enabled. For more information, see Set up the Niantic SDK for Unity. - [Developing for NSDK on XR Headsets](https://www.nianticspatial.com/docs/llms-nsdk/how-to/unity/headset_development.txt) -- Working with NSDK on XR headsets is, in many ways, the same as developing an AR experience for mobile devices. Due to hardware differences between XR headsets... - [Project Validation](https://www.nianticspatial.com/docs/llms-nsdk/features/project_validation.txt) -- Niantic Spatial SDK enables the Unity Project Validation system to identify issues with NSDK, including configuration problems in Projects and Scenes. These... - [First localization with NSDK](https://www.nianticspatial.com/docs/llms-nsdk/first_localization.txt) -- Localization determines a device's position and orientation in the real world. VPS2 localization provides precise alignment when the device is within a scanned... - [Localization](https://www.nianticspatial.com/docs/llms-nsdk/features/localization.txt) -- Anchor your experiences to the real world. - [Visual Positioning System 2 (VPS2)](https://www.nianticspatial.com/docs/llms-nsdk/features/vps2.txt) -- Niantic Spatial's Visual Positioning System 2 (VPS2) helps an app estimate where the device is in the world, and place content at a stable position inside a... - [Get started with VPS2](https://www.nianticspatial.com/docs/llms-nsdk/how-to/vps2/adding_vps2.txt) -- This guide assumes that you have already completed: - Set up the Niantic SDK for Unity - Authorization. - [Geolocate with VPS2](https://www.nianticspatial.com/docs/llms-nsdk/how-to/vps2/getting_vps2_geoposition.txt) -- This guide assumes that you have already completed:. - [Place virtual content with VPS2](https://www.nianticspatial.com/docs/llms-nsdk/how-to/vps2/placing_virtual_content.txt) -- This guide explains how to place virtual content in an AR scene using an anchor. - [Migrate from VPS to VPS2](https://www.nianticspatial.com/docs/llms-nsdk/features/vps2_migration.txt) -- This guide is for developers migrating from Unity ARDK 3.x to NSDK 4.x. - [Sites](https://www.nianticspatial.com/docs/llms-nsdk/features/sites.txt) -- The Sites feature provides access to organized entity data in the Niantic Spatial platform, enabling your application to discover and navigate the... - [Getting Started with Sites](https://www.nianticspatial.com/docs/llms-nsdk/how-to/sites/getting_started.txt) -- The Sites feature provides an API for querying hierarchical data in the Niantic Spatial platform. This guide will help you get started using Sites in your... - [How to Download a Mesh Using the API](https://www.nianticspatial.com/docs/llms-nsdk/how-to/vps/mesh_download.txt) -- With the Mesh Download API, you can download and create a mesh of any Site at runtime, allowing you to dynamically create mesh overlays in AR scenes. This... - [Set up the project](https://www.nianticspatial.com/docs/llms-nsdk/vps2e2e/vps2-e2e-getting-started.txt) -- This guide begins a five-part series on creating a wayfinding experience with VPS2. In this tutorial, wayfinding means helping a user understand where they... - [Initialize the wayfinding app](https://www.nianticspatial.com/docs/llms-nsdk/vps2e2e/vps2-e2e-landing-page.txt) -- This guide is the second part of a five-part series on creating a wayfinding experience to help a user understand where they are, choose a destination... - [Select a Site and anchor payload](https://www.nianticspatial.com/docs/llms-nsdk/vps2e2e/vps2-e2e-map-view.txt) -- This page implements the Select a Site and anchor payload step in the wayfinding workflow. In this workflow, the user browses Sites on a map, selects a Site... - [Start VPS2 localization](https://www.nianticspatial.com/docs/llms-nsdk/vps2e2e/vps2-e2e-ar-effect-1.txt) -- This page implements the Start VPS2 localization step in the wayfinding workflow. In this workflow, the user has already selected a Site, passed its Production... - [Advanced AR and localization](https://www.nianticspatial.com/docs/llms-nsdk/vps2e2e/vps2-e2e-ar-effect-2.txt) -- This page implements the Advanced AR effects and precise localization step in the wayfinding workflow. In this workflow, the user has already selected a Site... - [AR Effects](https://www.nianticspatial.com/docs/llms-nsdk/features/ar_effects.txt) -- Tools for grounding your virtual content in the real world. - [Niantic Spatial Depth](https://www.nianticspatial.com/docs/llms-nsdk/features/depth.txt) -- Depth refers to the distance between the camera and the objects in a scene -- essentially, how far away each pixel is from the viewer's perspective. In... - [Adding Depth to Your Project](https://www.nianticspatial.com/docs/llms-nsdk/how-to/ar/depth/adding_depth.txt) -- When using Unity, the Niantic Spatial SDK (NSDK) integrates seamlessly with Unity's AR Foundation. This means your application can access depth data through... - [Displaying Depth](https://www.nianticspatial.com/docs/llms-nsdk/how-to/ar/depth/display_depth.txt) -- This tutorial explains how to visualize the environment depth texture provided by NSDK using Unity's UI system. This can be useful for debugging or validating... - [Displaying Interpolated Depth](https://www.nianticspatial.com/docs/llms-nsdk/how-to/ar/depth/interpolated_depth.txt) -- In the previous tutorial, we learned how to display the raw environment depth texture from NSDK using Unity's AROcclusionManager. That setup visualized the... - [Preloading the Model File](https://www.nianticspatial.com/docs/llms-nsdk/features/model_preloading.txt) -- NSDK's awareness features rely on neural network models to know how to draw each pixel in an AR environment. Because these models are not included with NSDK... - [Occlusion](https://www.nianticspatial.com/docs/llms-nsdk/features/occlusion.txt) -- Occlusion ensures virtual content appears correctly behind real-world objects. Without occlusion, AR objects may appear to float in front of surfaces they... - [Adding Occlusion to Your Project](https://www.nianticspatial.com/docs/llms-nsdk/how-to/ar/adding_occlusion.txt) -- The Niantic Spatial Unity SDK (NSDK) extends the AR Foundation XROcclusion and XRMeshing subsystems with Niantic Spatial's improved algorithms, seamlessly... - [Meshing](https://www.nianticspatial.com/docs/llms-nsdk/features/meshing.txt) -- The nature of augmented reality requires physical space to be perceived and understood so that graphics and contextual information are correct from the user's... - [Adding Meshing to Your Project](https://www.nianticspatial.com/docs/llms-nsdk/how-to/ar/meshing/adding_meshing.txt) -- By placing the standard ARMeshManager in a scene, developers can access a live mesh that allows virtual objects to interact with the real-world environment... - [Level of Detail Meshing](https://www.nianticspatial.com/docs/llms-nsdk/experimental/level_of_detail_meshing.txt) -- Niantic Spatial Meshing reconstructs the visible geometry of the scene, allowing AR characters and objects to interact physically with their environment. By... - [Preloading the Model File](https://www.nianticspatial.com/docs/llms-nsdk/features/model_preloading_meshing.txt) -- NSDK's awareness features rely on neural network models to know how to draw each pixel in an AR environment. Because these models are not included with NSDK... - [Niantic Spatial Scene Segmentation](https://www.nianticspatial.com/docs/llms-nsdk/features/semantics.txt) -- Scene Segmentation is the process of classifying every pixel in an image into meaningful categories, creating a detailed understanding of the environment. This... - [Adding Scene Segmentation](https://www.nianticspatial.com/docs/llms-nsdk/how-to/ar/adding_semantics.txt) -- NSDK provides this unique feature through the new XRSemanticsSubsystem class. The ARSemanticSegmentationManager makes this subsystem's data available as a... - [Preloading the Model File](https://www.nianticspatial.com/docs/llms-nsdk/features/model_preloading_semantics.txt) -- NSDK's awareness features rely on neural network models to know how to draw each pixel in an AR environment. Because these models are not included with NSDK... - [How to Convert a Screen Point to Real-World Position Using Depth](https://www.nianticspatial.com/docs/llms-nsdk/how-to/ar/depth/convert_point_world_position.txt) -- Niantic Spatial SDK's depth map output allows for dynamically placing objects in an AR scene without the use of planes or a mesh. This guide covers the process... - [How to Set Up Real-World Occlusion](https://www.nianticspatial.com/docs/llms-nsdk/how-to/ar/setup_real_world_occlusion.txt) -- On iOS, Niantic Spatial depth can be used to occlude virtual content in several ways, depending on how much control you need over rendering and synchronization. - [How to Exclude Semantic Channels with Mesh Filtering](https://www.nianticspatial.com/docs/llms-nsdk/how-to/ar/meshing/semantic_mesh_filtering.txt) -- Semantic Mesh Filtering allows you to set an allow list or block list of semantic channels. These follow standard allow/block list behavior. Using an allow... - [How to Add Physics to a Meshed Scene](https://www.nianticspatial.com/docs/llms-nsdk/how-to/ar/meshing/meshing_physics_real_world.txt) -- This how-to covers: Adding dynamic meshing to a scene with the default manager; How to create a prefab for meshing; Interacting with mesh physics; Making the... - [How to Query Scene Segmentation and Highlight Semantic Channels](https://www.nianticspatial.com/docs/llms-nsdk/how-to/ar/query_semantics_real_objects.txt) -- This how-to covers: Querying scene segmentation to detect what is on-screen at a point the player touches; Highlighting a specific semantic channel based on... - [How to Use Neural Network Model Preloading](https://www.nianticspatial.com/docs/llms-nsdk/how-to/ar/use_model_preloading.txt) -- Meshing, depth & occlusion, and scene segmentation use neural network models to process the camera frames. To improve runtime performance, Model Preloading... - [How to enable scan visualization](https://www.nianticspatial.com/docs/llms-nsdk/how-to/ar/scan_visualization.txt) -- Scan visualization gives users real-time feedback while they scan. Areas that have been sufficiently captured appear in full color, while incomplete areas... - [Experimental](https://www.nianticspatial.com/docs/llms-nsdk/experimental/index.txt) -- Experimental features are not recommended for use in production-level applications! :::. - [Windows Development](https://www.nianticspatial.com/docs/llms-nsdk/experimental/windows.txt) -- Windows development is available in NSDK 4 as an experimental feature. - [Device Mapping](https://www.nianticspatial.com/docs/llms-nsdk/features/device_mapping.txt) -- Device Mapping is a system that scans and tracks real-world objects, allowing you to place content in alignment with the real world. On the surface, it is... - [How to Create a Device Map](https://www.nianticspatial.com/docs/llms-nsdk/how-to/vps/adding_device_mapping.txt) -- Before you can use a device map in your AR application, you will need to create and save it. In this tutorial, we will go over how to create and save a device... - [Using Device Maps](https://www.nianticspatial.com/docs/llms-nsdk/how-to/vps/using_device_maps.txt) -- Now that we have created a device map and saved it to a file, we can read it to place virtual objects in the AR scene. In this how-to, we will cover reading a... - [Sample Projects](https://www.nianticspatial.com/docs/llms-nsdk/sample_projects.txt) -- These samples are designed to demonstrate the uses of each feature in our SDK. The sample project launches multiple small samples that you can try out and look... - [Developer Tools](https://www.nianticspatial.com/docs/llms-nsdk/features/developer_tools.txt) -- Streamline the development of your product. Our developer tools enable you to test your project from the comfort of your desk and eliminates the need to visit... - [How to Set Up and Run NSDK Simulation](https://www.nianticspatial.com/docs/llms-nsdk/how-to/unity/simulation_mocking.txt) -- NSDK Simulation allows you to test your AR content in-editor without having to use Unity's playback mode. Our simulation mode allows you to move freely around... - [Recording and Playback](https://www.nianticspatial.com/docs/llms-nsdk/features/playback.txt) -- The Playback feature allows you to import pre-recorded AR sessions and re-run them during a new AR runtime session. Using Playback supplies the application... - [How to set up playback](https://www.nianticspatial.com/docs/llms-nsdk/how-to/playback/setting_up_playback.txt) -- This guide explains how to set up Playback so you can iterate in the Unity Editor instead of building to a device. Playback runs NSDK algorithms in the editor... - [Create playback datasets](https://www.nianticspatial.com/docs/llms-nsdk/how-to/playback/create_playback_dataset.txt) -- Use NSDK Recording to capture camera, motion, and sensor data from an AR session. Export the recording as a playback dataset for repeatable testing in the... - [Migration guide](https://www.nianticspatial.com/docs/llms-nsdk/migration_guide.txt) -- Upgrade from legacy Lightship.dev and ARDK SDK to Scaniverse and NSDK 4.0. Developers must migrate Lightship.dev content to Scaniverse. Developers maintaining... - [Glossary](https://www.nianticspatial.com/docs/llms-nsdk/glossary.txt) -- AR Scene - A Unity Scene that has an ARSession and XROrigin setup to enable AR. See Set up a basic AR scene. - [Download SDK](https://www.nianticspatial.com/docs/llms-nsdk/downloads.txt) -- The Niantic Spatial SDK (NSDK) is built to work with iOS, Android, and Unity. For the best experience, please ensure your development environment meets the... - [Release Notes](https://www.nianticspatial.com/docs/llms-nsdk/release_notes.txt) -- Scaniverse now available on Android Meta Quest 3 support restored iOS simulator support for x86_64 New Kotlin wayfinding guide * Updated Unity version to... - [NSDK Data Privacy](https://www.nianticspatial.com/docs/llms-nsdk/data_privacy.txt) -- Niantic Spatial requires applications built on its platform to prioritize user safety, privacy, and responsible real-world interactions. Developers must avoid... - [Contact Us](https://www.nianticspatial.com/docs/llms-nsdk/contact_us.txt) -- You can contact the Niantic Spatial Platform team in our Community Forums if you have any questions.