- Home /
Networked Game Issues - Camera does not follow script
I had my game perfectly running, and when I instantiate the player, the camera no longer follows it. If needed, I can post my scripts. Here is the base of my network code, if that helps:http://www.paladinstudios.com/2013/07/10/how-to-create-an-online-multiplayer-game-with-unity/
Bit more detailed description:
Camera will run fine as long as there is no server running(meaning server code is not added to any gameobject) Player moves around fine, with or without server code.
Is there any fix for this?
Update: The camera seems to act as if it does not have the player set as the focus, is there a way to set the focus in code? Update 2: I tried getting a static variable from the camera controller to get the player, but this is apparently null, so my assumptions are correct as above. Is there any fix, or any help someone could give me to get a fix?
Answer by JamieSinn · Sep 29, 2013 at 02:44 PM
I have answered this question by using the 3rd Person Standard Assets, I will close this now.