Skip to content
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

Example not working when trying to connect macOS <> iOS. #9

Closed
antiero opened this issue Jun 4, 2023 · 2 comments
Closed

Example not working when trying to connect macOS <> iOS. #9

antiero opened this issue Jun 4, 2023 · 2 comments

Comments

@antiero
Copy link

antiero commented Jun 4, 2023

Unity 2021.3.26f1, Xcode 14.3.1, macOS 13.4, iOS 16.5.

Is this example supposed to work on a local wireless network between different machines or only on the same local host?

I've successfully built, hosted and joined when building on the Mac, but when building, hosting/joining on iOS < Mac (or iOS <> iOS), it's not possible for a client to connect to the host.

The error on the iOS side is: [Netcode] Cannot start Client while an instance is already running, which seems related to #4

@emgamedev-unity3d
Copy link
Collaborator

Hello!

Thank you for checking out the sample! But unfortunately, ATM GK only works on PC/MAC and only local host. I have a development branch called gk_with_relay, which does implement the Relay service, which lets you create P2P connections, but no mobile device input yet built-in.

@VKSharma17
Copy link

VKSharma17 commented Dec 1, 2023

Hello!

Thank you for checking out the sample! But unfortunately, ATM GK only works on PC/MAC and only local host. I have a development branch called gk_with_relay, which does implement the Relay service, which lets you create P2P connections, but no mobile device input yet built-in.

Just a minor comment for some who might need. The join code is not visible anywhere when running the build .exe. Join code only appears in the unity play mode console logs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants