Fishnet
Explore how to host Unity projects on Edgegap using techniques from the FishNet HashGrid Sample.
✔️ Preparation
Before we start, you will need:
Unity 6 - download using Unity Hub,
FishNet Unity package - download from Unity Asset Store,
this package includes the HashGrid sample.
Create a new project and import the FishNet package above.
⚡ Deploy and Connect
1. Deploy a Server on Edgegap
☑️ To get started, you'll need to create a free account with Edgegap. No credit card required.
☑️ Create a new app version for your application, choose FishNet HashGrid Sample.
☑️ Deploy a server with your FishNet HashGrid Sample app version.
☑️ Open your new deployment's details.
☑️ Find your deployment's unique, one-time connection details:
Host URL in format
780aa4260e83.pr.edgegap.net
,External Port in format
30854
(5 digits).
✅ You may now proceed to the next step.
2. Connect from Editor
☑️ Open your new project in Unity.
☑️ Open scene in folder FishNet / Demos / HashGrid / Scenes / HashGrid_Demo.unity.
☑️ Select NetworkManager object in the scene, and modify Tugboat component in Inspector:
set Client / Client Address to Host URL from previous step,
set Server / Port to External Port from previous step.
☑️ Press the ▶️ Play button to start your game client.
☑️ Input connection details from previous step.
☑️ Press Client button to connect to your server.
☑️ Connect a second virtual Player with Multiplayer Play Mode or ParrelSync.
🙌 Congratulations on your first Deployment on Edgegap!
✏️ Customize Server Build
See Getting Started - Servers for Unity to learn how to build and customize servers.
Last updated
Was this helpful?