- Home /
Photon Viking Demo error
Hi there fellow developers,
Me and a friend are working on an Unity multiplayer project. We would like to use Photon for this so we decided to first check out some existing examples to strip them down and see what is going on. We downloaded the Viking demo and did everything in the readme.txt like change the server adress to "localhost:5055" and red trough the pdf included with the Photon folder.
Now when we start the demo in unity with the photon server v3.0 running as application we get the following compiler errors:
Error1: OperationResponse 1: ReturnCode: -1 (Unknown operation code 1). Parameters: {} UnityEngine.Debug:LogError(Object) PhotonHandler:DebugReturn(DebugLevel, String) (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/PhotonHandler.cs:82) NetworkingPeer:DebugReturn(DebugLevel, String) (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/NetworkingPeer.cs:669) NetworkingPeer:OnOperationResponse(OperationResponse) (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/NetworkingPeer.cs:680) ExitGames.Client.Photon.PeerBase:DeserializeMessageAndCallback(Byte[]) ExitGames.Client.Photon.EnetPeer:DispatchIncomingCommands() ExitGames.Client.Photon.PhotonPeer:DispatchIncomingCommands() PhotonHandler:Update() (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/PhotonHandler.cs:48)
Error 2: Authentication failed: OperationResponse 1: ReturnCode: -1 (Unknown operation code 1). Parameters: {}. UnityEngine.Debug:LogError(Object) PhotonHandler:DebugReturn(DebugLevel, String) (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/PhotonHandler.cs:82) NetworkingPeer:DebugReturn(DebugLevel, String) (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/NetworkingPeer.cs:669) NetworkingPeer:OnOperationResponse(OperationResponse) (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/NetworkingPeer.cs:691) ExitGames.Client.Photon.PeerBase:DeserializeMessageAndCallback(Byte[]) ExitGames.Client.Photon.EnetPeer:DispatchIncomingCommands() ExitGames.Client.Photon.PhotonPeer:DispatchIncomingCommands() PhotonHandler:Update() (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/PhotonHandler.cs:48)
What are we doing wrong? We would really appreciate the help. Thanks in advance!
Answer by abhayawasthi64 · Dec 01, 2011 at 09:36 PM
I am also getting the Same Problem. Please Help Us..............
Do not post comments as answers. There's a clear button saying 'Add new comment'; I suggest you use it! Also, do not repost an answer to bump it up to the top, Especially when you are not answering the question!
Answer by abhayawasthi64 · Dec 01, 2011 at 03:21 PM
I am also getting the same problem. please help us...................
Do not post comments as answers. There's a clear button saying 'Add new comment'; I suggest you use it!
Your answer
Follow this Question
Related Questions
How to instatiate two players simultaneoulsy before loading level 1 Answer
Cannot see other player in Multipayer Project? 0 Answers
Multiplayer cant see host player C# 0 Answers
Multiplayer: client cant see host C# 0 Answers
A node in a childnode? 1 Answer