Unity C#管道服务器过早回调?

Unity C#管道服务器过早回调?,c#,pipe,unity3d,C#,Pipe,Unity3d,我已经在其他项目中使用了相同的管道代码,但是当我尝试在Unity上使用它时,我得到了过早的ConnectionCallBack(即,当没有连接时我收到回调!) 这是我收到的错误消息: e.Message = The operation completed successfully. e.StackTrace = at System.IO.Pipes.Win32NamedPipeServer.WaitForConnection () [0x00000] in <filename unknow

我已经在其他项目中使用了相同的管道代码,但是当我尝试在Unity上使用它时,我得到了过早的ConnectionCallBack(即,当没有连接时我收到回调!)

这是我收到的错误消息:

e.Message = The operation completed successfully.
e.StackTrace = at System.IO.Pipes.Win32NamedPipeServer.WaitForConnection () [0x00000] in <filename unknown>:0 
  at System.IO.Pipes.NamedPipeServerStream.WaitForConnection () [0x00000] in <filename unknown>:0 
e.Message=操作已成功完成。
e、 StackTrace=at System.IO.Pipes.Win32NamedPipeServer.WaitForConnection()[0x00000]位于:0
位于:0中的System.IO.Pipes.NamedPipeServerStream.WaitForConnection()[0x00000]处
为什么会这样

e.Message = The operation completed successfully.
e.StackTrace = at System.IO.Pipes.Win32NamedPipeServer.WaitForConnection () [0x00000] in <filename unknown>:0 
  at System.IO.Pipes.NamedPipeServerStream.WaitForConnection () [0x00000] in <filename unknown>:0