Search the Community
Showing results for tags 'entities'.
Found 2 results
-
Hi guys, can you please switch protocols to udp, as there's tons of issues with tcp in any multiplayer game. I've literally watched myself and others be dos'ed again and again on dedicated via the monitor over the tcp handshake. No multiplayer games use tcp because of issues like these, a few lost packets is no big deal. Also, I posted a few hints about entity disposal in the Unity C# api last month for your benefit, and I never got a response? It's a major issue that results in a crazy amount of lag, if the object super classes have been set up properly it shouldn't be hard to differentiate between free placed/pre-generated objects and dropped (player or newly generated) objects. Which would clear up a lot of the lag from too many entities.
-
- server
- multiplayer
-
(and 3 more)
Tagged with:
-
Hi guys, I've been playing multiplayer almost non-stop since the game came to steam. One major problem that I've noticed is that if a lot of entities are lying around in the game; tree remnants, stone tools, etc., multiplayer games will start to glitch out a bit. Objects will still be in the game, but they will be invisible to players. This is especially annoying when a foundry can't be found that was placed earlier, or blocks that are being placed are invisible. There are many easy ways to fix this with Unity's C# APIs. A combination of an IDropHandler.OnDrop event, System.Timers (like 60000 milliseconds), and/or Object.Destroy (a timer can be set with DestroyObjectDelayed but I'm not sure about setting a flag with this method) could start a timer when an item is tossed, and can be modified a bit for objects that weren't picked up like bark, dirt, etc. after a player has interacted with an entity.