Can't execute Disconnect() while not connected

Options
Hello again,

In my game I have an option to not connect and play without Photon although the PhotonViewers still exist. When I stop the game playing in the editor I get this warning
Can't execute Disconnect() while not connected. Nothing changed. State: PeerCreated
UnityEngine.Debug:LogWarning(Object)
NetworkingPeer:Disconnect() (at Assets/External/Photon Unity Networking/Plugins/PhotonNetwork/NetworkingPeer.cs:388)
PhotonNetwork:Disconnect() (at Assets/External/Photon Unity Networking/Plugins/PhotonNetwork/PhotonNetwork.cs:1247)
PhotonHandler:OnApplicationQuit() (at Assets/External/Photon Unity Networking/Plugins/PhotonNetwork/PhotonHandler.cs:56)

It's not breaking anything, and it couldn't since the app is closing. But I thought to report it.

Comments

  • Tobias
    Options
    I assume you are in offline mode?
    I will take a look. I thought I fixed some message like that for offline mode in PUN 1.26 (latest version currently).