I get 3 errors:
1)-
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)
2)-
System.DllNotFoundException: ardk_client_platform
at (wrapper managed-to-native) Niantic.ARDK.Configuration._NativeArdkConfig._NAR_ARDKGlobalConfigHelper_SetContextAwarenessUrl(string)
3)- #Niantic.ARDK.VirtualStudio.AR.Mock._MockFrameBufferProvider#: Layer ARDK_MockWorld does not exist
UnityEngine.Debug:LogError (object)
I am also running into problems running the Segmentation example on a M1 2021 16" MacBook Pro running Unity 2019.4.34. I get the same error #1) and #3), but different error for #2. I’m also using the M1 patch.
#Niantic.ARDK.VirtualStudio.AR.Mock._MockFrameBufferProvider#: Layer ARDK_MockWorld does not exist
System.DllNotFoundException: TODO_DOES_NOT_EXIST
Exception: An exception occurred in a method subscribed to an ARDK event, check the device logs for more information
For the “Layer ARDK_MockWorld does not exist” error, you might need to create the ARDK_MockWorld render layer to utilize ARDK’s Mock Mode. Example scenes usually have the layer already created, but a new scene won’t have it. See the screenshots in step 6 of this tutorial for an example of how to create the layer: Niantic AR Development Kit (ARDK): Semantic Segmentation Textures Tutorial
Hi Pedro, we are aware and working on this issue involving the black screen in play mode. These errors are expected, and you should still be able to build from here. Check to make sure you have removed Vulkan:** **Edit > Project Settings > Player > Other Settings. Also, you will need to add the layer ARDK_MockWorld in Unity. This tutorial will show you how to add the layer under 8. I hope this helps.
Please open a new topic digitalmonkey and Boulain Mathias to address your issues.
1)- I saw your comment on my post about removing Vulkan, not sure if I got it right.
On the player setting y see Vulkan settings, but all the options , like SRGB Write Mode* are unchecked, it this correct?
2)- I’m using Unity version 2021.1.7f1, is that correct?
3)-I switched to work on the Intermediate Meshing tutorial and I still get the following 2 error messages:
System.DllNotFoundException: ardk_client_platform
at (wrapper managed-to-native) Niantic.ARDK.Configuration._NativeArdkConfig._NAR_ARDKGlobalConfigHelper_SetContextAwarenessUrl(string)
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)
I have a very similar issue. I’m following the tutorial video - Getting started
Running on PC - Unity 2019.4.34f1
I’ve setup the ARDK_MockWorld layer, switched to android and applied the appropriate settings. On enter play in editor
2 errors -
1: System.DllNotFoundException: ardk_client_platform at (wrapper managed-to-native) Niantic.ARDK.Configuration._NativeArdkConfig._NAR_ARDKGlobalConfigHelper_SetContextAwarenessUrl(string)
2: 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:87)
Hello Adam, we’re currently working on bringing official support to PC (and M1 Mac), which will be happening in a future update. In the meantime, many of the features should already be working on these platforms in version 1.1.0 (M1 Mac users will need to use the workaround).