Netcode tutorial doesn't handle multiple MainEntityCamera from different clients but uses HasSingleton<MainEntityCamera>
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- csharp, unity
- Domain
- documentation, game-dev
Research direction
Start with _Documentation/Tutorial/tutorial-netcodecharacters.md and follow the tutorial through MainCameraSystem, focusing on its HasSingleton assumption. Reproduce the issue by connecting a second client and inspect the resulting MainEntityCamera entities. Done means the tutorial's netcode setup no longer breaks when multiple clients create cameras.
Written by the indexing model from the issue text.
Description
If you follow the directions in https://github.com/Unity-Technologies/CharacterControllerSamples/blob/master/_Documentation/Tutorial/tutorial-netcodecharacters.md
Everything works in the editor fine, that is until a second client connects. That's when that world creates a 2nd MainEntityCamera entity and the MainCameraSystem breaks.
Considering it's a tutorial for netcode it should be assumed it's for multiplayer and multiple clients.
- Dominant language
- C#
- Stars
- 408
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
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.
More from Unity-Technologies/CharacterControllerSamples
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
Unity-Technologies/CharacterControllerSamples#10 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
Unity-Technologies/CharacterControllerSamples#9 · 1 comment ·
All issues in Unity-Technologies/CharacterControllerSamples
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
nightscout/nocturne#1425 ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Documentation
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
cake-build/cake#5024 ·
-
Frontend status/draft TechnicalDebt
Difficulty 2/5 1-2 days Newbie friendliness 75/100
Altinn/altinn-auth#4143 ·