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 Krishneel Prasad · May 20, 2011 at 12:15 AM · buildwebplayer

System.Net question

Unity is giving me an error I am trying to build a project to web player. It builds perfectly to a stand alone however when i build to a web player I get this error. What should i do?

"Assets/ShanScriptsAndShaders/ShanDataBaseScripts/NetworkInfo.cs(3,18): error CS0234: The type or namespace name NetworkInformation' does not exist in the namespace System.Net'. Are you missing an assembly reference?"

I don't understand what the error is talking about.

any help?

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 denewbie · May 20, 2011 at 12:33 AM

Unity may have decided not to include this into their web player built due to security concerns. You can ty to forcefully include the library by copying and pasting it into an "Assets/Plugins" folder and try compiling again.

Comment
Add comment · Show 15 · 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 denewbie · May 20, 2011 at 03:11 AM 0
Share

Hi. If you re talking about how to try adding it as a plug in this is what yo ucan do. Look for your plug in in your computer. You can search for it on your com or you can download it here: http://www.dllme.com/dll/files/system_net_dll.html

After that, in your unity "Assets" folder, you can create a folder called "Plugins" and paste the .dll file there.

Finally, try to compile and see if it gives you anymore errors.

On a side note, could we carry on our discussion here ins$$anonymous$$d of adding new answers because the moderators prefer it that we do so like that. Thanks.

avatar image Krishneel Prasad · May 20, 2011 at 04:09 AM 0
Share

It didn't help. It actually just kept crashing Unity. I have no other idea what is causing it..

avatar image denewbie · May 20, 2011 at 05:31 AM 0
Share

$$anonymous$$ay i check if you re using anything from the .WebRequests portion of the framework? That is is not support on all other plat forms except the windows stand alone.

avatar image Krishneel Prasad · May 20, 2011 at 06:09 PM 0
Share

Again, how would I check that?

avatar image Krishneel Prasad · May 20, 2011 at 06:24 PM 0
Share

I was told i'm supposed to use a crossdomain.xml file for the web player build. But i'm unsure on how that is supposed to fix it. or even how i am supposed to make it work

Show more comments
avatar image
0

Answer by duckszero · Feb 13, 2015 at 01:42 AM

You have to choose PC,Mac & StandAlone Platform or others at build settings window,if you want use System.Net dll then you can not choose platform WebPlatform

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

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Distribute terrain in zones 3 Answers

Is there any way to publish my first build ever today? Or the story of a buggy inter webs. 4 Answers

Build working only on some PC 1 Answer

Game works in editor; not builds; "GameObject has undefined tag" 5 Answers

Unity 3.5.3: Where do Web Player games build? 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