There seems to be issues with the config file path in the deployed servers environment variable. The actual path is But inspecting it shows that the path being set is
There seems to be issues with the config file path in the deployed servers environment variable. The actual path is But inspecting it shows that the path being set is
May I ask why do you need the GSDK file path? This should be used internally by the GSDK itself and not be accessed by your code. At the same time, any chance you are using containers? The GSDK file path would be different "outside" of the container (where your first snip is probably coming from) and "inside" (where your second snip is probably coming from).
I keep getting moderation messages and can't seem to find my comment. Sorry if the comment has been spammed. This is on a deployed container and the thing I am trying to get is the VmId and region from the config file. They are both empty , while looking at the config file itself they seem to be present. I assumed the issue was with the paths.
This is on a deployed container. I was looking to get the VMId from the config for some telemetry information and tracking. The playfab build Id that is gotten from the environment variable seems fine. But the vmid is returning empty. Looking at the actual file the vmid is present in the json. The only difference I found was the file path. Hence I though that might be it.
are you using the correct environment variable name? Here is the list https://learn.microsoft.com/en-us/gaming/playfab/features/multiplayer/servers/basics-of-a-playfab-game-server#server-scripts-and-playfab-configured-environment-variables
thank you - this sounds like a bug on our side, apologies for the inconvenience. Can you open an issue on the GSDK repository so we can fix it? Appreciated!
Could you confirm that if the GSDK config file path you provided is from a deployed server, or from a server that you test locally via LocalMultiplayerAgent? And which GSDK are you using?
This is from a deployed server. We use "New-PfBuildWithCustomContainer" in power shell to deploy.
2 People are following this question.