Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bender

A Unity 6 multiplayer game prototype built around dedicated-server sessions, lobby matchmaking, and live handoff of players between FishNet network managers.

The project detects headless server builds, hosts a lobby on a stable port, creates game sessions on demand, tracks active sessions, and moves a client from the lobby connection into the selected game server. A simple multi-screen flow reflects the search and connection lifecycle.

Architecture

Unity client ---> lobby NetworkManager (port 7777)
                         |
                         v
                 SessionNetworkManager
                    /            \
            open session      create session
                    \            /
                     v          v
              TargetRpc returns session port
                         |
                         v
             client reconnects to game session

Project code

The custom session and menu code lives in:

  • Assets/MainMenuItems/ServerScripts/SessionManager.cs
  • Assets/MainMenuItems/ServerScripts/SessionNetworkManager.cs
  • Assets/MainMenuItems/Scripts/MainMenuManager.cs
  • Assets/GameMaps/MapOne.unity

The repository also vendors FishNet and its examples. FishNet remains covered by its included license; the networking framework should not be confused with the project-specific code above.

Run locally

  1. Open the project in Unity 6000.0.23f1.
  2. Open Assets/GameMaps/MapOne.unity.
  3. Use a headless build for the dedicated server path, or Play mode for a client.
  4. Configure deployment addressing and exposed ports for any non-local environment.

Related AI NPC work

The profile's agent-driven game experiment is split into two repositories:

  • minitown-ai-game — Unity world state, event handling, and NPC movement
  • ai-npcs-cdp — generated lore, dialogue, events, and CDP AgentKit tools

Status

Completed multiplayer systems prototype. It demonstrates the server/session architecture and is not presented as a finished commercial game.

About

Unity 6 multiplayer prototype with FishNet lobby matchmaking, dedicated session lifecycle, and client handoff.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages