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: 3.8
- Unity version: 2021.3.37f1
Description of the issue:
I installed the Recording sample scene for playback recording on my andriod phone. The start and stop of recording seems to work fine, but when i click on save and export. The export fails.
So i tried to run the Recording sample scene on the editor and ended up with the following 2 errors. Could you please guide me through this issues.
Error1:
InvalidOperationException: Sequence contains no matching element
System.Linq.Enumerable.First[TSource] (System.Collections.Generic.IEnumerable1[T] source, System.Func
2[T,TResult] predicate)
(at <739dc5bce2d24b21aa5cf3ead562dcba>:0)
Niantic.Lightship.AR.Samples.RecordingDemo.StopScanning () (at Assets/Samples/Scanning/Scripts/RecordingDemo.cs:117)
System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.b__7_0 (System.Object state) (at <80e08c2cc04049bf931fc9038d04f397>:0)
UnityEngine.UnitySynchronizationContext+WorkRequest.Invoke () (at <583df70190f94511bd46f12943531dbc>:0)
UnityEngine.UnitySynchronizationContext.Exec () (at <583df70190f94511bd46f12943531dbc>:0)
UnityEngine.UnitySynchronizationContext.ExecuteTasks () (at <583df70190f94511bd46f12943531dbc>:0)
Error2:
NullReferenceException: Object reference not set to an instance of an object
Niantic.ARDK.AR.Scanning.ScanArchiveBuilder…ctor (Niantic.ARDK.AR.Scanning.ScanStore+SavedScan scan,
Niantic.ARDK.AR.Scanning.UploadUserInfo uploadUserInfo)
(at Library/PackageCache/com.nianticlabs.lightship@2fa0ccfba7/Runtime/ScanManagement/ScanArchiveBuilder.cs:40)
Niantic.Lightship.AR.Samples.RecordingDemo.StartExporting () (at Assets/Samples/Scanning/Scripts/RecordingDemo.cs:131)
System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.b__7_0 (System.Object state) (at <80e08c2cc04049bf931fc9038d04f397>:0)
UnityEngine.UnitySynchronizationContext+WorkRequest.Invoke () (at <583df70190f94511bd46f12943531dbc>:0)
UnityEngine.UnitySynchronizationContext.Exec () (at <583df70190f94511bd46f12943531dbc>:0)
UnityEngine.UnitySynchronizationContext.ExecuteTasks () (at <583df70190f94511bd46f12943531dbc>:0)