回答編集履歴
1
貼り付けるログを間違えたので修正した
test
CHANGED
@@ -16,13 +16,13 @@
|
|
16
16
|
|
17
17
|
```text
|
18
18
|
|
19
|
-
Operation LeaveRoom (254) not
|
19
|
+
Operation LeaveRoom (254) not allowed on current server (MasterServer)
|
20
20
|
|
21
21
|
UnityEngine.Debug:LogError(Object)
|
22
22
|
|
23
23
|
Photon.Realtime.LoadBalancingClient:DebugReturn(DebugLevel, String) (at Assets/Photon/PhotonRealtime/Code/LoadBalancingClient.cs:2304)
|
24
24
|
|
25
|
-
Photon.Realtime.LoadBalancingClient:CheckIfOpCanBeSent(Byte, ServerConnection, String) (at Assets/Photon/PhotonRealtime/Code/LoadBalancingClient.cs:22
|
25
|
+
Photon.Realtime.LoadBalancingClient:CheckIfOpCanBeSent(Byte, ServerConnection, String) (at Assets/Photon/PhotonRealtime/Code/LoadBalancingClient.cs:2227)
|
26
26
|
|
27
27
|
Photon.Realtime.LoadBalancingClient:OpLeaveRoom(Boolean, Boolean) (at Assets/Photon/PhotonRealtime/Code/LoadBalancingClient.cs:1688)
|
28
28
|
|
@@ -36,4 +36,28 @@
|
|
36
36
|
|
37
37
|
|
38
38
|
|
39
|
-
エラーに
|
39
|
+
エラーメッセージに "MasterServer" とありますが、これはつまり Room のある GameServer には接続しておらず、現在は MasterServer とやり取りをしている、ということを表します。
|
40
|
+
|
41
|
+
|
42
|
+
|
43
|
+
また、以下の警告も出力されていると思います。
|
44
|
+
|
45
|
+
|
46
|
+
|
47
|
+
```text
|
48
|
+
|
49
|
+
PhotonNetwork.CurrentRoom is null. You don't have to call LeaveRoom() when you're not in one. State: Authenticating
|
50
|
+
|
51
|
+
UnityEngine.Debug:LogWarning(Object)
|
52
|
+
|
53
|
+
Photon.Pun.PhotonNetwork:LeaveRoom(Boolean) (at Assets/Photon/PhotonUnityNetworking/Code/PhotonNetwork.cs:1912)
|
54
|
+
|
55
|
+
NetworkGameManager:LeaveRoom() (at Assets/_101/NetworkGameManager.cs:120)
|
56
|
+
|
57
|
+
UnityEngine.EventSystems.EventSystem:Update() (at E:/Program Files/Unity Editor/2019.3.11f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.ugui/Runtime/EventSystem/EventSystem.cs:377)
|
58
|
+
|
59
|
+
```
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
つまり現在は部屋に入っていないことを表しています。
|