0 votes

When two players join the game, whoever moves their character first will get the following error:

E 0:00:53.593   get_unique_id: The multiplayer instance isn't currently active.
<C++ Error>   Condition "!active" is true. Returned: 0
<C++ Source>  modules/enet/networked_multiplayer_enet.cpp:666 @ get_unique_id()
<Stack Trace> Player.gd:197 @ _physics_process()

The other player also seems to get the error after awhile. This only happens when their are two players connected, and it isn't triggered when both players are just standing there, one of them has to move.

Server source code: https://github.com/Scrapjack-Studios/slayer-server
Client source code: https://github.com/Scrapjack-Studios/slayer

in Engine by (26 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.