Unity 5 Photon Player Invisible to others.
Options
I've implemented Photon networking to my unity project and it was working fine I could see the other player. Which was just a capsule I added. I recently changed that to a 3d character with animations. Now when I build and test the game the other player is invisible. Does anyone have any idea how to fix this? I am pretty new to programming and photon so I might be forgetting something.
0
Answers
-
Basically your player object must have a photonview attached to it.
You can usePhotonNetwork.Instantiate
to instantiate your player prefab ( prefab must be in the " resources " folder. If you dont have one, simply create it )
You can follow the tutorial available on their website => https://doc.photonengine.com/en-us/pun/current/demos-and-tutorials/pun-basics-tutorial/player-networking ( Photonview part )0 -
I have a PhotonView script attached to my FPSController. I have the graphics attached to the main camera. It was working before I added the 3d character and animations to it.0
-
What are you observing with the photon view attached to the player object ?0