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 /
  • Help Room /
avatar image
0
Question by johndavid · Sep 01, 2015 at 04:07 PM · errorwebplayeroffline

How to Make Unity Web Player work offline?

Hello, I am unable to get Unity Web Player working offline.

I am on Windows 8.1 and using Firefox 40.0.3. I am building .unity3d files using Unity Personal version 5.1.0f3

The version information from the .plist files in the loader, mono, and player subdirectories in Users/eeger/AppData/LocalLow/Unity/WebPlayer is as follows:

 loader: 5.1.3f1
 mono: 5.1.1f1
 player: 5.1.1f1

I have checked "Offline Development" in the Build options and have made sure that the .html file that is loading my .unity3d file is loading UnityObject2.js from the local filesystem.

When I start the Web Player with my system online, it starts normally. When I start the Web Player with my system offline, I see the following error message:

 Failed to update Unity Web Player

When I click on "Error Details", I see the following message:

 A newer version of Unity Web Player is required,
 but the auto-update download failed. Was trying to download
 http://webplayer.unity3d.com//autodownload_webplugin-3.x/UnityPlayer5.x.x-win32.zip

Why is Web Player trying to fetch an online resource when it is actually running offline? Could the version mismatch between my mono and player directories and the loader directories be causing auto-update to be triggered?

A comment on this post seems to indicate that Unity Web Player will only work offline if built using the Professional edition. Is that the case?

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

Answer by Schubkraft · Sep 03, 2015 at 02:43 PM

There is a "closed network" version for the player. it can only one runtime and will never call the internet. It is not included in the Pro license but you have to contact your sales rep for it.

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 Agent654 · Sep 03, 2015 at 03:10 PM 0
Share

Ah, good to know - thank you very much!

avatar image
0

Answer by Schubkraft · Sep 01, 2015 at 04:12 PM

The label "offline deployment" is somewhat misleading. What it does is dumping the UnityObject2.js next to the html and referencing it locally.

You can't have an offline version of the webplayer since it always checks for updates when it starts.

There is a special closed network license for this case but you have to contact your sales rep for more info.

Comment
Add comment · Show 8 · 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 johndavid · Sep 01, 2015 at 04:16 PM 0
Share

Are you sure? I see lots of questions online where folks that answer claim to be able to run Web Player without an active internet connection.

Here is one such question: http://answers.unity3d.com/questions/411829/webplayer-working-offline.html

avatar image Agent654 · Sep 01, 2015 at 09:15 PM 0
Share

Is this the official response? Because the offline deployment is completely hosing our ability to run builds on machines that don't have any web access.

Is this a bug that was recently introduced? It was working prior to version 5.

avatar image Schubkraft ♦♦ Agent654 · Sep 02, 2015 at 07:01 AM 0
Share

It is the official answer, especially my comment to johndavid just above.

It is not a bug but has always been the case. There have been no changes to how the plugin works in Unity 5.

avatar image Agent654 Agent654 · Sep 02, 2015 at 01:29 PM 0
Share

That is unfortunate - but thanks for the official response. Although, I'm not convinced this is how it has always been behaving.

avatar image Agent654 Agent654 · Sep 02, 2015 at 07:18 PM 0
Share

Out of curiosity - according to a post :

http://forum.unity3d.com/threads/unity-webplayer-plugin-update-check.12838/

It would appear that the plugin would ping home once after installing, but not again after that. If this is the behavior you're saying has "...always been the case." - would that be an accurate depiction of the plugin's behavior regarding being "offline"?

avatar image Schubkraft ♦♦ · Sep 02, 2015 at 06:59 AM 0
Share

Yes. But as you pointed out there are various ways if tricking it into running offline as mentioned in the linked post. This is however not officially supported as an "offline webplayer".

avatar image Schubkraft ♦♦ · Sep 03, 2015 at 08:51 AM 0
Share

Re: http://forum.unity3d.com/threads/unity-webplayer-plugin-update-check.12838/

That is for the most part accurate. It will check for the latest runtime and download that. For any content fitting that runtime it not ping online but just play it. For any content not fitting that it needs to download a new runtime.

As the forum post mentioned we can also actively push updates to the plugins to force updates in case of security issues.

avatar image Agent654 · Sep 03, 2015 at 02:10 PM 0
Share

Schubkraft -

Thanks for the response, I understand why Unity would want to have the ability to force updates regarding security concerns.

Is there a conceivable way for devs to get the option for a full offline deployment? I've heard in some forums there might be an option for this on Pro licenses - but it seems like that's more for offline installation of the Web Player, not necessarily for playing said file without a connection.

Just trying to see what options there might be... thanks!

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

31 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

Related Questions

Web Player's error : "Failed to Initialize Player's 3d Settings",Web player Error "Failed to Initialize Player's 3d Settings" 0 Answers

WebPlayer build fail 0 Answers

Unity Web Player Not Working and Solutions Not Working Either! 1 Answer

Unity Hangs on WebPlayer Build at Postprocessing Compressed web stream? 2 Answers

Error Launching Unity Web Player (v 5.3.1p1 Personal) 1 Answer


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