Create room error
Options
Got an error while creating any room:
Server couldn't create a room: Newtonsoft.Json.JsonReaderException : Unexpected character encountered while parsing value: h. Path '', line 0, position 0.
Tried on empty projects(+ PUN v2.33.3) with unity versions 2020.3.14f1 and 2021.1.15f1. Photon demos also dosn't work with same error.
I'm able to connect to master server and to lobby, but not to rooms.
Full log:
Server couldn't create a room: Newtonsoft.Json.JsonReaderException : Unexpected character encountered while parsing value: h. Path '', line 0, position 0.
Stack Trace:
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
at Photon.Hive.Plugin.WebHooks.WebHooksPlugin.SetupInstance(IPluginHost host, Dictionary`2 config, String& errorMsg)
at Photon.Hive.Plugin.WebHooks.PluginFactory.Create(IPluginHost gameHost, String pluginName, Dictionary`2 config, String& errorMsg)
at Photon.Hive.Plugin.PluginManager.CreatePluginWithFactory(IPluginHost sink, String pluginName)
at Photon.Hive.Plugin.PluginManager.GetGamePlugin(IPluginHost sink, String pluginName)
UnityEngine.Debug:LogFormat (string,object[])
Networking.NetworkingManager:OnCreateRoomFailed (int16,string) (at Assets/Scripts/Networking/NetworkingManager.cs:26)
Photon.Realtime.MatchMakingCallbacksContainer:OnCreateRoomFailed (int16,string) (at Assets/ThirdParty/Photon/PhotonRealtime/Code/LoadBalancingClient.cs:4163)
Photon.Realtime.LoadBalancingClient:CallbackRoomEnterFailed (ExitGames.Client.Photon.OperationResponse) (at Assets/ThirdParty/Photon/PhotonRealtime/Code/LoadBalancingClient.cs:2583)
Photon.Realtime.LoadBalancingClient:OnOperationResponse (ExitGames.Client.Photon.OperationResponse) (at Assets/ThirdParty/Photon/PhotonRealtime/Code/LoadBalancingClient.cs:2724)
ExitGames.Client.Photon.PeerBase:DeserializeMessageAndCallback (ExitGames.Client.Photon.StreamBuffer) (at /Dev/Work/photon-dotnet-sdk/PhotonDotNet/PeerBase.cs:871)
ExitGames.Client.Photon.EnetPeer:DispatchIncomingCommands () (at /Dev/Work/photon-dotnet-sdk/PhotonDotNet/EnetPeer.cs:563)
ExitGames.Client.Photon.PhotonPeer:DispatchIncomingCommands () (at /Dev/Work/photon-dotnet-sdk/PhotonDotNet/PhotonPeer.cs:1863)
Photon.Pun.PhotonHandler:Dispatch () (at Assets/ThirdParty/Photon/PhotonUnityNetworking/Code/PhotonHandler.cs:221)
Photon.Pun.PhotonHandler:FixedUpdate () (at Assets/ThirdParty/Photon/PhotonUnityNetworking/Code/PhotonHandler.cs:147)
Server couldn't create a room: Newtonsoft.Json.JsonReaderException : Unexpected character encountered while parsing value: h. Path '', line 0, position 0.
Tried on empty projects(+ PUN v2.33.3) with unity versions 2020.3.14f1 and 2021.1.15f1. Photon demos also dosn't work with same error.
I'm able to connect to master server and to lobby, but not to rooms.
Full log:
Server couldn't create a room: Newtonsoft.Json.JsonReaderException : Unexpected character encountered while parsing value: h. Path '', line 0, position 0.
Stack Trace:
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
at Photon.Hive.Plugin.WebHooks.WebHooksPlugin.SetupInstance(IPluginHost host, Dictionary`2 config, String& errorMsg)
at Photon.Hive.Plugin.WebHooks.PluginFactory.Create(IPluginHost gameHost, String pluginName, Dictionary`2 config, String& errorMsg)
at Photon.Hive.Plugin.PluginManager.CreatePluginWithFactory(IPluginHost sink, String pluginName)
at Photon.Hive.Plugin.PluginManager.GetGamePlugin(IPluginHost sink, String pluginName)
UnityEngine.Debug:LogFormat (string,object[])
Networking.NetworkingManager:OnCreateRoomFailed (int16,string) (at Assets/Scripts/Networking/NetworkingManager.cs:26)
Photon.Realtime.MatchMakingCallbacksContainer:OnCreateRoomFailed (int16,string) (at Assets/ThirdParty/Photon/PhotonRealtime/Code/LoadBalancingClient.cs:4163)
Photon.Realtime.LoadBalancingClient:CallbackRoomEnterFailed (ExitGames.Client.Photon.OperationResponse) (at Assets/ThirdParty/Photon/PhotonRealtime/Code/LoadBalancingClient.cs:2583)
Photon.Realtime.LoadBalancingClient:OnOperationResponse (ExitGames.Client.Photon.OperationResponse) (at Assets/ThirdParty/Photon/PhotonRealtime/Code/LoadBalancingClient.cs:2724)
ExitGames.Client.Photon.PeerBase:DeserializeMessageAndCallback (ExitGames.Client.Photon.StreamBuffer) (at /Dev/Work/photon-dotnet-sdk/PhotonDotNet/PeerBase.cs:871)
ExitGames.Client.Photon.EnetPeer:DispatchIncomingCommands () (at /Dev/Work/photon-dotnet-sdk/PhotonDotNet/EnetPeer.cs:563)
ExitGames.Client.Photon.PhotonPeer:DispatchIncomingCommands () (at /Dev/Work/photon-dotnet-sdk/PhotonDotNet/PhotonPeer.cs:1863)
Photon.Pun.PhotonHandler:Dispatch () (at Assets/ThirdParty/Photon/PhotonUnityNetworking/Code/PhotonHandler.cs:221)
Photon.Pun.PhotonHandler:FixedUpdate () (at Assets/ThirdParty/Photon/PhotonUnityNetworking/Code/PhotonHandler.cs:147)
0
Comments
-
Thanks, it helps0