Unity-Technologies / Unity-Technologies/com.unity.netcode.gameobjects
Implement a single player mode (fake host mode) for WebGL
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 2.3k
- Forks
- 461
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 20
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the current Unity Transport and the WebGL host-mode limitation described in the issue. Compare the proposed fake host mode with a custom offline Transport, then define how one client/server implementation should work for both single-player and multiplayer without an internet connection. Done means an agreed design and working single-player host mode for WebGL and other platforms.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, unity
- Domain
- game-dev, networking
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100