PhotonView has no method

Options
Hi,

I've got a problem with only being able to connect to a room once each time I run the game. My setup is that I have a GameManager object that takes care of connecting to Photon and joining a room. If I leave a room I call:

PhotonNetwork.LeaveRoom();
PhotonNetwork.LoadLevel(0);

When joining another room I get an error from my GameManager when it gets sent an RPC from the master client:

PhotonView with ID 1 has no method "PlaceVehicle" marked with the [RPC](C#)

I'm connected to the cloud and I'm in the room. I know this because I can see the other vehicles. The GameManager still exists in the scene and has the PhotonView with ID1. My GameManager script is still attached and functioning. Am I forgetting to do something on disconnect?

Comments

  • Tobias
    Options
    Well, from the error you get, some script is not setup or some method not available. PlaceVehicle seems to be missing or expects another set of parameters than you get.