Navigation

    FLOBUK Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Search

    UNSOLVED unity IAP crashes macOS M1 build

    Simple IAP System
    2
    4
    22
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      appminded last edited by

      Hi

      I am using Unity 2020.3.0f1, unity IAP 2.2.2 and Simple IAP 4.3.6

      I built the Mac version with IAP and it works on Intel macOS, but it crashes on start on macOS M1 (native build)

      If I build without initializing unity IAPmanager it works on my macOS M1.

      key lines from the log on macOS M1, when crashes (few seconds after start):

      System Integrity Protection: enabled

      Crashed Thread: 0 tid_303 Dispatch queue: com.apple.main-thread

      Exception Type: EXC_BAD_ACCESS (SIGBUS)
      Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
      Exception Note: EXC_CORPSE_NOTIFY

      Termination Signal: Bus error: 10
      Termination Reason: Namespace SIGNAL, Code 0xa

      thanks

      Baron 1 Reply Last reply Reply Quote 0
      • Baron
        Baron Developer @appminded last edited by

        Hi there,

        I saw that you posted in the Unity IAP section on the Unity forum too, which is the right thing to do. Simple IAP System does not contain any native code that could be responsible for crashes. It seems the underlying Unity IAP DLLs could be the cause.

        I am tracking your thread on the Unity forum. For reference:

        https://forum.unity.com/threads/unity-iap-crashes-macos-m1-build.1084856/

        A 1 Reply Last reply Reply Quote 0
        • A
          appminded @Baron last edited by

          Hi @baron

          thanks, they recommended to try unity IAP 3.0.1
          I will wait Simple IAP to support that before trying

          https://flobuk.com/forum/topic/2587/support-for-unity-iap-purchasing-3-0-1/3

          I look forward to try it, keep me posted
          thanks

          Baron 1 Reply Last reply Reply Quote 0
          • Baron
            Baron Developer @appminded last edited by

            I am sorry for the delay - the update was declined once and took an additional queue round on the Asset Store.

            It is now live:

            • Simple IAP System 1 v.4.3.7
            • Simple IAP System 2

            Both versions support Unity IAP 3.x. If you would like to stay on Simple IAP System 1, you should be able to download the latest version via the Package Manager. Then, update Unity IAP to 3.x as well.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post