public override unsafe TrackableChanges <XRReferencePoint> GetChanges( XRReferencePoint defaultReferencePoint, Allocator allocator) { try { return(TrackableChanges <XRReferencePoint> .CopyFrom( new NativeArray <XRReferencePoint>( NativeApi.addedRefPoints.Select(m => m.ToXRReferencePoint(defaultReferencePoint)).ToArray(), allocator), new NativeArray <XRReferencePoint>( NativeApi.updatedRefPoints.Select(m => m.ToXRReferencePoint(defaultReferencePoint)).ToArray(), allocator), new NativeArray <TrackableId>( NativeApi.removedRefPoints.Select(m => m.id).ToArray(), allocator), allocator)); } finally { NativeApi.UnityXRMock_consumedReferencePointChanges(); } }