Include the following details (edit as applicable):
- Issue category: Lightship Maps / Semantic Segmentation / Multiplayer / Real-time Mapping-Depth / ARDK Documentation / Unity Example Package / Sample App aka ‘AR Voyage’ / ARDK Virtual Studio Tools / Developer Tools / Networking / VPS / Scanning Framework
- Device type & OS version: Android / iOS / Other Ex. iPhone 8+ on iOS 13
- Host machine & OS version: Mac / Windows / Linux / Other Ex. Mac on Big Sur x.x
- Issue Environment : Unity Remote / Unity Mock / On Device / Dev Portal
- Xcode version:
- ARDK version:
- Unity version:
Description of the issue:
I followed the documentation, installed ardk3, and tried to utilize a VPS and Location AR to locate content. I completed the follow along below and played in the Unity Editor, but got the error message below, what should I do?
[How to Place Content in Real-World Locations Using Location AR]
chatgpt4 is not helping me at all, please help.
Error1.
NullReferenceException: Object reference not set to an instance of an object
Niantic.Lightship.AR.PersistentAnchors.ARPersistentAnchorManager.InitializeARPersistentAnchorManagerImplementation () (at ./Library/PackageCache/com.nianticlabs.lightship@7e30bd752f/Runtime/ARFoundation/Overrides/PersistentAnchors/ARPersistentAnchorManager.cs:350)
Niantic.Lightship.AR.PersistentAnchors.ARPersistentAnchorManager.OnEnable () (at ./Library/PackageCache/com.nianticlabs.lightship@7e30bd752f/Runtime/ARFoundation/Overrides/PersistentAnchors/ARPersistentAnchorManager.cs:111)
Niantic.Lightship.AR.LocationAR.ARLocationManager.OnEnable () (at ./Library/PackageCache/com.nianticlabs.lightship@7e30bd752f/Runtime/ARFoundation/Overrides/LocationAR/ARLocationManager.cs:181)
Error2.
NullReferenceException: Object reference not set to an instance of an object
Niantic.Lightship.AR.PersistentAnchors.ARPersistentAnchorManager.TryTrackAnchor (Niantic.Lightship.AR.PersistentAnchors.ARPersistentAnchorPayload payload, Niantic.Lightship.AR.PersistentAnchors.ARPersistentAnchor& arPersistentAnchor) (at ./Library/PackageCache/com.nianticlabs.lightship@7e30bd752f/Runtime/ARFoundation/Overrides/PersistentAnchors/ARPersistentAnchorManager.cs:181)
Niantic.Lightship.AR.LocationAR.ARLocationManager.TryTrackLocations (Niantic.Lightship.AR.LocationAR.ARLocation arLocations) (at ./Library/PackageCache/com.nianticlabs.lightship@7e30bd752f/Runtime/ARFoundation/Overrides/LocationAR/ARLocationManager.cs:449)
Niantic.Lightship.AR.LocationAR.ARLocationManager.StartTracking () (at ./Library/PackageCache/com.nianticlabs.lightship@7e30bd752f/Runtime/ARFoundation/Overrides/LocationAR/ARLocationManager.cs:267)
Niantic.Lightship.AR.LocationAR.ARLocationManager.Start () (at ./Library/PackageCache/com.nianticlabs.lightship@7e30bd752f/Runtime/ARFoundation/Overrides/LocationAR/ARLocationManager.cs:209)