Skip to content

Troubleshooting and Diagnostics

When encountering unexpected behavior during development or in built game clients, consult this diagnostic checklist.


1. “Invalid Character Entity” or Cannot Enter Map

Section titled “1. “Invalid Character Entity” or Cannot Enter Map”

You can log in, select your character, and click Start Game, but the game gets stuck on the loading screen or returns an “Invalid character entity” error.

The map server executable is out of sync with your project. In MMO mode, maps run as separate server processes launched from builds/OpenMMORPG.exe. When you modify character classes, items, skills, or scenes, the map server does not know about the changes until it is rebuilt.

  1. Rebuild the map server executable as described in Getting Started.
  2. If playing in the editor, ensure the Override Exe Path on the MapSpawnNetworkManager in 00Init points to your newly compiled executable.

2. Feature Works in Editor but Fails in Built Game

Section titled “2. Feature Works in Editor but Fails in Built Game”

A gameplay system or server functionality works when pressing Play in the Unity editor, but is completely missing or broken in a standalone build.

Incorrect Scripting Define Symbols. The Unity editor compiles all code by default. Standalone builds switch features on or off based on define symbols (such as EXCLUDE_SERVER_CODES).

  • Check your build target switches under Tools → Open MMORPG → Build → Target (see Before you build).
  • Run Validate Game Data And Prefabs under Tools → Open MMORPG → Build → Asset Tools.

3. Map Does Not Load (Blank Screen or Error)

Section titled “3. Map Does Not Load (Blank Screen or Error)”

Transitioning through a warp portal or starting the game fails to load the level scene.

Scene is missing from the Build Scene List. Every scene loaded by the game must be explicitly added to Unity’s Scene List.

  1. Open File → Build Profiles.
  2. Select Scene List.
  3. Drag the missing map scene into the list.

When diagnosing unexplained crashes or errors, inspect Unity’s native Player.log:

  • Windows Client / Server: %USERPROFILE%\AppData\LocalLow\<CompanyName>\<ProductName>\Player.log
  • Linux Dedicated Server: Beside the executable, or accessed via systemd:
    Terminal window
    journalctl -u openmmorpg-spawner -f
  • macOS: ~/Library/Logs/<CompanyName>/<ProductName>/Player.log

5. Still Stuck? Join the Discord Community

Section titled “5. Still Stuck? Join the Discord Community”

If you encounter an issue not covered in this guide or need troubleshooting assistance, hop into our Discord community for support and discussion with the community.