Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

[Solved] First IAP, advice needed

Discussion in 'Unity IAP' started by Munchy2007, Aug 27, 2016.

Thread Status:
Not open for further replies.
  1. Munchy2007

    Munchy2007

    Joined:
    Jun 16, 2013
    Posts:
    1,732
    Does anyone know how to get Unity IAP working in a project that also uses Google Mobile Ads 3.04. and Google Play Game Services 0.9.32?

    As soon as I import the Unity IAP stuff I get a build error :-

    Code (CSharp):
    1. IOException: Win32 IO returned ERROR_BROKEN_PIPE. Path: C:\Game_Path\Game Version 1.00544 - Unreleased\[Unknown]
    2.  
    3. System.IO.FileStream.FlushBuffer (System.IO.Stream st) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/FileStream.cs:1040)
    4.  
    5. System.IO.FileStream.FlushBuffer () (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/FileStream.cs:1054)
    6.  
    7. System.IO.FileStream.Flush () (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/FileStream.cs:859)
    8.  
    9. System.IO.StreamWriter.Flush () (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/StreamWriter.cs:191)
    10.  
    11. System.IO.StreamWriter.Dispose (Boolean disposing) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/StreamWriter.cs:162)
    12.  
    13. UnityEditor.HostView:OnGUI()
     
    Last edited: Aug 27, 2016
  2. Cecilie

    Cecilie

    Unity Technologies

    Joined:
    Jul 6, 2012
    Posts:
    83
    Hi there

    I'm unable to reproduce so far so it might help to know what unity version you're using?
     
    erika_d likes this.
  3. Munchy2007

    Munchy2007

    Joined:
    Jun 16, 2013
    Posts:
    1,732
    Hi @Cecilie thanks for the reply, I'm using Unity 5.3.6f1. But I've gone with an asset from the store (Mobyshop), which has solved the problem for now.

    I'll give Unity Ads another go for my next project and include it right from the start, as that should make it much easier to track down problems.
     
Thread Status:
Not open for further replies.