Im trying to isntantiate a prefab with photon bit i have this issue
Thats because the prefab im trying to instantiate needs some dependencies from de scene like the camera
Any ideas how can i do this?? :/
Thanks a lot!
Just try to assign the object in the script. If you need the camera use
followObject = GameObject.FindWithTag("MainCamera");
or
followObject = Camera.main;
in the Start() method.