[Solved] IOException: Win32 IO returned ERROR_BROKEN_PIPE

Hey I am using :

  • Unity Version 5.5.2f1
  • GooglePlayGamesPlugin-0.9.37
  • Unity IAP
  • Facebook-unity-sdk-7.9.0
  • GoogleMobileAds
  • Window 8.1

Unity IAP working fine with fb sdk and google ads but now when I imported google play plugin it show no error in console but when I try to build it shows this ERROR :

“IOException: Win32 IO returned ERROR_BROKEN_PIPE. Path: D:\xxxxxx\Drag[Unknown]
System.IO.FileStream.FlushBuffer (System.IO.Stream st) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/FileStream.cs:1040)
System.IO.FileStream.FlushBuffer () (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/FileStream.cs:1054)
System.IO.FileStream.Flush () (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/FileStream.cs:859)
System.IO.StreamWriter.Flush () (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/StreamWriter.cs:191)
System.IO.StreamWriter.Dispose (Boolean disposing) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/StreamWriter.cs:162)
UnityEditor.HostView:OnGUI()”

I already tried : I imported all plugins one by one in new project they all work fine and properly build for android but when I imported Unity IAP it start showing this error.

  • updated jdk

  • sdk locations

  • changing project forlder to C:\

  • Already googled and tried most of solutions

Any suggestion or help please ???

@anil4029

Looking at those errors, none of them appear to be related to IAP.

Would you be able to provide a copy of a project where this issue is reproduced? You can send me a PM or a support ticket:

It start working fine now…I updated everything and restarted my system. Thanks for reply :slight_smile:

1 Like