question

Rafael Benavent avatar image
Rafael Benavent asked

Exception trying to deploy a linux build

I'm trying to upload a linux containerized application using this guide:https://docs.microsoft.com/en-us/gaming/playfab/features/multiplayer/servers/deploying-linux-based-builds

But I get this exception at runtime:

Unhandled exception. Microsoft.Playfab.Gaming.GSDK.CSharp.GSDKInitializationException: GSDK file -  not found
   at Microsoft.Playfab.Gaming.GSDK.CSharp.InternalSdk.GetConfiguration()
   at Microsoft.Playfab.Gaming.GSDK.CSharp.InternalSdk.Start(Boolean debugLogs)
   at Microsoft.Playfab.Gaming.GSDK.CSharp.GameserverSDK.Start(Boolean debugLogs)
   at ForTheEmpire.Host.Program.Run() in C:\Users\Rafael\Projects\For the Empire\Repository\Server\Host\Program.cs:line 16
   at ForTheEmpire.Host.Program.Main(String[] args) in C:\Users\Rafael\Projects\For the Empire\Repository\Server\Host\Program.cs:line 32
Process finished with exit code -532,462,766.
sdksgame manager
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Sarah Zhang avatar image
Sarah Zhang answered

Do you mean you use C# to develop the Linux server? Do you use the C# GSDK NuGet to import PlayFab GSDK to your project? According to the error message, it seems you haven’t integrated your server with PlayFab GSDK correctly. Could you please tell us, have you referred to this doc -- https://docs.microsoft.com/en-us/gaming/playfab/features/multiplayer/servers/integrating-game-servers-with-gsdkto integrate the GSDK with your server? You can also refer to our official GitHub repositories -- https://github.com/PlayFab/gsdk and https://github.com/PlayFab/gsdkSamples for the corresponding GSDK samples.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Error rendering WebPanel (widgets/consolidation-widget.ftl): org.hibernate.hql.internal.ast.QuerySyntaxException: AvailableConsolidation is not mapped [from AvailableConsolidation up where up.node = :node]