Command-line arguments

The following CLI flags can be specified on Unity Builds. They are read by the SDK via the SimulatorUtility API.

Flag
Description
SimulatorUtility

--coherence-region <region>

eu, us, usw, ap or local.

Region

--coherence-ip <ip>

Specific IP to point to.

Ip

--coherence-port <port>

Specific port to point to.

Port

--coherence-room-id <room-id>

Specific Room to point to.

RoomId

--coherence-room-tags <base64-tags>

A base64 enconded string containing the Room tags (space-separated). Example: tag1 tag2 tag3

RoomTags

--coherence-room-kv-json <base64-json>

A base64 encoded string containing a JSON object literal with key-valure pairs. Example:

{"key1": "value1", "key2": "value2"}

RoomKV

--coherence-world-id <world-id>

Specific World ID to point to.

WorldId

--coherence-simulation-server

Connect and behave as a Simulator.

HasSimulatorCommandLineParameter

--coherence-simulator

Same as --coherence-simulation-server.

HasSimulatorCommandLineParameter

Last updated