Skip to content

Netcode tutorial doesn't handle multiple MainEntityCamera from different clients but uses HasSingleton<MainEntityCamera> #6

@brian-mpg

Description

@brian-mpg

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions