Trying to instantiate projectile with Photon: (Not implemented exception Error)?

Hi,

I’m trying t spawn a projectile: “BeePrefab”, which is located in the Resources folder as it should, with the following code:

                PhotonNetwork.Instantiate("BeePrefab", muzzle.transform.position, Quaternion.identity);

“muzzle” is an empty game object at the tip of the gun and I want the projectile to instantiate there, using it’s position and rotation. The projectile has it’s own velocity script and will move forward when spawned.

But I get the following error:
NotImplementedException: The method or operation is not implemented.
PhotonNetwork.Instantiate (System.String v, UnityEngine.Vector3 position, UnityEngine.Quaternion identity) (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/PhotonNetwork.cs:55)
ActivateGuns.Update () (at Assets/ActivateGuns.cs:174)

Does anyone know why or what to do to fix it?

Does anybody know?

Nevermind, i figured it out

What was the problem then?

The problem was in the way I wrote the instantiation code, It just had to be modified a little

What was the modification?