UnityTechnologies / GalacticKittens

Get started making multiplayer games with Netcode for GameObjects
https://unity.com/products/netcode
Other
200 stars 57 forks source link

Test the Game on Multiplay #4

Open ArturoNereu opened 2 years ago

rossi42 commented 1 year ago

Since the topic somehow fits but no issue is actually reported I hijacked this topic. I try to run GalacticKittens on two PCs (physical machines) in my LAN but no matter who is host and who ist client - as soon as one PC is running an instance the second PC cannot join the game. Both machines run to the Host/Join/Quit menu but the second machine does not get any further not matter if Join or Host ist pressed. In Unity editor the console reports (when Join button is pressed):

[Netcode] Cannot start Client while an instance is already running UnityEngine.Debug:LogWarning (object) Unity.Netcode.NetworkLog:LogWarning (string) (at Library/PackageCache/com.unity.netcode.gameobjects@1.0.2/Runtime/Logging/NetworkLog.cs:28) Unity.Netcode.NetworkManager:CanStart (Unity.Netcode.NetworkManager/StartType) (at Library/PackageCache/com.unity.netcode.gameobjects@1.0.2/Runtime/Core/NetworkManager.cs:1163) Unity.Netcode.NetworkManager:StartClient () (at Library/PackageCache/com.unity.netcode.gameobjects@1.0.2/Runtime/Core/NetworkManager.cs:1060) MenuManager/d__13:MoveNext () (at Assets/Scripts/Managers/MenuManager.cs:108) UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr)

When multiple instances run on one machine this all works fine.

Unity version here is 2021.3.11f1 Galactic Kittens downloaded today. (2022-10-13)

antiero commented 1 year ago

Seeing the same issue between iOS <> macOS.