Skip to content

RegionConfigurations.VmSize not deserialized/parsed correctly #136

Description

New CreateBuild Feature

RegionConfigurations override VmSize is not deserialized/parsed correctly from the BuildSettings.json file. BuildRegionParams has VmSize with type AzureVmSize however, VmSize is deserialized as a string so returns null

What we could do:

  • In our PlayFab C# SDK, we may want to add to BuildRegionParams class
...
[JsonProperty("AzureVmSize")]                // new addition
[JsonConverter(typeof(StringEnumConverter))] // new addition
public AzureVmSize? VmSize;
...

This could be applied to any other parameters we deserialise/serialise as JSON

  • Or create an AgentInterfaces class(eg. BuildRegionDetails.cs). It will basically be a duplicate of PlayFab.MultiplayerModels.BuildRegionParams but local to LocalMultiplayerAgent

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions