Brackeys Multiplayer fps tutorials trouble..
I’m Watching brackeys multiplayer fps tutorials and i just finished watching ep 16 Bug Fixing and i have trouble. When i play as player 1 (The host) and shoots player 2 (The client) he dies at one shot and respawns then i can’t move player 2 but i can shoot him with player 1 and he dies after like 20 shots (like he should do) And i get this error. NullReferenceException; Object reference not set to an instance of an object. And the error comes from my player.cs script. Line 39, 92, 130 and 135. And in player.setup. Line 96, 53. Here is screenshots of my code and exact lines that causes the errors http://imgur.com/a/licOt I can’t see what as actually is wrong please help me, thanks!
Your answer
Follow this Question
Related Questions
How do I fix my UnityEngine Reference? 1 Answer
UnassignedReferenceException: The variable UI of MenuManager has not been assigned. 1 Answer
Survival Shooter Error CS0120 1 Answer
Nav Mesh Problem with SetDestination 1 Answer
My game script is fine but I'm still getting unexpected class error 0 Answers