Search Unity

UWP IAP NotImplementedException

Discussion in 'Windows' started by GLeBaTi, Mar 16, 2017.

  1. GLeBaTi

    GLeBaTi

    Joined:
    Jan 12, 2013
    Posts:
    54
    Hi. I have this exception when i run game in windows phone emulator. What the rison?


     
  2. JayR

    JayR

    Joined:
    Aug 2, 2016
    Posts:
    84
    Hi. That's the error you'd normally see if you somehow ended up starting a store on either the wrong platform or on an unsupported platform. Windows Phone is a supported platform for Unity IAP, so seeing this error suggests that something went wrong in the build. The usual problems here are if the IAP plugin directories were re-arranged or the .meta files for the store DLLs were modified or deleted. There are two different files named `winrt.dll` in the plugin tree and in this case you're hitting the wrong one.

    For future IAP issues you may also want to check the Unity IAP Forum. The IAP development team handles both the general and platform-specific aspects of Unity IAP and monitors that forum closely.

    Finally, IAP on an emulator isn't really a well-supported configuration and could cause unexpected behavior on some platforms. That's not the problem you're seeing here, but something to consider while testing.
     
  3. GLeBaTi

    GLeBaTi

    Joined:
    Jan 12, 2013
    Posts:
    54
    Does IAP working in UWP (il2cpp)?
     
  4. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,937
    @GLeBaTi

    UWP/IL2CPP will support Unity IAP in the 5.6 release of Unity. Note that you need to use the .NET 4.6 API compatibility level to make this work though.
     
  5. GLeBaTi

    GLeBaTi

    Joined:
    Jan 12, 2013
    Posts:
    54
    This is good news! Thanks Jay and Josh
     
    JayR likes this.