Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

After following the instructions, and running the example project, I get the following errors: 

 res://addons/godot-playfab/PlayFab.gd:51 - Parse Error: Couldn't fully load the singleton script "PlayFabManager" (possible cyclic reference or parse error).

 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR

 res://addons/godot-playfab/PlayFabClient.gd:8 - Parse Error: The method "_post_with_session_auth" isn't declared in the current class.

 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR

 res://addons/godot-playfab/PlayFab.gd:51 - Parse Error: Couldn't fully load the singleton script "PlayFabManager" (possible cyclic reference or parse error).

 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR

 res://addons/godot-playfab/PlayFabClient.gd:8 - Parse Error: The method "_post_with_session_auth" isn't declared in the current class.

 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR

 res://addons/godot-playfab/PlayFab.gd:51 - Parse Error: Couldn't fully load the singleton script "PlayFabManager" (possible cyclic reference or parse error).

 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR

 res://addons/godot-playfab/PlayFabEvent.gd:50 - Parse Error: The identifier "_title_id" isn't declared in the current scope.

 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR

 res://addons/godot-playfab/PlayFab.gd:51 - Parse Error: Couldn't fully load the singleton script "PlayFabManager" (possible cyclic reference or parse error).

 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR

 res://addons/godot-playfab/PlayFabEvent.gd:50 - Parse Error: The identifier "_title_id" isn't declared in the current scope.

 modules/gdscript/gdscript.cpp:577 - Method failed. Returning: ERR_PARSE_ERROR

--- Debugging process started ---

Godot Engine v3.4.4.stable.official.419e713a2 - https://godotengine.org

OpenGL ES 3.0 Renderer: NVIDIA GeForce GTX 1080 Ti/PCIe/SSE2

OpenGL ES Batching: ON

Config file didn't load. Error code: 7.000000

   At: res://addons/godot-playfab/PlayFabClientConfig/PlayFabClientConfigLoader.gd:57:load()

No telemetry events to flush

   At: res://addons/godot-playfab/PlayFabEvent.gd:104:_flush_playstream_event_batch()

No playstream events to flush

   At: res://addons/godot-playfab/PlayFabEvent.gd:118:_flush_telemetry_event_batch()


Any idea what I did wrong? Thanks a lot.

Hi - thanks for giving godot-playfab a spin!

I just realized I neglected the itch.io page 🥺 There have been quite a few changes. Can you please go to the GitHub repository and use the new instructions?

I’ll update the itch.io page soon.

Thanks for the feedback! Let me know if you need any more help an/or file an issue on GitHub!

Hey,

Thanks a lot for your help. :-)

I think I'm getting close, but not quite there yet.
The errors are now reduced to these 3:

Config file didn't load. Error code: 7.000000

   At: res://addons/godot-playfab/PlayFabClientConfig/PlayFabClientConfigLoader.gd:57:load()

No telemetry events to flush

   At: res://addons/godot-playfab/PlayFabEvent.gd:104:_flush_playstream_event_batch()

No playstream events to flush

   At: res://addons/godot-playfab/PlayFabEvent.gd:118:_flush_telemetry_event_batch()

No telemetry events to flush


From what I understand the config file is not being created or found (I cannot find it either with a standard search in Windows 10).
Thanks and take care

(1 edit)

This is expected. The config file does not exist on the first launch. It is there to persist login data in an encrypted format.

But this is good feedback - I should remove the debug print 😂

Created a tracking issue: https://github.com/Structed/godot-playfab/issues/48

Fixed - new release uploaded to itch!

Thank you so much for reporting this!

Btw, the config file is located in the user’s game data folder, which you can open via the Godot Editor:

I still cannot get this to work for some reason. Would you be available for contract work to get this integrated into my game? Basically sending and receiving integer results to/from PlayFab for populating leaderboards.

Hey there! I was thinking about whether you got it to work the other day! I’ll try and send you a private message. I’d love to help you get this to work.