• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
Question by SP0KK0 · Jan 12, 2013 at 03:38 PM · errorwebplayerdropbox

Host a webplayer on dropbox

hey

I know nothing about hosting anything, but I want to host a web player of a day-night cycle I created. I don't know if its the best but I was going to use dropbox to host the webplayer. I've exported my scene as a webplayer and have the .html file and the .unity3d file in the dropbox file on my comp: alt text

If I click on the html file in my file explorer and run the webplayer it works perfectly but when I try and run the html file online from dropbox the webplayer come up with the error "failed to download data file".

Please help (any replies I thank in advance)

hosting1.png (253.6 kB)
Comment
Tomer-Barkan
Bunny83

People who like this

2 Show 0
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

4 Replies

  • Sort: 
avatar image

Answer by Bunny83 · Jan 12, 2013 at 03:58 PM

You have to place the files somewhere in your "public" dropboc folder. If you rightclick a file in the public folder you can copy the public link to the file.

I have tons of example webbuilds in my public folder for Unityanswers ;) I created a subfolder in my public folder.

For example:

local file:

 D:\My Dropbox\Public\UnityAnswers\Web\BendTheWorld\WebPlayer.html

public link:
https://dl.dropbox.com/u/7761356/UnityAnswers/Web/BendTheWorld/WebPlayer.html

Some others:
https://dl.dropbox.com/u/7761356/UnityAnswers/Web/SphereTerrain/WebPlayer.html
https://dl.dropbox.com/u/7761356/UnityAnswers/Web/Interception/WebPlayer.html
https://dl.dropbox.com/u/7761356/UnityAnswers/Web/RotatingEarth/WebPlayer.html

edit
Since Dropbox "dropped" the public folder support for free users (afaik as paid user you can still create one), you have to "publish" every file "manually". Since with a new DB account it's no longer possible to publish a whole directory, every link to a published file is unique. Therefore you have to "hardcode" the URL to the ".unity3d" file inside your HTML file.

See these questions for more details:
http://answers.unity3d.com/questions/954694/is-it-still-possible-to-host-web-player-builds-thr.html http://answers.unity3d.com/questions/857181/how-to-upload-a-web-game-to-dropbox-without-errors.html

Comment
Tomer-Barkan

People who like this

1 Show 4 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image SP0KK0 · Jan 12, 2013 at 04:35 PM 0
Share

I don't know if this is normal but your links display the install unity webplayer button when I'm using Google chrome but when I'm using IE they're fine. However my webplayer still doesn't work on either and I've now placed it in my dropbox/Public folder

avatar image Bunny83 · Jan 12, 2013 at 08:35 PM 0
Share

Well, so does any web player page work for you? Have you tried one of the demo pages of unity if your web player is installed correctly?

http://unity3d.com/gallery/live-demos/tropical-paradise

avatar image SP0KK0 · Jan 12, 2013 at 08:37 PM 0
Share

I should have said, yeah the ones on the unity website work for me fine

avatar image xSt3v3n5onx · Apr 29, 2015 at 03:29 PM 0
Share

Google chrome rolling/rolled back support for NPAPI :(

avatar image

Answer by SP0KK0 · Oct 12, 2013 at 08:59 PM

Hey

Although this is an old thread I should report my solution.

I didn't have a public folder when I installed Dropbox. I had to enable one and put the Webplayer files in that. I created a public folder by going to this link and about half way down the page there is the "Creating a Public folder" section.

I hope this helps someone.

Comment
Jix

People who like this

1 Show 0 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image

Answer by 87Roach · Mar 07, 2014 at 06:47 PM

Okay so I was also looking to share a webplayer link via Dropbox, however I have no Public folder! So, I followed the advice in the above post(notice that Dropbox has exnayed the Public Dropbox), when I clicked on the "Click here to enable a public Dropbox" it went to my online Dropbox and showed me a Public folder there, it did NOT show me this on my computer side Dropbox(I don't know why).

So I dragged my files into the web browser and shared the link from there by right-clicking the file and getting the link.

I hope this also helps someone.

Comment

People who like this

0 Show 0 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image

Answer by Nieder · Jul 07, 2014 at 02:21 PM

Did Dropbox stopped working as a Unity Web Player? Here's what I did: 1. Exported my game as a web player | 2. Put it on dropbox in a public folder | 3. Copied the link of the HTML file. But when I put the link on browser (tested on Chrome and Safari), the player doesn't starts. It just gives me the option to download the HTML file fo my game. Can someone help me, please? Thanks!

Comment

People who like this

0 Show 4 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Bunny83 · Jul 07, 2014 at 05:05 PM 2
Share

@Nieder:
Dropbox removed the public folder for new accounts. It is like that for more than 2 years now. I still have an "old" account and have my public folder ;)

According to this site you can enable the public folder feature by clicking the link:

https://www.dropbox.com/enable_public_folder

I can't test it because when i visit that link i just get a notification that i have already a public folder. Try it and tell us if it's working.

avatar image fjalla · Jul 11, 2014 at 06:05 PM 0
Share

@Bunny83 - 404

EDIT: you mean this link, which isn't parsed by this site

EDITEDIT: Only for Pro and Business users.

avatar image tanoshimi · Jul 11, 2014 at 06:09 PM 0
Share

@Doctor-Jellyface it's just the forum autoformat has screwed up the link. If you'd checked out the linked blog above, you'd have seen it should be:

 https://www.dropbox.com/enable_public_folder
avatar image Bunny83 · Jul 11, 2014 at 06:33 PM 0
Share

Yes, didn't notice that it couldn't handle underscores in URLs... usually URLs just work fine ;) I've edited my comment.

@doctor-jellyface: So have you tried the page and it told you that only Pro and Business users can activate the old public folder? That's a pity. I'm not a pro nor a business user but i have a public folder. However my account is quite old...

Unity Answers is in Read-Only mode

Unity Answers content will be migrated to a new Community platform and we are aiming to launch a public beta by June 9. Please note, Unity Answers is now in read-only so we can prepare for the final data migration.

For more information and updates, please read our full announcement thread in the Unity Forum.

Follow this Question

Answers Answers and Comments

11 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How to upload a web game to dropbox without errors? 2 Answers

webplayer fatal error, standalone crash on startup 0 Answers

Why can't I build Web Player in Unity while I have no problems with building standalone versions? 2 Answers

Error launching Unity Player: failed to load dll 0 Answers

i cant use wepGL in unity 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges