[HELP]If i active Unity ADS, i have IOException: Win32 IO returned ERROR_BROKEN_PIPE

Hello.

I have finish my game at 95%.

I have installe ADMOB.

If i activate ADS in " Windows => Service ".

i have This error message :

And if i turn off ADS, its great working, just i don’t have ADS in my game…

Im block since 3 day, i have read all solutions on google and is not working…

i wait a help…

Thanks in advance.

Greetings,

I have replied to your support ticket in regards to this issue. If you could provide me with the script that you are using then I’ll take a look into what could be causing the error.

I’ll be sure to post any solutions that I find here for the benefit of others.

I have uninstall adMOB. I have reboot unity & is the same error. I don’t have a plugin, just activate ADS service by unity don’t working.

The same errors

Its solved!

I have install " jdk1.8.0_112 " in x64 !!!

IOException: Win32 IO returned ERROR_BROKEN_PIPE. Path: D:\Projects\WrestlingGame[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 have tried :

  1. sdk update
  2. jdk update jdk1.8.0_131
  3. move project to C drive

I am using :

  1. unity 5.5.1f1
  2. facebook sdk
  3. GPGS
  4. Photon
  5. Unity IAP
  6. adMob
  7. Window 7 (32 bit)

Any idea.? What should be solution?

Tested in window 64bit . Working perfect in window 64bit.
Means it need jdk 64bit

So whats the solution for 32bit windows? I am building my project fine before importing admob and now i’m also getting this error right after when “Packing Assets in APK”

After trying all these jdk update things and so on which did not help for me, I found deleting the library cache fixed it for me:

  • Make a backup of the whole Unity project folder (everything, just in case :wink: )
  • Exit Unity
  • Delete the Library and obj folders in your Unity project. (You may also simply rename them to Library_old and obj_old)
  • Restart Unity and open the project, build should work now.

Good luck. :eyes:

Nevermind! Surprizingly, shifting my project to C drive worked! :slight_smile: