Right now I'm creating a multiplayer helicopter game, but I can't fix this error in my code for some time now. I get this error when somebody respawns(both the server host and client can get it)
This is the error that I get:
NullReferenceException: Object reference not set to an instance of an object Spawning.Respawn () (at Assets/Scripts/Spawning.cs:47)
This is Spawning.cs:
http://pastebin.com/F3YkXE94
(I uploaded it to pastebin because it looks better there)
Any ideas how to...
Cant transfer object references through the network?
This is the error that I get:
NullReferenceException: Object reference not set to an instance of an object Spawning.Respawn () (at Assets/Scripts/Spawning.cs:47)
This is Spawning.cs:
http://pastebin.com/F3YkXE94
(I uploaded it to pastebin because it looks better there)
Any ideas how to...
Cant transfer object references through the network?