I’m currently working on integrating PlayFab and GSDK into my Unreal Engine project (version 5.5.0) using Blueprints, specifically within the Game Instance. While I’ve made some progress, I’m encountering several issues that I can’t seem to resolve. Below are the details of the problems I’m facing, along with screenshots for clarity.
- Authentication Works Fine, but GSDK Initialization Crashes the Editor:
- I am successfully using PlayFab’s authentication system (sign-up, login, and retrieving account information works without any issues).
- Following the documentation and tutorials, I implemented the
Event Init
node as shown in Image 1 . However, when I add theSet Default Server Port
andReady For Players
nodes, the game crashes immediately upon running in the editor, resulting in a fatal error. What could be causing this issue? Is there something specific I need to configure or check before using these nodes?
- Matchmaking Issue: IP and Port Values Are Zero:
- I am able to send matchmaking requests to the server successfully. However, after receiving the server information (IP and port), both values are returned as
0
. - In Image 2 , you can see how I’m extracting the server information. Am I using the wrong method to parse or retrieve the IP and port values? If so, what is the correct approach to extract this data?
- PlayFab Server Configuration:
- In PlayFab’s server settings, I have set the server type to
Process
. For the network configuration, I’ve named itgameport
and selectedUDP
as the protocol (Image 3 ). Are these settings correct? Could incorrect settings here be contributing to the issues I’m experiencing?
I’ve attached three images to illustrate the setup and issues:
Image 1: GSDK initialization setup.
Image 2: Matchmaking response parsing logic.
Image 3: PlayFab server configuration.
I’m using the latest version of the PlayFab plugin for Unreal Engine.
- Why does adding the
Set Default Server Port
andReady For Players
nodes cause the editor to crash? - Why are the IP and port values returned as
0
after a successful matchmaking request? - Are my PlayFab server settings (server type, name, and protocol) configured correctly?
Any guidance or suggestions would be greatly appreciated! Thank you in advance.