Skip to content

This sample project demonstrates how to use Netcode Transport for Apple Multipeer Connectivity, enabling peer-to-peer communication between nearby Apple devices (macOS, visionOS, iOS).

License

Notifications You must be signed in to change notification settings

realitydeslab/netcode-transport-multipeer-connectivity-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample Project for Multipeer Connectivity Transport for Netcode for GameObjects

This project is a sample that demonstrates how to use Multipeer Connectivity Transport for Netcode for GameObjects.

Multipeer Connectivity is a powerful framework provided by Apple that enables seamless communication and data exchange between devices within the Apple ecosystem, including macOS, visionOS, iOS, and even within the Unity Editor on Mac. By using Multipeer Connectivity, developers can create applications that allow multiple Apple devices to communicate with each other in real-time, facilitating activities such as multiplayer gaming, collaborative work, and data sharing. The Multipeer Connectivity Transport for Netcode for GameObjects extends this capability to Unity-based projects, enabling developers to easily integrate cross-platform networking features into their games and applications, ensuring a consistent and robust communication experience across the entire Apple ecosystem.

System Requirements

This sample project has been tested and verified for peer-to-peer communication using MultipeerConnectivity across the following platforms:

  • iOS 18.0
  • visionOS 2.0
  • macOS 15.0
  • Unity Editor 6 (macOS)

Note: The later versions may work but are not tested.

Screenshot

Initial Screen

image

Host

image

Client

image

Cross-Platform Communication Between iOS App and Unity Editor (macOS)

image

Cross-Platform Communication Between iOS App, visionOS app and Unity Editor (macOS)

image

Author and License

This project is authored by Reality Design Lab and is licensed under the MIT License.

About

This sample project demonstrates how to use Netcode Transport for Apple Multipeer Connectivity, enabling peer-to-peer communication between nearby Apple devices (macOS, visionOS, iOS).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published