I’m sorry if this isn’t the right forum, but I’m desperate for help on using Dropbox to “host” Unity games through the Webplayer.
I’ve set up a Dropbox account, built the game into the Public folder, and I can open (and play) the resulting file locally. However, if I try and play it over the internet I have one of two things happen: (1) using IE, I get an error saying it’s not a Web Unity Player file, or (2) using Firefox, the page displays the Unity player load screen… but it never starts loading the game.
I’ve seen plenty of people on these forums use Dropbox for their web based games, so I know it’s possible for this to work. I’m wondering if I’m doing something wrong with the setup or if there is a “little trick” that I’m unaware of.
You have made sure that all files necessary are deployed in the right space? There is no real trick to getting work as it should work just fine without jumping through hoops.
There is no trick. You build as webplayer into a dropbox folder, upload that folder, right click on the html file->copy public link. That is the link you use to play the game.
ok, i also tried sharing the folder with any sharing options i could find, i still have the same. if i share the .HTML it posts just the source of the HTML file.
ok someone mentioned the public folder, Dropbox has changed:
Please note: New Dropbox accounts created after October 4, 2012 no longer have a Public folder. Don’t worry! Every account created prior to this date will still have a Public folder. If you would like to enable a Public folder on a new account, see the instructions below (Creating a Public folder).
However, all the extra functionality provided by the Public folder is now accessible anywhere in your Dropbox. Now all you need to do to share and preview files and folders in your Dropbox is select Share link via your computers, phones, and tablets. Take a look at Dropbox links here or go to this article to see how it works.
Ive set up an app on facebook and got the web player and html file uploaded to dropbox no problem. But then I enter the dropbox link in to the canvas URL field, and click save, its shows a red box at the top and an error message saying:
Error There was a problem saving your changes. Please try again later.
You can still make a public folder not sure how, but I did find a link in drop box which created one for me but forgot how I found it. Your web game won’t work unless you put it in the public folder.
To create a public folder go to here: https://www.dropbox.com/help/16/en
and down to the section which says ‘creating a public folder’. Then just follow the instructions.
Also in my facebook developer panel it wasn’t accepting the dropbox link. Here’s the steps I did to get a web player game up and running on facebook. I’m adding it here incase some other newbie like me gets stuck
get a drop box account
get a public folder as mentioned above
add the 2 unity files. the .html and the .unity3d which are generated when doing a web player build
add them to the public folder you created in your drop box account
A little late to the party but I just found out that if I do not have 2 JScript files with the 2 Unity files the public folder link will not work for me. Which is weird because sharing it via my blog works just fine without the two jScript files. So to get sharing working for me in my public folder in Dropbox I have the following four files.
I just have the html and the unity files not the other two. copy a link to your html and paste it in a link for others to get it.as for the public folder, you need to create it through drop box, It is not just a normal folder you create and put the name public on it. so make sure you make the public folder through drop boxes create public folder wizard.