How do I share my Unity Demo?

So yeah, this is probably a super noob question but… I want to share my web player demo by just putting a link on Facebook so my friends and family can just click it and play around. How do I make that work? I set the build settings for web player and I have the two files (the HTML file and the Unity3d File) I just don’t know what to do with them… >.<

Thanks in advance to anyone that helps :slight_smile:

You probably do not have your own web server, so your next best option is probably to:

  1. Install Dropbox on your PC, if you don’t already have it
  2. Copy the files generated by Unity to your Dropbox / Public folder (let them fully upload).
  3. In your PC / Mac, right click the HTML file and select Copy Public Link
  4. Test this link in a browser - sohuld be something like https://dl.dropboxusercontent.com/u/.../WebPlayer.html
  5. Share this link

You should note that not all versions of Unity generate a Dropbox-compatible output. If I am not mistaken, if the HTML file contains references to scripts on other domains (such as to unity3d.com for getting the playerobject.js), then this version will probably not work.

If your output generates only two files (HTML and unity3d), it will probably not work out of the box, and then you have two options.

  1. Upgrade Unity - latest versions go back to exporting 4 files (including the needed JS files), or
  2. Use a custom version of the HTML, something like this should work (just make sure your unity3d file is named WebBuild.unity3d or change the line where it says “embed…”