Dashboard Configuration
Fusion provides extra configuration via the Photon Dashboard for specific game and server related variables.
Dashboard Properties
FusionSessionCreationControlEnable
| Property Name | Type |
|---|---|
| FusionSessionCreationControlEnable | bool |
Default is false.
This enables control over which UserID can create new sessions. This is especially useful for blocking all peers except the server peer from creating new sessions. This is a simple equals check, and if a more robust check is required, webhooks should be used instead.
Use the FusionSessionCreationControlServerId key/value to set the UserID that the server must use to be allowed to create a new session.
FusionSessionCreationControlServerId
| Property Name | Type |
|---|---|
| FusionSessionCreationControlServerId | string |
Default is "" (empty string).
When FusionSessionCreationControlEnable is on, the Fusion Plugin uses this setting to determine which UserID is allowed to create sessions.
FusionDummyTrafficEnable
| Property Name | Type |
|---|---|
| FusionDummyTrafficEnable | bool |
Default is false.
The Dummy Traffic feature enables a ping system between the Fusion Plugin and all connected peers, in which each peer sends dummy packets to the Photon Cloud and receives some back.
This aims to keep the connection between the peer and the Photon Cloud alive and avoid unintended disconnects, especially for Fusion Client/Server modes where the Photon Cloud (relayed) connection is not being actively used, as clients are connected directly to the Fusion Server peer.
FusionDummyTrafficInterval
| Property Name | Type |
|---|---|
| FusionDummyTrafficInterval | int |
Default is 100 ms.
Sets the interval in milliseconds at which dummy packets are sent by each end of the connection.
FusionDummyTrafficSize
| Property Name | Type |
|---|---|
| FusionDummyTrafficSize | int |
Default is 2 bytes.
Sets the size of the dummy packet in bytes.
WebHooks
You can learn about all the WebHook-related dashboard properties on the WebHooks page.
New in Fusion 2.1
FusionSharedTickEnable
| Property Name | Type |
|---|---|
| FusionSharedTickEnable | bool |
Whether or not to enable tick rate control in Shared Mode via the FusionSharedTickRate and FusionSharedTickSendInterval dashboard properties.
FusionSharedTickRate
| Property Name | Type |
|---|---|
| FusionSharedTickRate | int |
The number of ticks per second at which to run the Shared Mode simulation. Only values between 8 and 32 are valid. Together with the FusionSharedTickSendInterval, this overrides the tick rate requested by clients.
FusionSharedTickSendInterval
| Property Name | Type |
|---|---|
| FusionSharedTickSendInterval | int |
The tick interval used to calculate the send rate from the FusionSharedTickRate. 1 means send every tick, 2 means send every second tick, etc.
Valid interval values are restricted to the 1-8 range, and must divide evenly into the chosen tick rate. If an invalid value is provided, the next biggest valid interval will be used instead! For example, if the tick rate is set to 32 and the send interval is set to 3, 2 will be used instead as 3 does not divide evenly into 32.