-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
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
SceneTree without network peer don't act like master #22892
Comments
I partly agree on this, but one thing to note, is that RPCs/RSETs will still not work because there is no network peer. |
RPC (haven't checked RSET) does work, but it invokes methods tagged as I agree, changing the behavior of |
@GagaPete well, maybe they used to work in
Will give you:
Yeah, multiple.
|
Godot version: 3.0.6 + 3.1-alpha1
OS/device including version: Arch Linux
Issue description: When calling is_network_master() without having a network peer assigned to the tree the call results in an error in the debugger (
Condition ' !network_peer.is_valid() ' is true. returned: 0
) and a result offalse
. RPC methods tagged asmaster
won't be called neither but those withslave
will.I expected a SceneTree without an attached network peer to act like master so player scenes and alike can be reused in singleplayer modes.
Steps to reproduce:
_process
method withprint(is_network_master())
The text was updated successfully, but these errors were encountered: