UNSOLVED unity IAP crashes macOS M1 build
-
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_NOTIFYTermination Signal: Bus error: 10
Termination Reason: Namespace SIGNAL, Code 0xathanks
-
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/
-
Hi @baron
thanks, they recommended to try unity IAP 3.0.1
I will wait Simple IAP to support that before tryinghttps://flobuk.com/forum/topic/2587/support-for-unity-iap-purchasing-3-0-1/3
I look forward to try it, keep me posted
thanks -
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.