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.
Any help/suggestions appreciated.
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.
Follow me on Twitter: @DanielQuick14
I did as you suggest, i am getting this web bug:
This is due to you setting the folder/web player to private
Civil Voxel World : http://forum.unity3d.com/threads/158...3D-Voxel-World (Experimental)
Voxels in Unity (Tutorial) : http://forum.unity3d.com/threads/192...Like-Minecraft!)
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.
https://dl-web.dropbox.com/get/Unity...tml?w=7694e5c6 this is in a shared folder with 2 guys holding hands on it.
and this is a shared webplayer:
Last edited by ZoomDomain; 10-20-2012 at 07:31 AM.
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.
Hi all. i'm having some trouble with this.
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:
There was a problem saving your changes. Please try again later.
The dropbox link I get is this:
Then I remove the (s) so it's just 'http' and also include .dl so it's the direct download link. like this:
I've also tried removing the .dl part. This might be a new problem on facebook with dropbox access. Has anyone else seen this problem or got a fix?
Thanks for any help
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.
Thanks for the reply. I figured this one out.
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
- copy the html file public link. like this
Right click on the .html file and click on 'get public link'. this is what you might get:
- then adjust to remove the 's' and add the 'dl-web.' change like this:
Then this link will be accepted in the canvas url text field in the app panel on facebook.
By the way, sorry for the quick and sloppy reply, im super busy, but I hope what i added above makes sense
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.
Hope that helps...
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.