Hi, i have a question for maybe a bug of unity 3D, i try to use pipes in unity (just type using System.IO.Pipes;) and unity return me this error:
error CS0234: The type or namespace name Pipes' does not exist in the namespace System.IO’. Are you missing an assembly reference?
Anyone can help me please?
Thank’s in advance
Matteo Vittori
Check out the MonoCompatibility page. As you can see the System.IO.Pipes namespace is supported, but you might have the wrong .NET configuration or you try to build for a not supported platform.
Hi, i contact support customers and they told me:
Unity deliberately removes some of the less commonly-used classes from the Mono library to reduce the memory and storage requirements of the game. In the Player Settings (menu: Edit > Project Settings > Player) you will find a setting called API Compatibility Level in the Other Settings panel. If you set this to .NET 2.0 instead of .NET 2.0 Subset, you will get all the Mono classes that Unity implements. As the Answers poster says, the Pipes class is implemented in Unity, so you should be OK after you change this setting.
Regards, Andy Stark.
i follow this istruction and working for me ![]()