Unity NGO

Explore how to host Unity projects on Edgegap using techniques from the NGO Boss Room Samplearrow-up-right.

circle-info

This sample does not require any Unity Gaming Services (UGS), Multiplay, or Relays to run.

✔️ Preparation

Before we start, you will need:

⚡ Deploy and Connect

1. Deploy a Server on Edgegap

☑️ To get started, you'll need to create a free account with Edgegaparrow-up-right. No credit card required.

☑️ Create a new app version for your applicationarrow-up-right, choose NGO Boss Room Sample.

☑️ Deploy a server with your NGO Boss Room Sample app versionarrow-up-right.

☑️ Open your new deployment's detailsarrow-up-right and find your unique, one-time connection details:

  • External Port in format 30854 (5 digits).

☑️ Navigate to tab Logs and find (CTRL+F) your unique, one-time connection details:

  • ARBITRIUM_PUBLIC_IP in format 172.234.244.38 .

✅ You may now proceed to the next step.

2. Connect from Editor

☑️ Open your new project in Unity.

☑️ Verify that you have opened scene: Assets/Scenes/MainMenu.unity.

☑️ Press the ▶️ Play button to start your game client:

  • press START WITH DIRECT IP button,

  • select tab JOIN WITH IP.

☑️ Input connection details from previous step.

☑️ Press JOIN button to connect to your server.

☑️ Connect a second virtual Player with Multiplayer Play Modearrow-up-right or ParrelSyncarrow-up-right.

🙌 Congratulations on your first Deployment on Edgegap!

✏️ Customize Server Build

circle-check

Run as Dedicated Server

For this sample to run as dedicated server, we made the following changes:

New script (added to your MainMenu scene in a new empty GameObject):

Last updated

Was this helpful?