Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. The 2023.1 beta is now available for testing. To find out what's new, have a look at our 2023.1 feature highlights.
    Dismiss Notice

[SOLVED] IAP Broken in 2017.3?

Discussion in '2017.3 Beta' started by Claytonious, Nov 20, 2017.

  1. Claytonious

    Claytonious

    Joined:
    Feb 16, 2009
    Posts:
    844
    When trying to import IAP plugin from Service window on 2017.3b8, I always get this contradictory popup:

    upload_2017-11-19_16-4-29.png

    Anyone else using IAP successfully in 2017.3 beta series?
     
  2. Claytonious

    Claytonious

    Joined:
    Feb 16, 2009
    Posts:
    844
    Gosh, ran into this bug, too, just now. So basically no monetization works in this beta. This has been a really tough one.
     
  3. unityjingyao

    unityjingyao

    Unity Technologies

    Joined:
    Feb 20, 2017
    Posts:
    220
    Hi @Claytonious
    I couldn't reproduce this Unity IAP issue in 2017.3.0b4.
    I'm downloading 2017.3.0b8 and will test it then.
    Could you please tell me some steps to reproduce this issue?
     
  4. unityjingyao

    unityjingyao

    Unity Technologies

    Joined:
    Feb 20, 2017
    Posts:
    220
    Hi @Claytonious
    I still couldn't reproduce it in 2017.3.0b8.
    Could you please try it again?
     
  5. Claytonious

    Claytonious

    Joined:
    Feb 16, 2009
    Posts:
    844
    Hi, @unityjingyao - I included more details on bug report #970784, including a simple repro project. But you probably don't need it because the steps are this simple:

    1. Create a new project
    2. Go to Window/Services
    3. Enable IAP
    4. Import IAP plugins into the project
    5. Quit Unity
    6. Reopen the same project
    7. You will see compiler errors and messages about the IAP assemblies being disabled.

    This was with 2017.3b8 on Mac OS X 10.12.6 - maybe this is specific to Mac?

    Any help or a workaround that you could provide would be much appreciated! Thanks for looking into it, either way, though.
     
    LeonhardP likes this.
  6. Claytonious

    Claytonious

    Joined:
    Feb 16, 2009
    Posts:
    844
    I also tried manually copying over the IAP plugins folder from an older project from an earlier Unity version - this runs the API updater of course but afterward same result as above - compiler errors due to "broken assemblies".
     
  7. Claytonious

    Claytonious

    Joined:
    Feb 16, 2009
    Posts:
    844
    I think have found the root cause of the problem and how to "fix" it.

    I just updated to 2017.3 beta 10, repeated all steps, and now everything is working. I do NOT believe this is fixed because of any difference between beta 8 and 10, though. The main difference is that while I was on beta 8, I *only* had the Android build module installed. (I had installed the editor and the Android module - no iOS, no Windows, etc.). When I updated to beta 10, I installed *all* of these modules this time:

    Android, iOS, Windows, Facebook, WebGL.

    This time - IAP is working. I think you guys have accidental dependencies in those IAP DLL's, such that if you install the editor with *only* the Android module as I had, you will have a bad day.
     
    nicholasr likes this.
  8. charlesb_rm

    charlesb_rm

    Unity Technologies

    Joined:
    Jan 18, 2017
    Posts:
    485
    Thanks for your investigation Claytonious. We will try to reproduce the issue here and see how we can resolve this.