Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NetworkObject parenting per docs is not possible for a spawned player. #1523

Closed
fernando-cortez opened this issue Dec 10, 2021 · 1 comment · Fixed by #1685
Closed

NetworkObject parenting per docs is not possible for a spawned player. #1523

fernando-cortez opened this issue Dec 10, 2021 · 1 comment · Fixed by #1685
Labels
priority:high stat:backlog Status - Issue could be considered for a future release. type:bug Bug Report

Comments

@fernando-cortez
Copy link

Is your feature request related to a problem? Please describe.
The doc here describes parenting with NetworkObjects.

However, a spawned player with a child NetworkObject cannot parent any scene/spawned NetworkObjects to it since that child's IsSpawned flag is never set to true.

Describe the solution you'd like
A spawned player's child NetworkObjects should be spawned by the networking library, meaning the IsSpawned flag would be set to true and presumably OnNetworkSpawn() would be invoked on that child NetworkObject. As a result of this limitation, this issue also exists.

@fernando-cortez fernando-cortez added type:feature New feature, request or improvement stat:awaiting triage Status - Awaiting triage from the Netcode team. labels Dec 10, 2021
@will-mearns will-mearns added priority:high type:bug Bug Report and removed type:feature New feature, request or improvement labels Dec 15, 2021
@will-mearns
Copy link
Contributor

Added to backlog via MTT-2074

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority:high stat:backlog Status - Issue could be considered for a future release. type:bug Bug Report
Projects
None yet
3 participants