Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • 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
0
Question by Rasterizer · May 15, 2013 at 07:13 PM · webflashswf

How to get game on the web?

I have a website and a server. I uploaded the .html and the .unity3d files to my server but I cannot run my game from the url. I only get the Unity logo (when I run the game locally, it works fine in my browser).

I need to share this game with a client. I need a simple solution to post this game to the web like a .swf file. How can I get the flash export for Unity 4.0? Is there another way to post to the web? Is there a site that will let me upload the unity web player file and then embed it into my own webpage?

Comment
Add comment · Show 1
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 Kiloblargh · May 15, 2013 at 07:49 PM 0
Share

Flash exporting has been discontinued and it was never really a good solution in the first place. Forget about it.

Webplayer export is a simple solution. Post the non-working url to your game if you want help, otherwise there's not enough information to guess what you did wrong.

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by Bunny83 · May 15, 2013 at 07:24 PM

There has to be something wrong with your hoster. Can you access the unity3d file on your webspace? Have you tried entering the url of your unity3d file? I've uploaded tons of webplayer examples on my dropbox account. Dropbox offers a public folder, so everything you put in the public folder is available from the internet without restrictions.

Here are some examples:

  • https://dl.dropboxusercontent.com/u/7761356/UnityAnswers/Web/Interception/WebPlayer.html

  • https://dl.dropboxusercontent.com/u/7761356/UnityAnswers/Web/SphereTerrain/WebPlayer.html

  • https://dl.dropboxusercontent.com/u/7761356/UnityAnswers/Web/HowUnityWorks/WebPlayer.html?level=FixedUpdate

They usually work pretty well. Note that dropbox doesn't even provide any special webserver functions.

Comment
Add comment · Show 5 · 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 Rasterizer · May 15, 2013 at 07:56 PM 0
Share

Thank you for your reply. Yeah, I tried dropbox and my server but with no success even though it loads fine from my desktop (my server uses ftp).

However, dropbox is not the answer because I do not want to link to the game, I want to embed the game. I really need this in .swf format so that I can embed it onto a webpage without users having to download the unity player(this is for a client and needs to be REALLY user friendly). Or I need a site like pictogame.com that will allow me to upload the files and then embed from there (but pictogame only takes flash).

I am very frustrated that there is not a way to export to flash. That is such an easy way to post on the web.

avatar image Rasterizer · May 15, 2013 at 09:10 PM 0
Share

Thank you for the information. It must be my server because I managed to get it working on dropbox.com (I moved the files out of a folder and put them on their own).

So now that I know that the server is not configured to serve up the unity3d file, what do I tell my hosting company to make it work? Do I just tell them to configure it for .unity3d file or is there more info they will need?

Thanks again for your help.

avatar image Rasterizer · May 15, 2013 at 10:33 PM 0
Share

I emailed my hosting company and asked them to please add the $$anonymous$$I$$anonymous$$E type for a .unity3d: application/vnd.unity And the file extension for unity webplayer files: .unity3d

I'm sure this will do the trick! thanks for your help

avatar image Graham-Dunnett ♦♦ · May 15, 2013 at 10:39 PM 0
Share

yes, am 100% sure it'll be the solution. (It always is.)

avatar image Rasterizer · May 15, 2013 at 11:55 PM 0
Share

Yep! It works now. thanks for your help

avatar image
0

Answer by Graham-Dunnett · May 15, 2013 at 08:13 PM

Hosting Unity webplayers is also trivially easy. Usually what goes wrong is that the server is not configure to serve up the unity3d file. You'll need to make sure that files of this type are permitted. What I do when I am testing this for people is to use curl which is a command line tool, and independent of any browser of Unity. If curl can fetch the unity3d file, then the web server is configured correctly. If curl cannot get it, and the server returns a 404 or something, then the server needs some attention. If you want to post the URL of your server I'll check it out for you. (Although of course I understand if it's confidential and you cannot share the link.)

Comment
Add comment · 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

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

15 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 avatar image avatar image avatar image avatar image

Related Questions

Exported SWF no longer loads 1 Answer

Single SWF with preloader 0 Answers

How to use a swf file as Splash Screen in non-flash builds? 0 Answers

Need help adjusting elements for all resolutions 0 Answers

How implement my game on the website? 5 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