godotengine / godotengine/godot-docs

MultiplayerSpawner does not warn to use unique names for child scenes.

Open
#10,288 0 comments 0 reactions 0 assignees View on GitHub
area:class reference enhancement topic:multiplayer topic:network
Dominant language
reStructuredText
Stars
5.7k
Forks
3.8k
Avg merge
1d 20h
Merged PRs (30d)
25

Description

**Your Godot version:**

4.3 but the docs should be updated for all.

**Issue description:**

When adding a child to be spawned across clients, the node must have a unique name to the rest of the children. If not: the child will added on the server, but not spawned across clients. This requirement for unique scene names is not mentioned in the documentation, and it is natural to assume that the child will be given a unique name and *then* replicated. I think adding a warning about this requirement (and outlining usage in the docs) would make the MultiplayerSpawner easier to use.

**URL to the documentation page (if already existing):**

https://docs.godotengine.org/en/stable/classes/class_multiplayerspawner.html

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.