Skip to content

SeinARTS

Class · USeinSimulationSettings : USeinSettings

Parent: Sein Settings

#include "Settings/SeinSimulationSettings.h"

Simulation settings: tick rate, deterministic multithreading and the command protocol. This class owns the shared SeinARTS page in Project Settings > Plugins; the other framework settings appear on it as well.

int32 SimulationTickRate · default 30 · min 1, max 120

Editable in defaults and on instances · Saved to config

How many times per second the deterministic simulation advances. Higher is smoother but costs more CPU, and every client in a match must use the same value. Default 30.

int32 MaxTicksPerFrame · default 5 · min 1, max 30

Editable in defaults and on instances · Saved to config

The most simulation ticks the game will run in one rendered frame. This caps catch-up work so a momentary frame-rate dip can’t spiral into an ever-growing backlog of ticks. Default 5.

bool bParallelSimulation · default true

Editable in defaults and on instances · Saved to config

Master switch for spreading the simulation’s per-entity work across CPU worker threads. When on, the parallel passes — local avoidance, the idle-movement driver, nav containment, fog-of-war stamping, collision (with the Parallel resolver selected), and pathfinding (with Async Pathfinding on) — run multithreaded. Each parallel pass is built to produce bit-identical results to the single-threaded path, so it is safe to toggle and even safe for different machines in one match to differ. Drives the Sein.Sim.Parallel console variable. Default on. Turn it off to force the whole sim single-threaded — the reference path, and the first thing to try when hunting a desync.

int32 ParallelMinBatch · default 64 · shown when bParallelSimulation · min 1

Editable in defaults and on instances · Saved to config

The smallest batch of entities a pass will bother sending to worker threads. Below this count the pass just runs single-threaded, because dispatching a few dozen entities to threads costs more than it saves. Only matters when Parallel Simulation is on. Drives the Sein.Sim.ParallelMinBatch console variable. Default 64.

int32 TurnRate · min 1, max 60

Editable in defaults and on instances · Saved to config

How many lockstep turns happen per second. The network layer gathers players’ commands into turns at this rate while the simulation keeps ticking at its own rate. Simulation Tick Rate divided by Turn Rate is the number of ticks per turn, and it must come out whole. At the defaults of 30 ticks and 10 turns per second a turn is 3 ticks, about 100 ms. A lower rate uses less bandwidth but raises the floor on input latency, and a higher rate does the reverse.

TSoftClassPtr<USeinCommandAuthorityPolicy> CommandAuthorityPolicyClass · default USeinDefaultCommandAuthorityPolicy::StaticClass()

Editable in defaults and on instances · Saved to config

Stateless policy that authorizes structurally valid commands. The shipped default is owner control plus deterministic exact-entity grants; custom policies can implement teams, shared control, or different resource ownership without changing transport or command handlers. None fails closed.

TArray<TSoftClassPtr<USeinCommandHandler>> CommandHandlerClasses

Editable in defaults and on instances · Saved to config

Additional Blueprint or native command handlers, loaded when a match builds. Each handler class runs one command type. A missing or conflicting entry disables commands before tick zero.

bool bSuppressDisabledSystemWarnings · default false

Editable in defaults and on instances · Saved to config

Whether to hide the on-screen warnings that appear when a pluggable system’s class-picker is set to None (any of the navigation, avoidance, collision, fog of war, level data, broker resolver, default formation, net relay, AI controller, faction service, or formation preview pickers). Those warnings remind you a system is intentionally off; tick this once you know. They are development-only and never appear in shipping builds regardless of this setting.

C++ members (2)
  • void ApplySimPerformanceCvars() const; Push Parallel Simulation and Parallel Min Batch to Sein.Sim.Parallel and Sein.Sim.ParallelMinBatch at project-setting priority, so a console override still wins.
  • static void ReportDisabledSystem(const TCHAR* SystemName, const TCHAR* Detail, bool bHighSeverity); Emit a one-time on-screen + log warning that a pluggable system is disabled because its settings class-picker is None. No-op when Suppress Disabled-System Warnings is set, and compiled out of shipping builds. Render/editor-side only (touches GEngine on-screen messages) — it reads no hashed sim state and never feeds back into it. SystemName is the display label (e.g. “Navigation”); Detail is a short consequence sentence appended after it. bHighSeverity picks the on-screen colour: red for systems whose off-state breaks a core flow (nav, level data, broker, net relay), orange for benign “no-X” modes. The log line is deduped per system per session, so it is safe to call from per-order code (the broker / formation).