Search Unity

How can I download Game Foundation in 2021.1?

Discussion in 'Game Foundation' started by sballew7, Apr 2, 2021.

  1. sballew7

    sballew7

    Joined:
    Sep 3, 2013
    Posts:
    76
    With the recent changes to experimental / pre-release packages, Game Foundation doesn't seem to be available from the package manager.

    Is there a way to install Game Foundation in 2021.1?
     
  2. richj_unity

    richj_unity

    Unity Technologies

    Joined:
    Sep 23, 2019
    Posts:
    40
    In Unity 2021.1, Game Foundation is classified as Experimental, so you'll have to add this line to Packages/manifest.json to install it:
     
  3. Sukender_OB

    Sukender_OB

    Joined:
    Nov 14, 2019
    Posts:
    18
    Hi @richj_unity ,

    Hm, it seems that 2021.1 uses IAP 3.0.2 (and can update to 3.1.0), but it seems GF 0.8 isn't compatible yet. Is there any hotfix (0.8.1?) or workaround for this? I'm ready to tweak & hack installed packages if needed ;)

    Just for info, errors look like:
    ITransactionManager.cs CS0234: The type or namespace name 'Security' does not exist in the namespace 'UnityEngine.Purchasing'

    Same for 'CrossPlatformValidator', 'FakeStoreUIMode', 'IAppleExtensions', 'IGooglePlayStoreExtensions' and 'ITransactionHistoryExtensions'.
     
  4. erika_d

    erika_d

    Joined:
    Jan 20, 2016
    Posts:
    413
    Hi @Sukender_OB,

    Thanks for your question. We are aware of the issues with IAP 3.0 and Game Foundation and are working on fixes for it. Some of the improvements made for IAP 3.0 involved removing/changing some things that are pretty tightly woven into the Game Foundation Transaction system, so the process of creating a hotfix for it ended up being a bit more intensive than expected. For now the workaround would be to use a version of Unity that supports previous versions of IAP, and we hope to have a fix out to enable IAP 3.0 usage in the not too distant future.
     
    richj_unity likes this.
  5. richj_unity

    richj_unity

    Unity Technologies

    Joined:
    Sep 23, 2019
    Posts:
    40
    Compatibility with IAP 3.x has been fixed in the recent 0.9.0 release.
     
    erika_d likes this.
  6. khushalkhan

    khushalkhan

    Joined:
    Aug 6, 2016
    Posts:
    177
    guys this should have been out of preview
     
  7. annna110 likes this.
  8. annna110

    annna110

    Joined:
    Apr 14, 2022
    Posts:
    1