Not sure what you did, but the AssetLib version has no demo scene. The scenes that are in the package are only there to extend the editor and are not meant to be used in a game. In fact, they can’t, as you can see in the error messages.
If you clone the GitHub repo, you can just open it up as a Godot project and hit play to see examples.
In terms of a setup video I have good news! On my stream, I did a walk-through and captured that specific part. You can find it here. Let me know if that’s helpful!
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!
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
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.
← Return to Godot Engine Addon
Comments
Log in with itch.io to leave a comment.
Hello. I am getting these errors with the demo scene within the assetlib version of the addon running on godot 3.5.
No config file found. After login, it will be created at "user://playfab_client_config.cfg".
At: res://addons/godot-playfab/PlayFabClientConfig/PlayFabClientConfigLoader.gd:57:load()
ERROR: Class 'EditorPlugin' can only be instantiated by editor.
at: instance (core/class_db.cpp:516) - Class 'EditorPlugin' can only be instantiated by editor.
ERROR: Class type: 'EditorPlugin' is not instantiable.
at: _new (modules/gdscript/gdscript.cpp:66) - Condition "!o" is true. Returned: Variant()
Also, do you have any video setting up everything from scratch?
Hey, thanks for giving godot-playfab a go!
Not sure what you did, but the AssetLib version has no demo scene. The scenes that are in the package are only there to extend the editor and are not meant to be used in a game. In fact, they can’t, as you can see in the error messages.
If you clone the GitHub repo, you can just open it up as a Godot project and hit play to see examples.
In terms of a setup video I have good news! On my stream, I did a walk-through and captured that specific part. You can find it here. Let me know if that’s helpful!
https://youtu.be/msakr3GHPL8
Oh thanks the answer I will give it a shot once again!
Let me know how the video helped (or if it didn’t 😂).
I love the feedback and you already made it clear that I have to provide better usage instructions in the packages.
Thanks!
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
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.