Skip to content

Getting started

This page takes you from an empty Unity project to walking around the demo island with a character you made yourself. Most of the time it takes is Unity importing and building.

  • Unity 6000.3 (Unity 6.3 LTS) or newer.
  • Windows, for the steps exactly as written. The kit also runs on macOS and Linux; the only difference is where the map server build goes, covered in Running on macOS or Linux.

In Unity Hub, create a new project from the Universal 3D template, or from High Definition 3D if you want HDRP.

Open MMORPG runs on the Universal Render Pipeline (URP) or the High Definition Render Pipeline (HDRP). The demo’s content ships as URP, and step 3 installs the HDRP version if that is what the project uses. Importing the kit into a project made from another template still compiles, because the import adds URP for you.

Get the kit from either of these:

  • Unity Asset Store. Open Window → Package Manager, select My Assets, find Open MMORPG, then choose Download and Import.
  • GitHub. Download OpenMMORPG.unitypackage from the latest release, then choose Assets → Import Package → Custom Package… in Unity and pick the file.

Unity first tells you the package has Package Manager dependencies. Choose Install/Upgrade. This adds the Unity packages the kit is built on: URP, the Input System, Addressables, Burst and a few others. The import window then lists the kit’s files. Leave everything ticked and choose Import.

Everything lands in Assets/OpenMMORPG. Keep your own work outside that folder, so that updating the kit can never overwrite it.

A URP project needs nothing here: the demo’s materials, shaders, scenes and lights are already the URP versions.

In an HDRP project, a Render Pipeline Content window opens after the import. Press Install HDRP content. It replaces the demo’s pipeline-specific files with their HDRP versions (shaders, materials, scenes, prefabs with lights or cameras, and a few scripts) and removes the URP-only ones. Any of those files you had edited are copied to OpenMMORPG_PipelineBackups beside Assets first. When it has finished it offers to remove the URP packages the import added, which HDRP does not need.

Tools → Open MMORPG → Install → Render Pipeline Content reopens the window later, to see which version is installed or to switch pipelines. Your own files, and the kit’s code, are never touched.

The kit expects particular input axes, physics settings, tags, layers and quality levels. Choose Tools → Open MMORPG → Install → Import Project Settings. The dialog names the files it replaces:

  • ProjectSettings/DynamicsManager.asset
  • ProjectSettings/InputManager.asset
  • ProjectSettings/ProjectSettings.asset
  • ProjectSettings/QualitySettings.asset
  • ProjectSettings/TagManager.asset
  • ProjectSettings/TimeManager.asset

Choose Import Settings, then Import in the window Unity shows next.

Do this on a new project. Those six files are replaced outright, so any input, layer, tag or quality changes you had made yourself are lost.

The demo lives in Assets/OpenMMORPG/Demo. It is a small island with a village, three enemy families, wildlife, a rideable horse and a dungeon. It has three classes (Warrior, Ranger and Mage), quests, harvesting, crafting and an inn. Its scenes, in Assets/OpenMMORPG/Demo/Scenes, let you run the island either on the kit’s MMO servers or in local singleplayer mode:

SceneWhat it does
00InitStarts the MMO flow. In the editor it also starts the servers. First scene for MMO builds.
01HomeLogin, channel choice, and character creation and selection for MMO mode.
00Init-SingleplayerStarts the singleplayer (offline/LAN) flow, with no map server build needed.
01Home-SingleplayerCharacter selection and creation for singleplayer mode.
DemoMapThe island, Verdant Isle.
DemoDungeonThe Cultist Crypt, reached through the crypt door in the hills.

For the Verdant Isle demo, the demo build profile already contains the required scenes. If you want to check them or add your own scenes, open File → Build Profiles and select Scene List at the top left. Drag the scenes from Assets/OpenMMORPG/Demo/Scenes into the list, and make sure 00Init is at the top. The game always starts from the first scene in the list.

The Build Profiles window with Scene List selected, listing the demo's four scenes with 00Init first.

Open MMORPG is an MMO framework, and the demo’s MMO mode runs the way a live game does: as several servers working together. When you press Play on 00Init, the editor starts the login, central, database and map-spawn servers, and then the game client. Every map runs as an independent server process of its own, launched by the map-spawn server from a compiled binary of your project located at builds/OpenMMORPG.exe.

Testing in singleplayer? If you only want to try the island locally in singleplayer mode (00Init-Singleplayer), you do not need to build the map server—skip straight to step 8.

Building the demo map server is completely automated:

  1. In the top menu, choose Tools → Open MMORPG → Demo → Build Demo Map Server (or open Tools → Open MMORPG → Demo → Welcome and click Build Demo Map Server).
  2. Unity will automatically compile the demo scenes directly into builds/OpenMMORPG.exe.

