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”Symptom:
Section titled “Symptom:”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.
Cause:
Section titled “Cause:”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.
Solution:
Section titled “Solution:”- Rebuild the map server executable as described in Getting Started.
- If playing in the editor, ensure the Override Exe Path on the
MapSpawnNetworkManagerin00Initpoints 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”Symptom:
Section titled “Symptom:”A gameplay system or server functionality works when pressing Play in the Unity editor, but is completely missing or broken in a standalone build.
Cause:
Section titled “Cause:”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).
Solution:
Section titled “Solution:”- 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)”Symptom:
Section titled “Symptom:”Transitioning through a warp portal or starting the game fails to load the level scene.
Cause:
Section titled “Cause:”Scene is missing from the Build Scene List. Every scene loaded by the game must be explicitly added to Unity’s Scene List.
Solution:
Section titled “Solution:”- Open File → Build Profiles.
- Select Scene List.
- Drag the missing map scene into the list.
4. Where to Find Server and Client Logs
Section titled “4. Where to Find Server and Client Logs”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.
