Failed to InstantiateSceneObject prefab: Cube. Client should be in a room?

I am trying to instantiate multiple objects on the Photon network into a scene.

But I keep running into this exception:

Failed to InstantiateSceneObject prefab: Cube. Client should be in a room. Current connectionStateDetailed: Disconnecting.

The Objects appear and then it is disconnected? I no longer become the Master and all objects Disappear?

Comments

  • Hi @markashburner,

    how many objects do you want to instantiate? Do you instantiate them all at one? The server has a maximum message size. If it receives a message from a client, which exceeds the message size, the client will be disconnected. This seems to happen here. Please try to lower the amount of objects you want to instantiate and see if this works.