We've been trying to create a server build using the Powershell module PlayFabMultiplayer but when we try and call New-PFMultiplayerBuild we get the following error:
New-PFMultiplayerBuild : Error occurred while calling the api. New-PFMultiplayerBuild : Error occurred while calling the api. {"HttpCode":400,"HttpStatus":"BadRequest","Error":1000,"ErrorMessage":"Invalid input parameters","ErrorDetails":{"StartMultiplayerServerCommand":["The StartMultiplayerServerCommand field is required."],"GameAssetReferences":["The GameAssetReferences field is required."],"BuildName":["The BuildName field is required."],"MultiplayerServerCountPerVm":["The field MultiplayerServerCountPerVm must be between 1 and 2147483647."],"Ports":["The Ports field is required."],"RegionConfigurations":["The RegionConfigurations field is required."]}}.
The help for New-PFMultiplayerBuild gives:
NAME
New-PFMultiplayerBuild
SYNTAX
New-PFMultiplayerBuild -BuildName <string> -StartMultiplayerServerCommand <string>
-Ports <List[Port]> -MultiplayerServerCountPerVm <int> -VmSize {Standard_D1_v2 |
Standard_D2_v2 | Standard_D3_v2 | Standard_D4_v2 | Standard_D5_v2 | Standard_A1_v2 |
Standard_A2_v2 | Standard_A4_v2 | Standard_A8_v2 | Standard_F1 | Standard_F2 |
Standard_F4 | Standard_F8 | Standard_F16 | Standard_F2s_v2 | Standard_F4s_v2 |
Standard_F8s_v2 | Standard_F16s_v2 | Standard_A1 | Standard_A2 | Standard_A3 |
Standard_A4} -RegionConfiguration <List[BuildRegionParams]> -AssetReferences
<List[AssetReferenceParams]> [-ContainerFlavor {ManagedWindowsServerCore | CustomLinux |
ManagedWindowsServerCorePreview | Invalid}] [-Metadata <Dictionary[string,string]>]
[-CertificateReferences <List[GameCertificateReferenceParams]>]
[-ProductionEnvironmentUrl <string>] [<CommonParameters>]
Which doesn't contain a field for GameAssetReferences.
We tried changing our field for AssetReferences to that of GameAssetReferences and tried the Powershell again to get the following error:
New-PFMultiplayerBuild : A parameter cannot be found that matches parameter name 'GameAssetReferences'.
Anyone know what we may be doing wrong, or is the Powershell bugged?
Thanks,
Phil.
,