Skip to content

TryllRuntimeSettings

Type: ScriptableObject
Namespace: Tryll.Client
Source: Runtime/TryllRuntimeSettings.cs

Project-level settings for the Tryll Client package. Persisted to Assets/Resources/TryllRuntimeSettings.asset (created automatically on first access).

Edit via Project Settings → Tryll Client (registered by TryllRuntimeSettingsProvider).


Loading at runtime

var settings = TryllRuntimeSettings.Load();

Load() returns a cached singleton. If the asset does not exist in Resources, it falls back to default values.


Fields

Server process

Field Type Default Description
AutoLaunchServer bool true When true, TryllClient spawns tryll_server.exe automatically on Awake (Windows Standalone only). Set to false when you manage the server yourself.
EditorServerExePath string "" Path to the server exe used in the Editor. Empty = run the server manually. Relative paths resolve from the project root.
BuildServerExePath string "tryll_server.exe" Path to the server exe used in packaged Standalone builds. Relative paths resolve from the game folder.

Connection defaults

Field Type Default Description
ServerHost string "127.0.0.1" Host name or IP address of the Tryll server.
ServerPort int 9100 TCP port the Tryll server listens on.

Telemetry

Field Type Default Description
GameName string "" Integration identifier sent on every session for telemetry grouping. Use a short, stable, lowercase slug (e.g. "my-game"). Leave empty to omit.

Development options

Field Type Default Description
AllowAutoModelDownloading bool false Development only. When enabled, ConfigureSession tells the server to automatically download missing models during CreateAgent instead of failing immediately. Disable before shipping to production.

See also