Search Unity

UNITY_PURCHASING directive missing in 3.0.1

Discussion in 'Unity IAP' started by newatlanta19006, Mar 24, 2021.

  1. newatlanta19006

    newatlanta19006

    Joined:
    Feb 23, 2019
    Posts:
    13
    I have some packages that depended on UNITY_PURCHASING directive being enabled when Unity IAP is active. This worked ok 2.x versions but I can't seem to get that directive to work in 3.0.1. Is it still supposed to work? Or is there a new directive I should use in imported packages? Any help here would be great. Thanks!
     
    hantengx and ArthurAulicino like this.
  2. John_Corbett

    John_Corbett

    Joined:
    May 17, 2019
    Posts:
    151
    Hi @newatlanta19006,

    #UNITY_PURCHASING has been removed. It was cause a lot of errors for many users and we no longer deemed it necessary.

    Can you describe your dependencies? We can probably help you out!
     
    hantengx likes this.
  3. newatlanta19006

    newatlanta19006

    Joined:
    Feb 23, 2019
    Posts:
    13
    Ah I see! That makes sense. I'll update my libraries accordingly. I also noticed after the upgrade that my products no longer brought up the Fake Store UI anymore and it just hangs there now. Is that also intended in the new update or should the Fake Store still function as before?
     
  4. John_Corbett

    John_Corbett

    Joined:
    May 17, 2019
    Posts:
    151
    Fake Store should still work in PIE. Can you please provide specifics?
     
  5. newatlanta19006

    newatlanta19006

    Joined:
    Feb 23, 2019
    Posts:
    13
    I rolled back to previous version. But I will try to re-upgrade and reproduce the issue.
     
  6. andymads

    andymads

    Joined:
    Jun 16, 2011
    Posts:
    1,614
    Would have be useful to mention it in the changes.
     
    hba_infinity, hantengx and nicholasr like this.