-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Network Discovery Example not connecting (iOS <> Mac) #226
Comments
Hey I'm running into the same issue, did you ever find a solution/workaround? I'm on an iPad and I've got permission in Settings -> Privacy & Security -> Local Network |
No I never managed to resolve this, but I'm wondering whether this "fix" could be related?... (albeit for Mirror, but the same iOS entitlement/permission thing might hold true?...) MirrorNetworking/Mirror#3433 (comment) |
The pertinent bit from the Mirror link above: "iOS AppStore LAN Broadcasting Follow the Xcode instructions to get the multicast networking permission from Apple. |
Yeah I think that's the case. I've applied for com.apple.developer.networking.multicast, let's hope that helps an info thread here: Local Network Privacy FAQ: Using the Multicast Networking Additional Capability: How to enable capabilities |
and you can apply for the entitlement from here |
Unity 2021.3.25f1, macOS Ventura 13.4, Xcode 14.3.1, iOS 16.5.
Netcode for GameObjects 1.4.0 + com.community.netcode.extensions from main
I am using the example NetworkDiscovery code listed in the docs here
Building out the App for iPhone and Mac (and also tested on the Mac in Unity Editor)
I have tried using a local WiFi network, creating an Ad-Hoc network from Mac, and also connecting to the iPhone network via Personal Hotspot (WiFi) + and also via USB.
Using the Example Network Discovery HUD I do the following:
Result: No servers are listed and I cannot connect a device either way. Does anyone have a working example which uses Network Discovery with iOS+Mac device (versions listed above)
The text was updated successfully, but these errors were encountered: