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
1
Question by cmberryau · Mar 06, 2013 at 02:46 PM · webplayeroffline

Webplayer working offline?

I am attempting to run the webplayer on a machine that is offline (simply disconnected from the internet).

I can run the webplayer when the machine is connected, though as soon as it is disconnected I receive the error message "Failed to update Unity Web Player".

I am using the 30-day trial of Unity Pro if that makes any difference.

Comment
Add comment · Show 2
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 kurtmel · Jan 23, 2015 at 07:57 PM 0
Share

While this may certainly work if you have the actual Unity files and are the one exporting it, but what about running files locally that are just corresponding xx.unity3d files? How con someone get these to run locally and not have the web player installer or version checking? We're behind a military firewall, and was given some Unity content that was on a CD, but published as web player files. But, even after modifying browser settings, it keeps trying to run the code in the Unityplayer2.js file, and even if commenting that part out, it still won't load or allow the files to run.

Does anyone have just an example of the bare $$anonymous$$imum embed/object HT$$anonymous$$L coding that will allow the Unity Web Player within IE load content off the local hard drive?

avatar image tanoshimi · Jan 23, 2015 at 08:00 PM 0
Share

Don't know about IE, but you can just drag a .unity3d file onto Firefox and it will fire up the webplayer fullscreen in that tab.

3 Replies

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

Answer by cmberryau · Mar 06, 2013 at 04:50 PM

c:\Users{you}\AppData\LocalLow\Unity\WebPlayer

Contains 3 folders

loader mono player

c:\Program Files (x86)\Unity

Contains 2 folders

Editor MonoDevelop

I fixed this problem on another machine (this machine has never connected to the internet) by grabbing the cab file referenced in this answer:

http://answers.unity3d.com/questions/35664/web-player-auto-update-failed.html

After running the executable contained in the .cab there was a size difference between the folders of roughly 24MB. The difference is found in the 'player' folder located in the 'WebPlayer' folder.'The Stable 3.x.x' folder is added to the 'player' folder; now it works. Bizzare.

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

Answer by Statement · Mar 06, 2013 at 03:01 PM

The trial has nothing to do with it.

See this related answer by Graham: http://answers.unity3d.com/questions/389934/unity3d-offline-streaming-on-web-player.html

Basically, Unity needs to download the player runtime and mono the first time it is run for a specific version of Unity. Once this is done, it can work offline, but it needs to install that first.

When building offline builds make sure you check the "offline deployment" option as otherwise the web page attempts to access UnityObject.js remotely.

So to clarify:

  1. You need to run online once to get the components installed correctly.

  2. You should check "offline deployment" in build settings.

Comment
Add comment · Show 3 · 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 cmberryau · Mar 06, 2013 at 03:53 PM 0
Share

Thanks for taking the time to refer me to that previous answer and for clarifying those points.

Unfortunately after following the steps, a number of times it still fails to work.

I definitely chose offline deployment, ran it first with the internet connected. Following this I ran it once more with the internet disconnected and it fails to run, resulting in the same error message I described earlier.

avatar image Graham-Dunnett ♦♦ · Mar 06, 2013 at 04:29 PM 0
Share

That's strange. Are you on a PC or $$anonymous$$ac? If you're on a PC, can you poke about in c:\Program Files (x86)\Unity or c:\Users\{you}\AppData\LocalLow\Unity\WebPlayer. I'm interested in what folders you have there. You should have loader, mono, and player. Can you tell me what they contain. If on a $$anonymous$$ac, then "it should just work". ;-) For reasons I don't know yet, it sounds as though your machine is trying to get a new player and mono. This might be because you've got the webplayer installed into Program Files, but perhaps do not have permissions to access that, so the html is trying to get you a local copy into AppData.

avatar image Bunny83 · Mar 06, 2013 at 04:53 PM 0
Share

You can try installing wireshark and check if and what resources are requested. In addition you could try using the Process$$anonymous$$onitor which can tell you which files are being accessed / searched for.

avatar image
0

Answer by ptrbrn · Jul 30, 2013 at 09:11 AM

For me it seems it has something to do with what Release Channel is selected in the web player plugin.

I fixed my problem by doing the following:

  1. Make a webbuild (with build option offline deployment turned on)

  2. Turning on internet connection.

  3. Access the web build locally.

  4. Select Release Channel > Release (instead of Stable) by right clicking in the web player.

  5. Turn off the internet connection.

  6. Reload the web player html page.

Hope it works for you too.

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

What exactly is offline deployment? 1 Answer

use webplayer offline 0 Answers

Unity 4.1.2f1 Webplayer does not function offline 1 Answer

Unity Web Player - Bypass Call Home for "fully offline" functionality 2 Answers

is there any way to get previous version of 'UnityWebPlayerFull.exe' ? 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