c# - unity networking: bullets not showing on the server when spawned by the client -


i making simple 2d shooting game. movements appear on both sides of server fine, bullets appear on server if host creates them. if client makes bullets, cannot been seen host (but can seen client), presume not being spawned on server. host works client doesn't, not understand why problem occurs , how works, if explain me, great...

looks it's case of creating object on server, perhaps client call initiates process. then, server spawn object, , send object clients also.

see here detailed guide: https://docs.unity3d.com/manual/unetspawning.html

most notably, check "object creation flow" section.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -