# How to use the Multi-user editing plugin in Unreal Engine over Meshnet

## Introduction <a href="#introduction" id="introduction"></a>

[Unreal Engine](https://www.unrealengine.com/en-US/) is a development platform that provides tools and technologies for designing and creating immersive virtual environments. It is mainly used for video game development, but can also be utilized to create 3D simulations and visual effects.

The [Unreal Engine Multi-user editing plugin](https://docs.unrealengine.com/5.1/en-US/multi-user-editing-in-unreal-engine/) allows multiple team members to collaborate on the same project at the same time, making changes to the game world, assets, and code, and seeing the results instantly. The ability to cooperate in real time can greatly increase the developers' efficiency and improve morale through increased interaction with colleagues.

Additionally, with Meshnet, working on [joint projects](https://nordvpn.com/meshnet/joint-projects/) in Unreal Engine becomes much easier. Meshnet allows you to simulate a [local area network](https://nordvpn.com/blog/what-is-lan/) (LAN) connection with remote devices. This network configuration enables developers to work from anywhere in a secure environment, without needing to set up [VPN connections](https://nordvpn.com/what-is-a-vpn/).

This guide contains instructions on using the Unreal Engine Multi-user editing plugin remotely over Meshnet.

## Before you begin <a href="#before-you-begin" id="before-you-begin"></a>

Make sure that:

* You have an active [Epic Games account](https://www.epicgames.com/id/register).
* You have [installed Unreal Engine](https://docs.unrealengine.com/5.1/en-US/installing-unreal-engine/).
* All users have the same Unreal Engine project on their devices.

{% hint style="info" %}
**Note**

For this article, Unreal Engine version 5.1.1 is used as an example.
{% endhint %}

## Install the Multi-user editing plugin <a href="#install-the-multi-user-editing-plugin" id="install-the-multi-user-editing-plugin"></a>

First, you need to install the Multi-user editing plugin on all devices that will connect to the shared session. To install the plugin:

1. Launch **Unreal Engine**.
2. Open your project.
3. From the menu bar, select **Edit** > **Plugins**.
4. In the search field, type in `multi-user`.
5. Find the **Multi-user editing** plugin and click the checkbox to enable it.

   <figure><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2Fb3dbGieX0yO8iH19ANet%2Fue_plugin_enable.png?alt=media&#x26;token=1e7ef208-6324-4eca-966b-ded226b764fc" alt="Enabling the Multi-user editing plugin."><figcaption></figcaption></figure>

   &#x20;
6. In the pop-up message, click **Yes** to confirm.
7. Click **Restart now** to install the plugin and restart your project.

## Prepare Unreal Engine for multi-user editing <a href="#prepare-unreal-engine-for-multi-user-editing" id="prepare-unreal-engine-for-multi-user-editing"></a>

It is recommended to configure unique multi-user settings for all devices. This way, it is easier to distinguish one device from the other and the changes each user makes. On all participating computers:

1. With your project open, from the menu bar, select **Edit** > **Project settings**.
2. From the list on the left, click **Multi-user editing**.
3. Configure the following settings:
   * Check the **Enable multi-user editing toolbar button** checkbox.
   * In the **Display name** field, enter any display name for your computer.
   * In the **Avatar color** field, choose any color for your computer.\
     &#x20;\
     **Example**

     <figure><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FAhZAtkRbJAFtXKcw9bq6%2Fue_multi_user_editing.png?alt=media&#x26;token=d0b3054f-b14e-499a-940e-d2333a5b60be" alt="Customizing the Multi-user editing options."><figcaption></figcaption></figure>

     &#x20;
4. In the main Unreal Editor window, in the lower-right corner, click **Restart now** to apply the changes.

## Configure the network settings <a href="#configure-the-network-settings" id="configure-the-network-settings"></a>

Before starting the server, you need to make some adjustments to the network configuration in Unreal Engine.

### Setting up the server host <a href="#setting-up-the-server-host" id="setting-up-the-server-host"></a>

On the device that will be used to host the server, complete the following steps:

1. With your project open, from the menu bar, select **Edit** > **Project settings**.
2. From the list on the left, click **Multi-user editing**.
3. Under **Client settings**, expand the **Advanced** section.
4. In the **Server port** field, enter a port number for your server, other than 6666. For example, 7000.

   <figure><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FLN7HhEHeMui1DQdpwMD7%2Fue_multi_port.png?alt=media&#x26;token=98b425f4-11c0-48c8-9e41-484d2442e1f7" alt="Entering 7000 in to the Server port field."><figcaption></figcaption></figure>

   &#x20;
5. Close the **Project settings** window.

Your device is now ready for hosting the multi-user editing server and accepting connections from other devices.

### Setting up the client devices <a href="#setting-up-the-client-devices" id="setting-up-the-client-devices"></a>

Make sure that all client devices have the server host specified in their project settings. Otherwise, Unreal Engine won’t locate the server, and the plugin will not function as intended. To set up the client devices:

1. With your project open, from the menu bar, select **Edit** > **Project settings**.
2. From the list on the left, click **UDP messaging**.
3. Under **Transport**, ensure that the **Unicast endpoint** is set to `0.0.0.0:0`.
4. Expand the **Advanced** section.
5. Next to **Static endpoints**, click the Add element button.
6. In the new field, enter `<MeshnetIP>:<Port>`, replacing `<MeshnetIP>` with the server host’s Meshnet IP address and `<Port>` with the port number chosen by the server host in step 4 of [Setting up the server host](#setting-up-the-server-host).\
   &#x20;\
   **Example**

   <figure><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2F5GkzsnQgsBOzjogw4bIg%2Fue_client_endpoint.png?alt=media&#x26;token=d44aaf0f-e4d5-4ed6-975f-b58dadf26e62" alt="Adding Meshnet IP with the selected port as a static endpoint."><figcaption></figcaption></figure>

   &#x20;
7. Close the **Project settings** window.

{% hint style="info" %}
**Note**

If you change the port number on the server host device, you must also change it in the **Static endpoints** entry on all client devices.
{% endhint %}

## Multi-user editing over Meshnet <a href="#multi-user-editing-over-meshnet" id="multi-user-editing-over-meshnet"></a>

With all devices configured, you can proceed to start your development server and connect to it using Meshnet.

### Starting the editing server <a href="#starting-the-editing-server" id="starting-the-editing-server"></a>

On the server host device, take these steps to start the server:

1. With your project open, in the toolbar, click the "Open session browser" button.

   <div align="left"><figure><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2F3mTjFlLqvU48OSf0m8TH%2Fue_open_session_browser.png?alt=media&#x26;token=748dda7a-7191-438c-a402-9693bea6e76a" alt="Clicking the &#x27;Open session browser&#x27; button form the toolbar."><figcaption></figcaption></figure></div>

   &#x20;
2. In the **Multi-user browser** window, click **Launch a server**.
3. Once the server is initialized, in the **Multi-user browser** window, click the **Create session** button.

   <div align="left"><figure><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FpuHFjZlpUJEuL8AYM6qp%2Fue_create_session.png?alt=media&#x26;token=2f5b9896-2891-4f68-bf70-fc80f6a9ef0f" alt="Clicking &#x27;Create session&#x27; in the Multi-user browser window."><figcaption></figcaption></figure></div>

   &#x20;
4. In the new window, in the **Session** column, enter the name of your session.
5. Click the "Create a session" button on the right.

   <figure><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FLP6s21cu6eYoxGyeNaXu%2Fue_session_create.png?alt=media&#x26;token=e41893a0-1601-4e7b-a9a6-8fc25f117de2" alt="Clicking the &#x27;Create a session&#x27; button."><figcaption></figcaption></figure>

The server and the shared session are now up and running. In the **Multi-user browser** window, under **Clients**, you will see your custom color and display name.

<figure><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2Fip9dQEj4ZMQis4kYZgNI%2Fue_session_meerkat.png?alt=media&#x26;token=f1a408b4-11a5-4a1f-a0c9-9aebfaa52700" alt="Custom username visible in the Multi-user browser window."><figcaption></figcaption></figure>

### Joining the editing server <a href="#joining-the-editing-server" id="joining-the-editing-server"></a>

Once the server is active and a session is created by the server host, you can join the server from other devices. To join:

1. With your project open, in the toolbar, click the Open session browser button.
2. In the new window, double-click the session name created by the server host.

   <figure><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FBfds9EZaMoU3Ivv5dc7K%2Fue_session_connect.png?alt=media&#x26;token=a653c2e4-8e60-4f32-b003-9896e6d241f2" alt="Selecting the active Meshnet session in Multi-user browser."><figcaption></figcaption></figure>

Your display name will show up in the **Multi-user browser** window, under **Clients**, indicating a successful connection to the server.

<figure><img src="https://3559400189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0cTezbT2vN0lurEio8Z5%2Fuploads%2FSdWhqcCzYpQhLCNbb8aL%2Fue_session_raccoon.png?alt=media&#x26;token=49749873-9d0a-4c5e-9de1-817c850af0a5" alt="Two clients connected to the Multi-user editing session."><figcaption></figcaption></figure>

Now you can remotely cooperate with your peers in Unreal Engine with the help of Meshnet.


---

# Agent Instructions: 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:

```
GET https://meshnet.nordvpn.com/how-to/joint-projects/unreal-engine-multi-user-editing.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
