Search Unity

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

Discussion in 'Android' started by sha303, Jan 10, 2017.

  1. sha303

    sha303

    Joined:
    Jan 10, 2017
    Posts:
    6
    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.
     
  2. Ben-Stoneman

    Ben-Stoneman

    Services Support

    Joined:
    Jan 19, 2012
    Posts:
    52
    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.
     
  3. sha303

    sha303

    Joined:
    Jan 10, 2017
    Posts:
    6
    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
     
  4. sha303

    sha303

    Joined:
    Jan 10, 2017
    Posts:
    6
    Its solved!

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

    SaurabhStudio

    Joined:
    Mar 9, 2016
    Posts:
    7
    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?
     
    Last edited: May 10, 2017
  6. SaurabhStudio

    SaurabhStudio

    Joined:
    Mar 9, 2016
    Posts:
    7
    Tested in window 64bit . Working perfect in window 64bit.
    Means it need jdk 64bit
     
  7. nmnsud

    nmnsud

    Joined:
    Apr 6, 2017
    Posts:
    6
    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"
     
  8. ReneBuehling

    ReneBuehling

    Joined:
    Mar 18, 2013
    Posts:
    1
    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 ;) )
    • 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. o_O
     
  9. nmnsud

    nmnsud

    Joined:
    Apr 6, 2017
    Posts:
    6
    Nevermind! Surprizingly, shifting my project to C drive worked! :)