Topic: Multiplayer errors

Hi,
I am new to Photon. I have Integrated PUN by following the documentation (http://www.ufe3d.com/doku.php/global:network). As expected network option in UFE Global File is enabled and when I click on "Online" button and then click on "Create Game", following errors occurs I have no idea how to get it working.

Operation failed: OperationResponse 230: ReturnCode: 32736 (No auth request during expected wait time). Parameters: {} Server: NameServer
UnityEngine.Debug:LogError(Object)
NetworkingPeer:OnOperationResponse(OperationResponse) (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/NetworkingPeer.cs:1669)
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)

Authentication failed: 'No auth request during expected wait time' Code: 32736
UnityEngine.Debug:LogError(Object)
NetworkingPeer:OnOperationResponse(OperationResponse) (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/NetworkingPeer.cs:1711)
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)

CreateRoom failed. Client is not on Master Server or not yet ready to call operations. Wait for callback: OnJoinedLobby or OnConnectedToMaster.
UnityEngine.Debug:LogError(Object)
PhotonNetwork:CreateRoom(String, RoomOptions, TypedLobby, String[]) (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/PhotonNetwork.cs:1702)
PhotonNetwork:CreateRoom(String, RoomOptions, TypedLobby) (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/PhotonNetwork.cs:1655)
PhotonConnector:CreateMatch(MatchCreationRequest) (at Assets/UFE/Engine/Scripts/Network/PhotonAPI/PhotonConnector.cs:86)
PhotonMultiplayerAPI:CreateMatch(MatchCreationRequest) (at Assets/UFE/Engine/Scripts/Network/PhotonAPI/PhotonMultiplayerAPI.cs:44)
DefaultHostGameScreen:StartHostGame(Text) (at Assets/UFE/Engine/Scripts/UI_Templates/DefaultHostGameScreen.cs:45)
UnityEngine.EventSystems.EventSystem:Update() (at C:/Program Files/Unity/Editor/2019.4.15f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.ugui/Runtime/EventSystem/EventSystem.cs:377)

Share

Thumbs up Thumbs down

Re: Multiplayer errors

It looks like you didn't properly assign the App ID.
Make sure you go through the setup step:
http://www.ufe3d.com/doku.php/global:network#setup
And register an account here:
https://www.photonengine.com/en/PUN

Like UFE? Please rate and review us on the Asset Store!
Questions about the Forum? Check out our Karma FAQ.
Don't forget to check our discord channel.

3 (edited by anjumshehzad316 2021-08-12 01:11:08)

Re: Multiplayer errors

I have imported PUN instead of PUN 2 and this time got rid of the other messages but still when i hit Create Game, this error message pops up:
CreateRoom failed. Client is not on Master Server or not yet ready to call operations. Wait for callback: OnJoinedLobby or OnConnectedToMaster.
UnityEngine.Debug:LogError(Object)
PhotonNetwork:CreateRoom(String, RoomOptions, TypedLobby, String[]) (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/PhotonNetwork.cs:1702)
PhotonNetwork:CreateRoom(String, RoomOptions, TypedLobby) (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/PhotonNetwork.cs:1655)
PhotonConnector:CreateMatch(MatchCreationRequest) (at Assets/UFE/Engine/Scripts/Network/PhotonAPI/PhotonConnector.cs:86)
PhotonMultiplayerAPI:CreateMatch(MatchCreationRequest) (at Assets/UFE/Engine/Scripts/Network/PhotonAPI/PhotonMultiplayerAPI.cs:44)
DefaultHostGameScreen:StartHostGame(Text) (at Assets/UFE/Engine/Scripts/UI_Templates/DefaultHostGameScreen.cs:45)
UnityEngine.EventSystems.EventSystem:Update() (at C:/Program Files/Unity/Editor/2019.4.15f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.ugui/Runtime/EventSystem/EventSystem.cs:377)

https://drive.google.com/file/d/1j30mjZ … sp=sharing
This is my PhotonServerSettings

Please help me out what am I missing here?

Share

Thumbs up Thumbs down

Re: Multiplayer errors

Found a similar issue to your problem:
http://www.ufe3d.com/forum/viewtopic.php?id=1656

apollo wrote:

It works for me now. On the PhotonServerSettings.asset I had to change Hosting to "Best Region"

Like UFE? Please rate and review us on the Asset Store!
Questions about the Forum? Check out our Karma FAQ.
Don't forget to check our discord channel.

Re: Multiplayer errors

Thanks.
Working now.I forgot to reply

Share

Thumbs up Thumbs down