Host a game with Google Drive

Hi guys,

I want to host my game with google drive but i can’t open the html file, it show only on drive editor …

I set the folder to Public but anyway, i can’t open it :confused:

Any help ?

Thanks :slight_smile:

PS : Sorry for my english

Once you’ve shared it, right click to show details. Under “Hosting”, there should be a hyperlink. Follow that, and Google should serve it as a HTML page.

If you can’t open the HTML file, check if it has the file extension. If the file has no extension, you might have to upload the web-build again.

And for those of you looking for a way to host a Unity game from Google Drive, I made a tutorial here.

The link under hosting did not appear for me right away. I had to close out of Google Drive and log back in before it showed up.

Hello Jibran, I looked at your tutorial link and I ran into a few issues.

I installed Google Drive and there was no Public Share folder. I made one and placed the Unity file and the html in it. I selected “details” on the HTML file and did not see the dialog window you had in your post. There was no hosting address. I set the html to public and still could not find the hosting address.

I right clicked the HTML file and clicked “share.” From there I copied the share address but that did not open the web player, it just showed the html code for something, not my game.

Any idea what I am doing wrong? Did Google do some update to Google Drive that changed how you host a game?

I’m not aware why Google wouldn’t provide a public share folder for you. Fortunately, it’s relatively easy to make your own. For the public folder you made, you have to make sure it’s public for everyone.

I updated my tutorial to provide these instructions and updates to match Google Drive’s new interface. Click here for the updated tutorial. If you follow the tutorial line-by-line you should hopefully be able to get a Unity web build running.

Thanks for asking. I wasn’t aware Google decided to do an interface lift for Drive.

Thanks for the update on the tutorial.

I went through the steps and seem to have set everything up correctly, however I hit one more snag.

When I click the link for hosting, I get an Error 404.

I assume I missed a step? Any idea which one?

Nevermind, I just deleted all my previous folders and made new ones. Worked like a charm.

Thanks for the help Jibran! :smile:

Does anyone know what the bandwidth / connection etc limits are for Google Drive?

has anyone managed this with html5 builds?