Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

System.Net.Sockets in Web-Player

Discussion in 'General Discussion' started by pjutard, Nov 9, 2006.

  1. pjutard

    pjutard

    Joined:
    Nov 9, 2006
    Posts:
    9
    Are there any restrictions when bulding for the web-player? Is there any kind of sandbox? If so, what is limited from the mono framework?
    My question is because I tried Joachim´s networking sample at http://www.unifycommunity.com/wiki/index.php?title=NetworkCursor and I can use it OK when building for Mac Standalone, but the browser crashes when I build and run it for the Web Player.

    Any ideas?
     
  2. jeremyace

    jeremyace

    Joined:
    Oct 12, 2005
    Posts:
    1,661
    They disabled several things for the web player for security reasons (like file access).

    I am not sure about .net sockets, but if they disabled it it shouldn't actually crash your browser. I would file a bug if possible.

    -Jeremy
     
  3. Joachim_Ante

    Joachim_Ante

    Unity Technologies

    Joined:
    Mar 16, 2005
    Posts:
    5,203
    At the moment sockets are disabled, in the web player for security purposes.
    With 1.6 we are adding secured support sockets in the web player.
    (Only to a server of course, otherwise you could access files on local servers from a web player)