I was going through the playfab quick start guide and was not able to edit the gui_script.
I see some changes in the editor as there was no option to open it in text editor. Seems like the quick start is not updated, can someone tell me how to update it ?
The guide is horribly outdated, but it is available on GitHub so someone could submit an update. We’ve offered to partner with Microsoft to keep the documentation up to date and provide support, but MS has so far not been interested in our offer. I hope someone invested in PlayFab will submit an update or at least let MS know that the documentation is old and incorrect.
According to the doc, it says In the **Defold** editor, right-click **PfGettingStarted.gui** -> **Open With** -> **Text Editor** . but there is no Open With I can only see Open As. There is no Text Editor its just Text.
You can define a custom editor from the preferences popup.
BUT to be honest I do understand why MS didn’t decide to provide proper instructions for this part. (They do mentioned that “Our instructions for PfGettingStarted.gui are for expediency, not instruction” but that is really not very helpful).
The correct and updated tutorial should look something like this:
In the Defold editor, open PfGettingStarted.gui.
Select the Gui root in the Outline
In the Script field in the Properties panel select the main/PfGettingStarted.gui_script
clojure.lang.ExceptionInfo: handler ':open-as' in context ':global' failed at ':run' with message 'Cannot run program "Sublime" (in directory "/Users/Mymac/Projects/Defold Projects/TestPlayFab"): error=2, No such file or directory'
java.io.IOException: Cannot run program "Sublime" (in directory "/Users/Mymac/Projects/Defold Projects/TestPlayFab"): error=2, No such file or directory
java.io.IOException: error=2, No such file or directory
This can happen if the file type is not mapped to an application in your OS.
Underlying error from the OS:
Failed to open, edit or print /Users/Mymac/Projects/Defold Projects/TestPlayFab/main/PfGettingStarted.gui_script. Error code: -10814