A deluge of RPC errors #60

Closed
opened 2021-09-08 02:25:40 +02:00 by unfa · 1 comment

When 2 or more players are connected, Godot complains about RPC authorities and permission every frame, slowing down everything immensly.

Typical errors:

E 0:01:46:0676   _process_rpc: RPC 'update_movement' is not allowed on node /root/Main/Players/1403110786 from: 1. Mode is 2, authority is 1403110786.
  <C++ Error>    Condition "!can_call" is true.
  <C++ Source>   core/io/multiplayer_api.cpp:369 @ _process_rpc()

And:

E 0:03:00:0170   _process_rpc: RPC 'update_movement' is not allowed on node /root/Main/Players/1 from: 1403110786. Mode is 2, authority is 1.
  <C++ Error>    Condition "!can_call" is true.
  <C++ Source>   core/io/multiplayer_api.cpp:369 @ _process_rpc()
When 2 or more players are connected, Godot complains about RPC authorities and permission every frame, slowing down everything immensly. Typical errors: ``` E 0:01:46:0676 _process_rpc: RPC 'update_movement' is not allowed on node /root/Main/Players/1403110786 from: 1. Mode is 2, authority is 1403110786. <C++ Error> Condition "!can_call" is true. <C++ Source> core/io/multiplayer_api.cpp:369 @ _process_rpc() ``` And: ``` E 0:03:00:0170 _process_rpc: RPC 'update_movement' is not allowed on node /root/Main/Players/1 from: 1403110786. Mode is 2, authority is 1. <C++ Error> Condition "!can_call" is true. <C++ Source> core/io/multiplayer_api.cpp:369 @ _process_rpc() ```
combustiblelemonade was assigned by unfa 2021-09-08 02:25:48 +02:00
Poster
Owner

Fixed! Local puppets of remote players were responding to player input via Input.is_action_pressed() and were sending rpc calls to their authorities (which thankfully were rejected, but here's what the errors were about).

It's fixed now! The errors are finally meaningful again, as there's so little of them :D

Fixed! Local puppets of remote players were responding to player input via Input.is_action_pressed() and were sending rpc calls to their authorities (which thankfully were rejected, but here's what the errors were about). It's fixed now! The errors are finally meaningful again, as there's so little of them :D
unfa closed this issue 2021-09-10 02:08:41 +02:00
This repo is archived. You cannot comment on issues.
No Milestone
No project
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: unfa/liblast#60
There is no content yet.