Quantcast
Channel: Multiplayer
Viewing all articles
Browse latest Browse all 16796

[Declined] What could cause the host (server) to spawn duplicates of spawned objects?

$
0
0
I don't understand why OnStartAuthority() runs twice.

I am just following what the documentation (manual) says when spawning client authority objects. Because Start() in NetworkBehaviour is not network-aware, I need to use a method that does the initialization and is network-aware. OnStartAuthority(), as I read it, is equivalent to Start(), but it's also network-aware.

I don't have a client. I just pressed Play, hit the "Start Server" button in the NetworkManagerHUD, and out pops two of...

[Declined] What could cause the host (server) to spawn duplicates of spawned objects?

Viewing all articles
Browse latest Browse all 16796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>