> For the complete documentation index, see [llms.txt](https://reach-cloud.gitbook.io/reach-explorer-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://reach-cloud.gitbook.io/reach-explorer-documentation/metaverse-cloud-engine-sdk/unity-engine-sdk/components/assets/meta-space.md).

# Meta Space

{% hint style="info" %}
For more information about how to upload a space, click below.
{% endhint %}

{% content-ref url="/pages/4wWiWCaCYGKDB4kSHDzS" %}
[Upload a Space](/reach-explorer-documentation/metaverse-cloud-engine-sdk/unity-engine-sdk/upload-a-space.md)
{% endcontent-ref %}

### MetaSpace Documentation

The MetaSpace class is a primary concept in the REACH Explorer SDK. It represents a virtual space within the Metaverse that users can interact with and join. Think of a Meta Space like a scene in Unity, but with additional features and functionality specific to the Metaverse. Only one Meta Space can be active at a time.

#### Namespace

MetaverseCloudEngine.Unity.Assets.MetaSpaces

#### Public Methods

N/A

#### Public Properties

* **bool IsInitialized (read only):** Indicates whether the Meta Space has been fully initialized and is ready for interaction.
* **bool RegisteredServices (read only):** Indicates whether the Meta Space's services have been registered.
* **bool LoadingPrefabs (read only):** Indicates whether the Meta Space is currently loading prefabs.
* **bool LoadedPrefabs (read only):** Indicates whether the Meta Space has finished loading prefabs.
* **MetaSpaceRuntimeOptions RuntimeOptions (read only):** Provides access to options that control the Meta Space's runtime behavior.
* **MetaSpacePlayerSpawnOptions PlayerSpawnOptions (read only):** Provides access to options that control how players are spawned in the Meta Space.
* **MetaSpaceNetworkOptions NetworkOptions (read only):** Provides access to options related to networking in the Meta Space.
* **MetaSpacePlayerGroupOptions PlayerGroupOptions (read only):** Provides access to options related to player groups in the Meta Space.
* **IMetaSpaceExternalApiService ExternalService (read only):** Provides access to the external API service for the Meta Space.

#### Inspector Fields

* **MetaSpaceRuntimeOptions runtime\`:** Options related to how the Meta Space behaves at runtime.
* **MetaSpacePlayerSpawnOptions playerSpawn:** Options related to how players are spawned in the Meta Space.
* **MetaSpacePlayerGroupOptions playerGroups:** Options related to player groups in the Meta Space.
* **MetaSpaceNetworkOptions network:** Options related to networking in the Meta Space.
* **MetaSpaceIntegrationOptions integrations:** Options related to integrating the Meta Space with other systems.

#### Behavior

* **Execution Order:** This class uses the ExecutionOrder.PostInitialization execution order, meaning it will be initialized after most other components in the scene.

#### Usage

1. To use MetaSpace, start by adding the MetaSpace component to a GameObject in your scene. This will typically be the root GameObject of your scene.
2. Configure the various options in the inspector to customize the behavior of your Meta Space.
3. You can then access the various services provided by the Meta Space, such as the networking service, player group service, and state service, to implement your desired functionality.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://reach-cloud.gitbook.io/reach-explorer-documentation/metaverse-cloud-engine-sdk/unity-engine-sdk/components/assets/meta-space.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
