Skip to content

Local peer missing #146

Description

@ExplodingImplosion

Connecting to server gives me the error The peer is unknown (current local peer ID). If I set the controller's peer to 1, then every half a second, it says The local peer was not found. This is a bug. PeerID: (current local peer ID)

func _setup_synchronizer(local_id: int) -> void:
	GameSync.setup_controller(
		self,
		get_multiplayer_authority(),
		collect_inputs,
		count_input_size,
		are_inputs_different,
		controller_process
	)


E 0:00:11:0390   cube.gd:15 @ _setup_synchronizer(): The peer is unknown `866995536`.
  <C++ Error>    Condition "pd" is false. Returning: nullptr
  <C++ Source>   modules\network_synchronizer\scene_synchronizer.cpp:1547 @ NS::SceneSynchronizerBase::get_controller_for_peer()
  <Stack Trace>  cube.gd:15 @ _setup_synchronizer()
                 cube.gd:8 @ _ready()
                 3d.gd:88 @ spawn()



func _setup_synchronizer(local_id: int) -> void:
	GameSync.setup_controller(
		self,
		1,
		collect_inputs,
		count_input_size,
		are_inputs_different,
		controller_process
	)

E 0:00:06:0849   NS::SceneSynchronizerBase::rpc_notify_netstats: The local peer was not found. This is a bug. PeerID: 1088757787
  <C++ Error>    Condition "local_peer_data" is false. Returning: m_retval
  <C++ Source>   modules\network_synchronizer\scene_synchronizer.cpp:1178 @ NS::SceneSynchronizerBase::rpc_notify_netstats()

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions