error with SetUdpPlatform (unity)

Options
Hello, i am new to bolt and am starting up finally.

here in the bolt samples playfabheadlessserver script i get an error when i attemp to set the following:

BoltLauncher.SetUdpPlatform(new PhotonPlatform(new PhotonPlatformConfig()
{
AppId = "",
RegionMaster = "Best Region",
UsePunchThrough = true, // set to false, to disable PunchThrough
MaxConnections = 2
}));

unity gives me the error:

'PhotonPlatformConfig' does not contain a definition for 'RegionMaster'
'PhotonPlatformConfig.MaxConnections' cannot be assigned to -- it is read only

any help appreciated..

Best Answer

Answers