{"repo":"tik-choco-lab/mistnet","free":true,"listed":false,"github":"https://github.com/tik-choco-lab/mistnet","clone":"git clone https://github.com/tik-choco-lab/mistnet.git","description":"Unity P2P networking made simple. No dedicated servers, no backend costs, powered by WebRTC.","language":"C#","stars":31,"topics":["distributed","unity","csharp","webrtc"],"license":"MIT","category":"game-templates","readme_excerpt":"MistNet Features A fully decentralized network library for Unity based on WebRTC. It uses a signaling server only for the initial connection establishment, and thereafter realizes multiplayer communication basically without a server. A TURN server can also be used if necessary. Implementation example https://github.com/tik-choco-lab/mistnet/assets/38463346/cd4a1d95-3422-4b07-b9b6-21f8c63cd1f8 Setup 1. Install NuGetForUnity and search/install MemoryPack . 2. Install MemoryPack via Git URL: 3. Install UniTask via Git URL: 4. Install MistNet via Git URL: Quickstart Signaling Server When you run first, a config file will be generated. Open mistnet config.json and set the signaling server URL. If you want to use your own signaling server, please refer to the following repository. https://github.com/tik-choco-lab/mistnet-signaling Usage Place the \"MistNet\" Prefab in the Scene. The Prefab is located in \"Packages/MistNet/Runtime/Prefabs\". Please configure the connection selection method as shown in the image. Set it to Default if you want to connect in a full mesh. Setting up GameObjects to Synchronize Configuration - Add \"MistSyncObject\" component. - Used for RPC calls and identifying the object to sync. Position Synchronization Method - Add \"MistTransform\" component. Animation Synchronization Method - Add \"MistAnimatorState\" component. Player Instantiation - Instead of placing the GameObject to synchronize in the Scene from the beginning, you need to Instantiate it via MistNet. - R","default_branch":null,"files":null,"tree":[],"storefront":"/r/tik-choco-lab","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tik-choco-lab/mistnet/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}