Include the following details (edit as applicable):
- Issue category: ARDK Documentation
- Device type & OS version: iOS
- Host machine & OS version: Mac
- Issue Environment : On Device
- Xcode version: Not installed
- ARDK version: 2.0.0
- Unity version: 2021.3.3f1 Personal
Description of the issue:
I installed Unity and switched to the iOS build settings. When I load the ARDK package, I get these error messages:
#Niantic.ARDK.Internals.StartupSystems#: Could not load an ArdkAuthConfig, please add one in a Resources/ARDK/ directory. For more information, visit the niantic.dev/docs/authentication.html site.
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:198)
Niantic.ARDK.Internals.StartupSystems:SetAuthenticationParameters () (at Assets/ARDK/Internals/StartupSystems.cs:124)
Niantic.ARDK.Internals.StartupSystems:ManualStartup () (at Assets/ARDK/Internals/StartupSystems.cs:90)
Niantic.ARDK.Internals.StartupSystems:EditorStartup () (at Assets/ARDK/Internals/StartupSystems.cs:48)
UnityEditor.EditorAssemblies:ProcessInitializeOnLoadMethodAttributes () (at /Users/bokken/buildslave/unity/build/Editor/Mono/EditorAssemblies.cs:147)
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. —> System.NullReferenceException: Object reference not set to an instance of an object
at Niantic.ARDK.Internals.StartupSystems.SetAuthenticationParameters () [0x00077] in /Users/erikdesrosiers/ARDK Example/Assets/ARDK/Internals/StartupSystems.cs:154
at Niantic.ARDK.Internals.StartupSystems.ManualStartup () [0x00042] in /Users/erikdesrosiers/ARDK Example/Assets/ARDK/Internals/StartupSystems.cs:90
at Niantic.ARDK.Internals.StartupSystems.EditorStartup () [0x00005] in /Users/erikdesrosiers/ARDK Example/Assets/ARDK/Internals/StartupSystems.cs:48
at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object,System.Exception&)
at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object parameters, System.Globalization.CultureInfo culture) [0x0006a] in :0
— End of inner exception stack trace —
at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object parameters, System.Globalization.CultureInfo culture) [0x00083] in :0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object parameters) [0x00000] in :0
at UnityEditor.EditorAssemblies.ProcessInitializeOnLoadMethodAttributes () [0x000a5] in /Users/bokken/buildslave/unity/build/Editor/Mono/EditorAssemblies.cs:147
UnityEditor.EditorAssemblies:ProcessInitializeOnLoadMethodAttributes () (at /Users/bokken/buildslave/unity/build/Editor/Mono/EditorAssemblies.cs:151)
I tried following the instructions from the first error (ArdkAuthConfig), but then I got a different error and had to boot in safe mode. How can I fix these errors?
Thank you,
Erik