Mirror
Mirror copied to clipboard
#1 Open Source Unity Networking Library
I couldn't figure out why my custom interest management solution wasn't working. It was because I had added an Awake() method to my subclass, and because of that NetworkServer.aoi was...
**Describe the bug** Awake is not called on objects with NetworkBehaviour unless server/host/client is started. **Reproduce** In "Basic" example, open scene. Create an empty object in scene. Create a test.cs...
when I use connectionToServer.clientOwnedObjects in a **client** like this var clientObjects = isServer ? connectionToClient.clientOwnedObjects :((NetworkConnectionToClient) connectionToServer).clientOwnedObjects; it debugs a log that InvalidCastException: Specified cast is not valid. From the...
Save networked game objects in the scene, and the network manager will automatically handle the scene's networked game objects. So for Mirror networked game objects nested inside dynamically loaded prefabs,...
Often times DDOL NetworkManager is not in offline scene (e.g. in the case of having a bootstrap scene for all singletons, or in the case of having a menu scene...
This PR adds an simple **OnEnableClient()** and an **OnDisableClient()** method for the **NetworkBehaviour**. Will be called if the **NetworkBehaviour** gets "visible" or "hidden" on the client or host. If an...
When having a fairly big project assembly, the Weaver assembly process is incredibly slow, in Unity2020.3 it adds 30-50secs to compile times!😮 there's 300 assemblies in the Weaver interface, seems...
Eyes of War added to showcase games.
This is very much a work in progress and NEEDS changing before it is ready to merge (no runtime visibility changes and probably needs code cleaning up/commenting) In my past...
New logic is added here to track the changes that get made to a SyncDictionary which drastically reduces the amount of redundant data being sent over the network. Now if...