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
4
Question by fasteddoict · Jan 14, 2011 at 02:51 AM · webplayernamespace

Which namespaces are supported in each platform?

Is there a definitive list of which namespaces are available in each platform?

When I compiled for web player, I got bitten by the:

"ArgumentException: The Assembly System.Web is referenced by blah.dll. But the dll is not allowed to be included or could not be found."

I see a few links:

  • http://forum.unity3d.com/threads/43887-Web-service-call-not-supported-in-Web-Player
    "... looks like the webservices rely on System.Environment.MachineName which is a no go as System.Environment is compeletely removed on the webplayer like any machine access..."

  • http://forum.unity3d.com/threads/62932-Build-Issue-Not-finding-base-.NET-libraries
    "... however, that doesn't mean it will be allowed to be used even if it does exist, especially for the web player."

  • http://forum.unity3d.com/threads/40610-Solved-Lidgren-works-on-*.EXE-but-not-in-web-browser
    "... check if lidgren relies on System.IO, System.Web Services or another removed class"

  • http://forum.unity3d.com/threads/49188-Uploading-screenshot-to-server-from-WebPlayer
    "the webplayer uses the WWW networking of the browser and is restricted by it too. also there are whole namespaces missing in the webplayer that can have an impact (like no file stuff, no System.Environment, ...)"

  • http://answers.unity3d.com/questions/19765/why-is-the-system-drawing-namespace-not-supported-in-unity-3-0-beta
    About System.Drawing, etc.

But I don't see any definitive list anywhere. Does one exist?

Comment
Add comment · Show 3
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 Justin Warner · Jan 14, 2011 at 03:09 AM 0
Share

I thought .dll's weren't usable for web builds... I'm probably wrong though.

avatar image Peter G · Jan 14, 2011 at 04:03 AM 0
Share

I believe that only external dll's are unusable. System.Web would be part of the mono library, which I believe is included unless Unity does not include all the namespaces in the web player(I don't deal with webplayers often, but if its anything like a standalone or mobile, then the mono library and the UnityEngine are both included.)

avatar image yoyo · Jan 14, 2011 at 06:12 AM 0
Share

Note that just because $$anonymous$$ono has DLL doesn't mean Unity will include it for you. I asked this question earlier today to try and get to the bottom of this ... http://answers.unity3d.com/questions/36384/how-should-i-add-references-to-additional-mono-assemblies

1 Reply

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

Answer by Mike 3 · Mar 22, 2011 at 06:09 AM

http://unity3d.com/support/documentation/ScriptReference/MonoCompatibility.html

Small warning - the webpage is HUGE, and takes quite a while to load

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 Herman-Tulleken · Mar 22, 2011 at 06:34 AM 0
Share

A very useful page. (It seems almost impossible to find without a direct link, though?)

avatar image Mike 3 · Mar 22, 2011 at 06:39 AM 0
Share

It's on the front page of the scripting reference - http://unity3d.com/support/documentation/ScriptReference/index.html

avatar image fasteddoict · Mar 23, 2011 at 05:26 PM 0
Share

Thanks! What platform(s) does the $$anonymous$$icro column refer to? I haven't seen that before.

avatar image Mike 3 · Mar 23, 2011 at 05:34 PM 0
Share

I believe that's everything besides pc/mac/web (i.e. consoles and mobiles)

avatar image emscape · Aug 22, 2013 at 08:48 AM 0
Share

Webpage isn't there anymore...

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

1 Person is following this question.

avatar image

Related Questions

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

The type or namespace name `Web' does not exist in the namespace `System' 3 Answers

Automatic Updates for Web Player? 1 Answer

How install the webplayer in a "silent" mode /S 1 Answer

Getting started with Unity Walkthroughs 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