Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 kmeboe · Feb 19, 2019 at 09:16 PM · webplayerhttps

WebPlayer with HTTPS broken

To get this out of the way: I know WebGL is the preferred way to deliver Unity over the web. We are using WebGL, but also are continuing to support our Internet Explorer customers using the web player.

 

Unity Web Player is broken for https. We are using https://ssl-webplayer.unity3d.com/download_webplayer–3.x/3.0/uo/UnityObject2.js to create the player. However, when this script tries to download the player, we get the following message:

https://imgur.com/a/p6Bd1kS direct link to image

 

Note that this link works fine for sites that don't use https (and it also strips off the "ssl-" prefix).

 

I'm not sure if this is related, but if you go to https://unity3d.com/webplayer, the "Download" link for Windows is also broken.

 

Does anyone know if there is a way for us to host the webplayer plugin ourselves?

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

2 Replies

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by kmeboe · Feb 20, 2019 at 03:01 AM

I was able to find a workaround. Posting here in case anyone else has a similar problem in the future. Steps:

 

  1. Locate your local copy of UnityObject2.js. It's installed in the Unity directory (on my machine this is C:\Program Files\Unity\Editor\Data\Resources). For more about where to find it, see here.

  2. Place this file in your website directory, alongside your index.html file.

  3. Modify UnityObject2.js: search for the line near the top that sets the "useSSL" variable (line 63 in my version), and set it to false: useSSL = false;

  4. Inside index.html, replace the stock UnityObject2.js reference with this one: <script type="text/javascript" src="UnityObject2.js"></script>

 

When I hacked this in, I expected Internet Explorer to give me a warning about using unsecure content. However, it seems to just work flawlessly.

Comment
Add comment · Show 1 · 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 kmeboe · Feb 20, 2019 at 03:14 AM 0
Share

Funnily enough -- shortly after implementing the workaround, both of the https links started working for me. I had earlier tried these links on two different computers (and one is an Amazon EC2 instance, so completely different networks/firewalls).

$$anonymous$$aybe just a blip on Unity's end, or maybe they took action based on my bug report. Either way, the workaround I posted here will give developers a little more flexibility in case there are problems in the future.

avatar image
0

Answer by Bunny83 · Feb 19, 2019 at 11:06 PM

The Webplayer has already been deprecated 3 years ago. It's no longer supported by most modern browsers.


The download link you posted to the webplayer download has an additional comma at the end. If you want to post links, make sure you actually make them a link with the proper URL. The download link works for me. However note that the webplayer is officially no longer supported since 2016.


I don't have any browser that still supports the webplayer, so i can't test if the webplayer actually works. However the auto-download link that this error shows does work for me. Are you sure you don't have any firewall issues?

Comment
Add comment · Show 2 · 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 kmeboe · Feb 20, 2019 at 01:12 AM 0
Share

Thanks for the heads up on the URL. I've fixed it by adding a link.

So you're saying that this link works for you: https://ssl-webplayer.unity3d.com/download_webplayer-3.x/UnityWebPlayer64.exe?

I can't imagine a firewall issue that would randomly block a download over only one protocol -- especially since I don't have problems with other sites.

avatar image kmeboe · Feb 20, 2019 at 03:16 AM 0
Share

The URL I posted is now working for me. See the comment in my answer for more details.

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

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

Related Questions

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

http NotSupportedException in Web Player 1 Answer

how do setup WebPlayer Installer on an https? Esp. Facebook. 0 Answers

https -- works in IDE & Standalone, does not work in web browser 1 Answer

crossdomain.xml error when hosted on https but requesting http 2 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