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 ina · Jan 02, 2012 at 09:35 AM · webplayernacl

Unity 3.5 NaCl output includes unity.nexe over 35 MB?

Just a very simple ball drop test for NaCl output and the resulting file was over 35MB! Is there a way to optimize file size for WebPlayer NaCl or is it supposed to always be with so much baggage?

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

3 Replies

· Add your reply
  • Sort: 
avatar image
2

Answer by jonas-echterhoff · Jan 05, 2012 at 08:59 AM

The unity.nexe file contains the uncompressed unity executable. You can expect this to be compressed some way when actually downloaded by the user. Currently, there are two ways to serve nacl content on the Chrome Web Store. Either as a packaged or hosted app. If you are publishing as a packaged app, all the data will be compressed into a .crx archive, and will only be downloaded once on the first install. Unfortunately, right now, the .crx will always contains all the data, so the user will download both, i686 and x64 executables even though only one is needed. Google is working on a fix to that.

If you are publishing as a hosted app, the data files will be hosted on your own http server. Most http servers include an option to compress files as they are transmitted. If you are using Apache, this should just work, as the unity_nacl_files folder created by Unity contains an invisible ".htaccess" file, which configures Apache to serve the nexe and so files compressed. So the total amount of data actually downloaded for the unity engine should be around 10 MB for Unity 3.5b6.

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
0

Answer by Dreamora · Jan 03, 2012 at 11:20 PM

this is normal.

For one this is only a Developer Preview, not the final 3.5 so things are still in work. The other thing is that the compressed crx files streaming gziped which you distributing on the chrome webstore etc are only a fraction of it (around 1/10th normally)

if webplayers wouldn't be lzma compressed they would be this large too basically.

also keep in mind that NaCl includes the unity engine, while webplayers have it installed on the system (webplayer plugin) so they will always be larger than unity.

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
0

Answer by Waz · Jan 22, 2012 at 11:54 PM

But if these are common files, why not just host them in a single place (eg. on unity3d.com) so that they have some hope of being in the user's cache? Or is the idea that this is only for Google WebStore?

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

7 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Unity plugin for chromebook 3 Answers

Chrome Web Store , Google Wallet InApp Payment (JWT ??) 1 Answer

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

I can has NaCl? Plz? 1 Answer

Lock Cursor to Screen resolution 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