Include the following details while filing a bug report (edit as applicable):
- Issue category: Adding Occlusion (depth manager, rendering manager) / Editor Mock Scene / M1 Mac
- Device type & OS version: iOS
- Host machine & OS version: MacBook Air (M1 Mac)
- Issue Environment : Unity Mock
- Xcode version: NA (editor issue
- ARDK version: 1.3
- Unity version: 2020.3
Bug reproduction steps:
Following the occlusions tutorial
Creating scene
adding the ARDK components
when adding the depth manager and AR rendering manager (for occlusion) the app no longer starts in play mode, and this error appears:
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) [0x00000] in /Users/stanforduser/Documents/GitHub/smart_primer_ar/Assets/ARDK/Configuration/_NativeArdkConfig.cs:56
at Niantic.ARDK.Configuration.ArdkGlobalConfig.SetContextAwarenessUrl (System.String url) [0x00000] in /Users/stanforduser/Documents/GitHub/smart_primer_ar/Assets/ARDK/Configuration/ArdkGlobalConfig.cs:92
at Niantic.ARDK.AR.Configuration._ARConfigurationValidator.SetMissingValues (Niantic.ARDK.AR.Configuration.IARConfiguration config) [0x00072] in /Users/stanforduser/Documents/GitHub/smart_primer_ar/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) [0x0003d] in /Users/stanforduser/Documents/GitHub/smart_primer_ar/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) [0x0000e] in /Users/stanforduser/Documents/GitHub/smart_primer_ar/Assets/ARDK/VirtualStudio/AR/_MockARSession.cs:171
at Niantic.ARDK.Extensions.ARSessionManager.Run () [0x00019] in /Users/stanforduser/Documents/GitHub/smart_primer_ar/Assets/ARDK/Extensions/ARSessionManager.cs:258
at Niantic.ARDK.Extensions.ARSessionManager.CreateAndRun () [0x0000e] in /Users/stanforduser/Documents/GitHub/smart_primer_ar/Assets/ARDK/Extensions/ARSessionManager.cs:267
at Niantic.ARDK.Extensions.ARSessionManager+<>c__DisplayClass27_0.b__0 () [0x0001b] in /Users/stanforduser/Documents/GitHub/smart_primer_ar/Assets/ARDK/Extensions/ARSessionManager.cs:171
at Niantic.ARDK.Utilities._CallbackQueue._ConsumeQueue () [0x00042] in /Users/stanforduser/Documents/GitHub/smart_primer_ar/Assets/ARDK/Utilities/_CallbackQueue.cs:72 from context:
#0 GetStacktrace(int)
#1 DebugStringToFile(DebugStringToFileData const&)
#2 DebugLogHandler_CUSTOM_Internal_Log(LogType, LogOption, ScriptingBackendNativeStringPtrOpaque*, ScriptingBackendNativeObjectPtrOpaque*)
#3 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,UnityEngine.LogOption,string,UnityEngine.Object)
#4 (Mono JIT Code) [_CallbackQueue.cs:112] Niantic.ARDK.Utilities._CallbackQueue:Update ()
#5 mono_jit_runtime_invoke
#6 do_runtime_invoke
#7 mono_runtime_invoke
#8 scripting_method_invoke(ScriptingMethodPtr, ScriptingObjectPtr, ScriptingArguments&, ScriptingExceptionPtr*, bool)
#9 ScriptingInvocation::Invoke(ScriptingExceptionPtr*, bool)
#10 MonoBehaviour::CallMethodIfAvailable(int)
#11 MonoBehaviour::CallUpdateMethod(int)
#12 void BaseBehaviourManager::CommonUpdate()
#13 BehaviourManager::Update()
#14 InitPlayerLoopCallbacks()::UpdateScriptRunBehaviourUpdateRegistrator::Forward()
#15 ExecutePlayerLoop(NativePlayerLoopSystem*)
#16 ExecutePlayerLoop(NativePlayerLoopSystem*)
#17 PlayerLoop()
#18 PlayerLoopController::UpdateScene(bool)
#19 PlayerLoopController::EnterPlayMode()
#20 PlayerLoopController::SetIsPlaying(bool)
#21 Application::TickTimer()
#22 -[EditorApplication TickTimer]
#23 __NSFireTimer
#24 CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION
#25 __CFRunLoopDoTimer
#26 __CFRunLoopDoTimers
#27 __CFRunLoopRun
#28 CFRunLoopRunSpecific
#29 RunCurrentEventLoopInMode
#30 ReceiveNextEventCommon
#31 _BlockUntilNextEventMatchingListInModeWithFilter
#32 _DPSNextEvent
#33 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]
#34 -[NSApplication run]
#35 NSApplicationMain
#36 EditorMain(int, char const**)
#37 main
#38 start
The same scene can run on my colleague’s macbook pro, but continues to give errors for my machine.