UNSOLVED unity IAP crashes macOS M1 build
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
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:
thanks, they recommended to try unity IAP 3.0.1
I will wait Simple IAP to support that before trying
I look forward to try it, keep me posted
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.