Load World Space Content associated with a Spatial Map
This guide explains how to load content assigned to a specific World Space after a Spatial Map has been initialized.
Prerequisites
- A project has been created from the Portal.
- A Spatial Map has been selected and successfully loaded.
- The scene contains the
XenseARBlocksGameObject.
Procedure
-
Enter Play Mode
Click the
Playbutton in the Unity Editor to enter Play Mode. -
Select the Active Block
In the
Hierarchy, locate theXenseARBlocksGameObject.- Expand
XenseARBlocks. - Select the active child GameObject.
- Expand
-
Load World Space Metadata
From the Unity menu bar, select:
ARWorld -> Load AllIn the
Inspectorof the selected GameObject, the list of World Spaces associated with the current Spatial Map will be displayed underWorld Datas. -
Select the Target World Space
- Locate the desired World Space in the
World Dataslist. - Copy its
World Id. - Paste the value into the
World IDfield of theWorld Selectorcomponent.
- Locate the desired World Space in the
-
Load World Content
Click
Load World Datain theWorld Selectorcomponent.The system will download and instantiate all Anchors associated with the selected World Space.
ℹ️ Info
World Space content is loaded dynamically at runtime. Ensure that you are in Play Mode before attempting to load World Data.
⚠️ Warning
If no content appears after clicking Load World Data, verify:
- The
World IDis correct. - The selected World Space contains published Anchors.
- There are no runtime errors in the Unity Console.