You do not need to switch build platforms, configure build profiles, or manually create folders.

Rebuild after making game changes: The map server is a compiled snapshot of your project. If you modify character classes, monsters, items, or map scenes, rebuild the map server by choosing Build Demo Map Server again. Otherwise the editor client and map server will disagree on game data and reject connections.


When you move beyond the demo to build your own game:

  1. Scene List: Ensure your own initialization and map scenes are added to File → Build Profiles or your custom Build Profile.
  2. Executable Paths: On the MapSpawnNetworkManager component in your initialization scene (a child of MMOServerInstance in 00Init):
    • Override Exe Path: The path to the map server binary launched while testing in the Unity Editor (defaults to ./builds/OpenMMORPG.exe).
    • Spawn Exe Path: The path to the map server binary launched by dedicated standalone server builds.
  3. Dedicated Server Profiles: In File → Build Profiles, select Windows Server or Linux Server to build headless server binaries with the DISABLE_ADDRESSABLES define (see Server Configuration & CLI).

The Map Spawn Network Manager in 00Init, with Spawn Exe Path and Override Exe Path highlighted, both set to ./builds/OpenMMORPG.exe.

Open Assets/OpenMMORPG/Demo/Scenes/00Init and press Play.

  1. Pick a server. The list has one entry, Local Server: the servers your editor just started. Select it and choose Connect.
  2. Make an account. Choose Go to Register, enter any username and password, and choose Register. Then choose Go to Login and log in with them. Accounts and characters are saved in a local SQLite database, mmorpgtemplate.sqlite3, in your project folder.
  3. Pick a channel and choose Select.
  4. Create a character. Choose Create, then pick a gender and a class (Warrior, Ranger or Mage), set the size and skin tone, choose a hairstyle, a beard and their colours, and type a name. Choose Create again to save the character.
  5. Start. Select your character and choose Start Game. The map-spawn server launches a map server for each of the demo’s two maps, each in a window of its own, and the client joins the island a few seconds later. Leave those windows open. They close when you stop playing.

To test without running the MMO servers or building the map server, open Assets/OpenMMORPG/Demo/Scenes/00Init-Singleplayer and press Play. It loads 01Home-Singleplayer straight at character selection, where you can create a character and choose Start Game to enter DemoMap locally. Singleplayer characters and world state are saved as .sav files under Application.persistentDataPath.

The demo's login screen: the Open MMORPG title over a sunset valley, with the Login panel in the middle.

The character creation screen: hair, hair colour, beard and beard colour on the left, gender, class, size and skin on the right, and a bearded ranger named Aldric in the middle.

In the game: Aldric standing in the village at dusk, with the character frame, menu bar, minimap, chat and action bar around him.

The demo uses the controls most MMO players already know.

InputAction
W A S DMove, relative to the camera
Drag with either mouse buttonOrbit the camera (a right-button drag also turns your character)
Mouse wheelZoom, from first person out to fourteen metres
Left clickTarget a character
Right click on an enemyTarget it and attack
TabTarget the nearest enemy, and cycle through nearby ones
TAttack your target, or the nearest enemy
1 – 0Use what is on the action bar
ETalk to an NPC, or use a door, chest or other object
FPick up an item
SpaceJump
Left Shift (hold)Sprint
VGet off your mount
C / B / P / LCharacter, bags, skills, quests
O / JFriends, guild
EscCancel a ground-targeted skill you are aiming; otherwise open the game menu

Drag skills from the skills window, or items from your bags, onto the action bar to use them with the number keys. There is no click-to-move: walk up to NPCs, loot and harvestables, and press E or F.

Defeating enemies earns experience, and each level brings skill points to spend in the skills window (P). Each class has four fighting skills, a passive and a toggle, unlocked at different levels. Your class raises your attributes automatically as you level:

  • Strength adds to weapon damage and to how much you can carry.
  • Dexterity improves your accuracy, evasion and attack speed.
  • Vitality raises your maximum health.
  • Intelligence raises your mana and the power of your spells.

The editor can host the game for a second player. Build a plain Windows player (not the server) into any folder except builds, for example builds_client, and run it while Play is running in the editor. With no arguments a player build starts no servers of its own, so it connects to the servers in your editor.

Build the map server with Linux Server or macOS Server instead, then point Override Exe Path on the 00Init MapSpawnNetworkManager at the executable. On macOS that is the binary inside the app bundle, for example builds/OpenMMORPG.app/Contents/MacOS/OpenMMORPG.

  • Game Instance: the component that holds the game’s configuration.
  • Game Database: where your characters, items, skills and maps are registered.
  • Before you build: build settings for offline, client and server builds.
  • Discord Community: join our Discord for help, questions, and discussion with the community.