NeoSettingsDocsNeo Async Loading Screen
SettingsSplit-Screen and Multiplayer

Split-Screen and Multiplayer

Settings are local: they belong to the people in front of the screen, are never replicated, and use no RPC. Each local player has their own screens, controls and per-player settings; the settings of the machine are shared. Joining and leaving local players stays your game's job: the plugin never creates a local player.

On this page
  1. Split-screen: what belongs to whom
  2. Multiplayer and travel
  3. Events

Split-screen: what belongs to whom

Per player (each local player has their own value, saved in their own file):

  • the controls: key bindings, mouse and stick sensitivity, inversion, dead zones, vibration, Button Prompts;
  • the camera: Field of View, Camera Shake;
  • your own settings of user scope that are bound per player (a driver that says it is per player, bind store, or a reflect binding on a local player subsystem: see Drivers);
  • the screens: main menu, pause menu, settings, dialogs and toasts, drawn in the player's part of the screen and driven by the player's controller;
  • the facts recipes read: player.index, player.primary, input.*, menu.*, game.*, net.*.

Shared, owned by player 1: display, graphics and audio (machine scope), and the user settings that change the whole process: language, subtitles, color-blind filter, Interface Size, Reduce Motion, High Contrast.

Split-Screen > Shared Settings For Other Players decides what players 2 to 4 see of the shared settings:

ValuePlayers 2 to 4
Read Only (default)See them grayed, "Set by Player 1"; a page holding only shared settings is not shown to them
HiddenDo not see them; such pages disappear
EditableCan change them too (the last change wins)

The main menu belongs to player 1. Each player opens their own pause menu; in a standalone game the world stays paused while any pause menu is open, and the other players see "Paused by Player 1" until it resumes.

Reading a player's value. The library's nodes take an advanced Player pin; empty, they act for the player the calling object belongs to (a widget's owning player, a controller's, a pawn's, a HUD's), else for the first local player. From C++, the player subsystem gives one player's values:

C++
#include "NeoSettingsPlayerSubsystem.h"

float GetPlayerFov(const APlayerController* Player)
{
    // In split-screen each player has its own Field of View; settings every player shares read the same for all.
    const UNeoSettingsPlayerSubsystem* Settings = UNeoSettingsPlayerSubsystem::Get(Player);
    return Settings != nullptr ? Settings->GetSettingFloat(TEXT("gameplay.fov"), 90.0f) : 90.0f;
}

The engine subsystem's On Setting Changed carries the local player index (-1 for a shared value); the player subsystem's On Setting Changed follows one player only.

Files. Player 1 keeps User0.json, the other players User1.json, User2.json... (n is the player's local index when they join, never a file another player still uses); each file is written after its player's changes and again when that player leaves. On platforms that save through save slots, the platform user's index is used. See Saving and JSON.

Controllers. Each player's screens accept only that player's input. The keyboard and the mouse belong to player 1, as in Unreal. If every controller maps to one platform user (Input > Device Mapping Policy), the players cannot use their own controller: the Setup checklist reports HSP214.

Multiplayer and travel

SituationWhat happens
SettingsLocal, never replicated, no RPC. A game that wants the server to know a choice listens to On Setting Changed and sends its own RPC.
Dedicated serverThe settings run in a sandbox: no file is written, no screen is drawn, and neither the menu subsystem nor the player subsystem is created.
Listen host and clientsNever paused; camera, input and bindings apply to local controllers only; the pause menu is titled "Menu" and offers Leave Game, which asks first (the host is told everyone will be disconnected).
Seamless travelThe players' screens stay open (Behaviour > Keep Menus Open On Seamless Travel): they belong to the local player and the viewport. When the new controller arrives, the input mode moves to it and pressed keys are flushed; per-player settings (Field of View, sensitivity, vibration) and the pause action are applied again; a display change waiting for its confirmation keeps counting. The plugin draws no loading screen (Neo Async Loading Screen's may cover the travel).
Hard travelThe players' screens close (reason Travel); an unconfirmed display change reverts; dialogs answer their Cancel button; changes waiting for Apply are discarded with a toast. A travel the host's menus start fades to black on the host only (or goes behind the Neo Async Loading Screen); a client following its server sees no fade of the plugin's.
Connection lost, travel failedScreens close, On Connection Lost (Reason) fires; with the main menu on, the player lands in it with a toast that gives the cause and what to do. Only a failure that makes the game leave counts: a client dropping from a listen host does not close the host's screens.
Pause on a clientNever pauses; your GameMode's pause rules are respected everywhere.

Return to Main Menu in a networked game goes through the engine's UGameInstance::ReturnToMainMenu, so your session code runs. With a Main Menu Map that is not the Game Default Map, a networked game returns to the Game Default Map (HSP203). Seamless travel without a Transition Map is reported once (HSP204).

Several Play In Editor windows (Play As Listen Server, Number of Players 2): each window has its own players and screens; only the first one writes settings files, the others keep their values in memory and see the shared settings grayed ("Set in the first game window").

Events

EventOnFires
On Travel Started (Seamless)Neo Menu SubsystemA map change started
On Travel FinishedNeo Menu SubsystemThe new map began play
On Connection Lost (Reason)Neo Menu SubsystemThe connection was lost or a travel failed
On Screen Closed (Screen, Reason)Neo Settings Player SubsystemReason Travel on a hard map change

Something not as described? Every code the editor shows has its own entry in Troubleshooting.