We have an issue since a week when we try to use the GSDK Cpp in our UE4 project.
Ofc we already read a lot of articles such as :
And so on...
But we still have an exception on start() call : Error: GSDK Initialization failed: Heartbeat endpoint and Server id are required configuration values.
Having a look at gsdk cpp sources, it looks like the configuration file can't be found by the gsdk. However, the MockVM agent successfully write a correct configuration file :
MockPlayFabVmAgent Creating the configuration file at Output\PlayFabVmAgentOutput\2019-09-27T13-22-15\Config\SH0\gsdkConfig.json
Is there a way to specify the configuration file path ? In the gsdk cpp sources, it looks like the configuration file is an environment variable. Is there a way to check if this env var is correctly set ?
Btw, we also made the tests with thunderhead servers and the issue is the same : config file is successfully created but in our server, the gsdk::start() call throw an exception.
An other user had the same issue (https://community.playfab.com/questions/32588/server-build-unhealthy-ue4-dedicated.html) but he didn't explained how he fixes this issue with config file...
Can you help us ? Thanks !
Ps: mockAgent V0.7, gsdk from nuget.