The prefab has PhotonView that already exists scene throws Illegal View ID: 0 on using RPC?

I have some prefab object that already exists in the scene, and there are several RPC calls when the scene is loaded to synchronize initial setups.

However, using RPC from these objects all throw the same error: Illegal view ID:0.

Is this intentional or just a glitch? Does RPC only works that the game object must be instantiated by PhotonNetwork.Instantiate?

Answers

  • Temporarily solved by creating a script that instantiates the object through PhotonNetwork.Instantiate on Start method, and saved as the prefab and replaced all objects that need to use RPC right after the scene is loaded. Doesn't like much, but for now, it works. But still curious is intended.