Importing the ardk examples packages into unity 2020.3.28f + ARDK 1.2.0 generates errors. I am using MAcOS Big Sur.
Running the project ContextAwareness → Segmentation → SemanticSegmentation scene prints:
FrameBufferProvider#: Layer ARDK_MockWorld does not exist
UnityEngine.Debug:LogError (object)
#Niantic.ARDK.VirtualStudio.AR.Mock._MockFrameBufferProvider#: Add the ARDK_MockWorld layer to the Layers list (Edit > ProjectSettings > Tags and Layers) in order to render in Mock AR sessions.
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:_Error (string) (at Assets/ARDK/Utilities/Logging/ARLog.cs:202)
Niantic.ARDK.VirtualStudio.AR.Mock._MockFrameBufferProvider:CreateCameraBase (string) (at Assets/ARDK/VirtualStudio/AR/Camera/_MockFrameBufferProvider.cs:360)
Niantic.ARDK.VirtualStudio.AR.Mock._MockFrameBufferProvider:InitializeImageGeneration () (at Assets/ARDK/VirtualStudio/AR/Camera/_MockFrameBufferProvider.cs:161)
Niantic.ARDK.VirtualStudio.AR.Mock._MockFrameBufferProvider:.ctor (Niantic.ARDK.VirtualStudio.AR._MockARSession,UnityEngine.Transform) (at Assets/ARDK/VirtualStudio/AR/Camera/_MockFrameBufferProvider.cs:100)
Niantic.ARDK.VirtualStudio.AR._MockARSession:Run (Niantic.ARDK.AR.Configuration.IARConfiguration,Niantic.ARDK.AR.ARSessionRunOptions) (at Assets/ARDK/VirtualStudio/AR/_MockARSession.cs:193)
Niantic.ARDK.Extensions.ARSessionManager:Run () (at Assets/ARDK/Extensions/ARSessionManager.cs:258)
Niantic.ARDK.Extensions.ARSessionManager:CreateAndRun () (at Assets/ARDK/Extensions/ARSessionManager.cs:267)
Niantic.ARDK.Extensions.ARSessionManager/<>c__DisplayClass27_0:b__0 () (at Assets/ARDK/Extensions/ARSessionManager.cs:171)
Niantic.ARDK.Utilities._CallbackQueue:_ConsumeQueue () (at Assets/ARDK/Utilities/_CallbackQueue.cs:72)
Niantic.ARDK.Utilities._CallbackQueue:Update () (at Assets/ARDK/Utilities/_CallbackQueue.cs:111)
System.NullReferenceException: Object reference not set to an instance of an object
at Niantic.ARDK.VirtualStudio.AR.Mock._MockFrameBufferProvider.InitializeImageGeneration () [0x00011] in /Users/cdiaz/LightShip-Test-2/Assets/ARDK/VirtualStudio/AR/Camera/_MockFrameBufferProvider.cs:164
at Niantic.ARDK.VirtualStudio.AR.Mock._MockFrameBufferProvider…ctor (Niantic.ARDK.VirtualStudio.AR._MockARSession mockARSession, UnityEngine.Transform camerasRoot) [0x00074] in /Users/cdiaz/LightShip-Test-2/Assets/ARDK/VirtualStudio/AR/Camera/_MockFrameBufferProvider.cs:100
at Niantic.ARDK.VirtualStudio.AR._MockARSession.Run (Niantic.ARDK.AR.Configuration.IARConfiguration configuration, Niantic.ARDK.AR.ARSessionRunOptions options) [0x000a6] in /Users/cdiaz/LightShip-Test-2/Assets/ARDK/VirtualStudio/AR/_MockARSession.cs:193
at Niantic.ARDK.Extensions.ARSessionManager.Run () [0x00019] in /Users/cdiaz/LightShip-Test-2/Assets/ARDK/Extensions/ARSessionManager.cs:258
at Niantic.ARDK.Extensions.ARSessionManager.CreateAndRun () [0x0000e] in /Users/cdiaz/LightShip-Test-2/Assets/ARDK/Extensions/ARSessionManager.cs:267
at Niantic.ARDK.Extensions.ARSessionManager+<>c__DisplayClass27_0.b__0 () [0x0001b] in /Users/cdiaz/LightShip-Test-2/Assets/ARDK/Extensions/ARSessionManager.cs:171
at Niantic.ARDK.Utilities._CallbackQueue._ConsumeQueue () [0x00042] in /Users/cdiaz/LightShip-Test-2/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)
Exception: An exception occurred in a method subscribed to an ARDK event, check the device logs for more information
Niantic.ARDK.Utilities._CallbackQueue._ConsumeQueue () (at Assets/ARDK/Utilities/_CallbackQueue.cs:89)
Niantic.ARDK.Utilities._CallbackQueue.Update () (at Assets/ARDK/Utilities/_CallbackQueue.cs:111)