Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

`Web' does not exist in the namespace `System'

Discussion in 'Scripting' started by Charabis, Dec 10, 2011.

  1. Charabis

    Charabis

    Joined:
    Nov 5, 2009
    Posts:
    203
    Anyone know of a workaround for this? All I wanted to do was use UrlEncode on my finished string, but for some reason System.Web is apparently not in Unity's version of Mono.
     
  2. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,401
  3. Charabis

    Charabis

    Joined:
    Nov 5, 2009
    Posts:
    203
    Thanks :) That does indeed do the trick quite handily. Now it's back to finding out why the process results in strings that are ALMOST the same, but not quite. Something to do with the padding methinks.
     
  4. Dreamora

    Dreamora

    Joined:
    Apr 5, 2008
    Posts:
    26,601
    spaces become %20 and there are other special letters that for html have to be converted to %xxx strings