#unity3D MulitPlayer FPS

1 messages · Page 1 of 1 (latest)

rotund quiver
#

it is following the video from Brackeys in Youtube. when the two player linked into the server, the error was triggered. Error code is followed:

NullReferenceException: Object reference not set to an instance of an object
PlayerShoot.Update () (at Assets/Scripts/PlayerShoot.cs:41)

BlobAww

but if only single player linked with server, everything is fine. I think it is not code error. can you give any suggestion?

covert lodgeBOT
rotund quiver
#

It is solved, but I don't kwon why. restart the unity editor is done.

pallid hamlet
#

Note that you shpuldn't follow Brackeys multiplayer tutorial for the multiplayer part anymore. The networking solution it uses - UNet - has been deprecated and will not work anymore.

rotund quiver