Hi!
despite the documentation saying otherwise, MultipeerConnectivityService appears to be unavailable in visionOS. Am I missing something or is this an issue with the current beta or (hopefully not 😬) the documentation?
https://developer.apple.com/documentation/realitykit/multipeerconnectivityservice
do {
entity.scene?.synchronizationService = try MultipeerConnectivityService(session: MultipeerSession.shared.session)
print("RealityKit synchronization started.")
} catch {
fatalError("RealityKit synchronization could not be started. Error: \(error.localizedDescription)")
}
Xcode complains 'MultipeerConnectivityService' is unavailable in visionOS
, while the scene's synchronizationService
property can be accessed...