Posted August 10, 2021 by Novack
There is a missing feature of the new Google editor that wont let you set the property used for the password on new deployments.
Google still allows to switch back to the old editor, so one solution is to momentarily get back to the legacy editor in order to set the property.
I also have added new code to the bottom of the DriveForUnitySocket script, two convenient methods to overcome the situation until Google fixes the new lacking editor:
function GetScriptProperties() { var properties = PropertiesService.getScriptProperties().getProperties(); Logger.log(properties) } function SetScriptProperties() { var key = "PASSWORD"; var value = "passcode"; // Change this value to your own passcode. PropertiesService.getScriptProperties().setProperty(key, value); GetScriptProperties(); }
You can retrieve a new copy of the script as usual, or you can simply copy and paste this code on your own, and paste it at the bottom of the script. No need to redeploy, as this is code that will only work for the devs:
I have fixed the WebGL demo. I had inadvertently removed the server side deployment, which is back online, and I updated the Unity build to fix the longstanding copy/paste bug, so everything should be fine as far as the itch.io demo.
As some of you may have noted, I had to take a leave of absence for a while. I had to attend some family and health issues, and had no opportunity or time aside from that, to offer the usual support for Google Sheets For Unity. I will be slowly catching up and get back to you with some help.
Thank you all for your patience and generosity.
Cheers!