Include the following details (edit as applicable):
- Issue category: Getting Started Unity Project / Unity Example Scenes
- Device type & OS version: iOS
- Host machine & OS version: Mac M1 Monterey 12.0.1
- Issue Environment : Unity Editor
- ARDK version: 1.1.0
- Unity version: 2019.4.23 & 2021.2.0
Description of the issue:
I followed the instructions in this post (M1 Support Workaround) to try running the ARDK example projects on Unity on Mac M1. However, after opening an example scene and hitting the play button, I got the following exception:
System.DllNotFoundException: TODO_DOES_NOT_EXIST
at (wrapper managed-to-native) Niantic.ARDK.Configuration._NativeArdkConfig._NAR_ARDKGlobalConfigHelper_SetContextAwarenessUrl(string)
at Niantic.ARDK.Configuration._NativeArdkConfig.SetContextAwarenessUrl (System.String url) [0x00001] in /Users/xiliu/Desktop/Unity/ARDKTest/Assets/ARDK/Configuration/_NativeArdkConfig.cs:51
at Niantic.ARDK.Configuration.ArdkGlobalConfig.SetContextAwarenessUrl (System.String url) [0x00001] in /Users/xiliu/Desktop/Unity/ARDKTest/Assets/ARDK/Configuration/ArdkGlobalConfig.cs:67
at Niantic.ARDK.AR.Configuration._ARConfigurationValidator.SetMissingValues (Niantic.ARDK.AR.Configuration.IARConfiguration config) [0x000a5] in /Users/xiliu/Desktop/Unity/ARDKTest/Assets/ARDK/AR/Configuration/_ARConfigurationValidator.cs:187
at Niantic.ARDK.AR.Configuration._ARConfigurationValidator.RunAllChecks (Niantic.ARDK.AR.IARSession arSession, Niantic.ARDK.AR.Configuration.IARConfiguration newConfiguration) [0x00060] in /Users/xiliu/Desktop/Unity/ARDKTest/Assets/ARDK/AR/Configuration/_ARConfigurationValidator.cs:256
at Niantic.ARDK.VirtualStudio.AR._MockARSession.Run (Niantic.ARDK.AR.Configuration.IARConfiguration configuration, Niantic.ARDK.AR.ARSessionRunOptions options) [0x00010] in /Users/xiliu/Desktop/Unity/ARDKTest/Assets/ARDK/VirtualStudio/AR/_MockARSession.cs:171
at Niantic.ARDK.Extensions.ARSessionManager.Run () [0x00022] in /Users/xiliu/Desktop/Unity/ARDKTest/Assets/ARDK/Extensions/ARSessionManager.cs:258
at Niantic.ARDK.Extensions.ARSessionManager.CreateAndRun () [0x00012] in /Users/xiliu/Desktop/Unity/ARDKTest/Assets/ARDK/Extensions/ARSessionManager.cs:267
at Niantic.ARDK.Extensions.ARSessionManager+<>c__DisplayClass27_0.<ScheduleCreateAndRunOnNextUpdate>b__0 () [0x00022] in /Users/xiliu/Desktop/Unity/ARDKTest/Assets/ARDK/Extensions/ARSessionManager.cs:171
at Niantic.ARDK.Utilities._CallbackQueue._ConsumeQueue () [0x0004b] in /Users/xiliu/Desktop/Unity/ARDKTest/Assets/ARDK/Utilities/_CallbackQueue.cs:72 from context:
UnityEngine.Debug:LogError (object)
Niantic.ARDK.Utilities.Logging.UnityARLogHandler:Error (string) (at Assets/ARDK/Utilities/Logging/LogHandler/UnityARLogHandler.cs:41)
Niantic.ARDK.Utilities.Logging.ARLog:_Exception (System.Exception,object) (at Assets/ARDK/Utilities/Logging/ARLog.cs:230)
Niantic.ARDK.Utilities._CallbackQueue:_ConsumeQueue () (at Assets/ARDK/Utilities/_CallbackQueue.cs:77)
Niantic.ARDK.Utilities._CallbackQueue:Update () (at Assets/ARDK/Utilities/_CallbackQueue.cs:111)
Another issue is that the mockup scene and all the buttons except for “Toggle Log” disappeared in game mode.
I am wondering whether it is possible to fix the issues and what functionalities of ARDK are not supported on Mac M1 as of now. Thanks!