Unity-Technologies / com.unity.netcode.gameobjects

Netcode for GameObjects is a high-level netcode SDK that provides networking capabilities to GameObject/MonoBehaviour workflows within Unity and sits on top of underlying transport layer.
MIT License
2.13k stars 433 forks source link

Implement a single player mode (fake host mode) for WebGL #2361

Open dr-vij opened 1 year ago

dr-vij commented 1 year ago

Is your feature request related to a problem? Please describe. I want to have the ability to implement single player mode for WebGL, but host mode is not available there

Describe the solution you'd like I want to have a solution that allows me to create fake host mode out of the box, without internet connection to use it for singleplayer mode for all platforms, especially for webgl. It is needed to have 1 client/server implementation for singleplayer and multiplayer games.

Describe alternatives you've considered To create a custom Transport without internet connection. Or maybe to make host mode for webgl that uses other driver inside current Unity Transport

CodeSmile-0000011110110111 commented 6 days ago

Related pull request: #3035