OpenHogwarts / hogwarts

Hogwarts (Harry Potter) open sandbox game made in Unity
Other
750 stars 168 forks source link

Main menu is stuck on Connecting... #73

Closed Lecernawx closed 2 years ago

Lecernawx commented 2 years ago

This game looks really cool, but unfortunately it is stuck in Connecting at the main menu. I set up a Photon PUN app but it doesn't seem to work (getting a bunch of event 226).

Possible to run this locally without the networked components?


UnityEngine.Debug:Log(Object)
NetworkingPeer:OnOperationResponse(OperationResponse) (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/NetworkingPeer.cs:1627)
ExitGames.Client.Photon.PeerBase:DeserializeMessageAndCallback(StreamBuffer)
ExitGames.Client.Photon.EnetPeer:DispatchIncomingCommands()
ExitGames.Client.Photon.PhotonPeer:DispatchIncomingCommands()
PhotonHandler:Update() (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/PhotonHandler.cs:161)

OnEvent: Event 226.
UnityEngine.Debug:Log(Object)
NetworkingPeer:OnEvent(EventData) (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/NetworkingPeer.cs:2395)
ExitGames.Client.Photon.PeerBase:DeserializeMessageAndCallback(StreamBuffer)
ExitGames.Client.Photon.EnetPeer:DispatchIncomingCommands()
ExitGames.Client.Photon.PhotonPeer:DispatchIncomingCommands()
PhotonHandler:Update() (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/PhotonHandler.cs:161)

queueIncomingCommand() CMD(7 ch#/sq#/usq#: 0/3/2 r#/st/tt:0/0/0) channel seq# r/u: 3/1
UnityEngine.Debug:Log(Object)
NetworkingPeer:DebugReturn(DebugLevel, String) (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/NetworkingPeer.cs:1608)
ExitGames.Client.Photon.EnetPeer:QueueIncomingCommand(NCommand)
ExitGames.Client.Photon.EnetPeer:ExecuteCommand(NCommand)
ExitGames.Client.Photon.EnetPeer:DispatchIncomingCommands()
ExitGames.Client.Photon.PhotonPeer:DispatchIncomingCommands()
PhotonHandler:Update() (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/PhotonHandler.cs:161)

OnEvent: Event 226.
UnityEngine.Debug:Log(Object)
NetworkingPeer:OnEvent(EventData) (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/NetworkingPeer.cs:2395)
ExitGames.Client.Photon.PeerBase:DeserializeMessageAndCallback(StreamBuffer)
ExitGames.Client.Photon.EnetPeer:DispatchIncomingCommands()
ExitGames.Client.Photon.PhotonPeer:DispatchIncomingCommands()
PhotonHandler:Update() (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/PhotonHandler.cs:161)```
Lecernawx commented 2 years ago

Nevermind ! For anyone encountering this issue, make sure to select "Auto-Join Lobby" in the client settings in PUN.