Search Unity

DllNotFoundException: unitypurchasing Error

Discussion in 'Unity IAP' started by wagenheimer, May 29, 2020.

  1. wagenheimer

    wagenheimer

    Joined:
    Jun 1, 2018
    Posts:
    323
    I'm having an issue where the unity purchasing plugin seems to be missing when I build and run in Xcode for MAC App Store.

    DllNotFoundException: unity purchasing Error when initializing it.


    I'm using Unity 2019.3.15, Mono Build...

    Any advice on how to fix it?
     
  2. wagenheimer

    wagenheimer

    Joined:
    Jun 1, 2018
    Posts:
    323
    I sent a bug report with a project. 1251746

    IL2CPP - XCode shows (Undefined symbols for architecture x86_64:
    "_getUnityPurchasingAppReceipt", referenced from) when Building on XCode
    Mono - DllNotFoundException: unity purchasing
     
  3. SamOYUnity3D

    SamOYUnity3D

    Unity Technologies

    Joined:
    May 12, 2019
    Posts:
    626
    We are fixing this problem, and there is no ETA yet.

    In some cases, deleting the Libray folder is worked and maybe worth a try.
    https://forum.unity.com/threads/com...8-2-0f2-il2cpp-for-macos.547951/#post-4734662
     
  4. wagenheimer

    wagenheimer

    Joined:
    Jun 1, 2018
    Posts:
    323
    Just for future reference, it now seems to be working on Unity 2020.1.8f1 but I still need to make a change after generating the Xcode Project because it fails with Code Signing Error.

    Add --deep flag to "Other Code Signing Flags" in the code signing section of the build settings.

    This seems to solve the problem.
     
    SamOYUnity3D and JeffDUnity3D like this.