Skip to content
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

Local peer missing #146

Open
ExplodingImplosion opened this issue Nov 1, 2024 · 0 comments
Open

Local peer missing #146

ExplodingImplosion opened this issue Nov 1, 2024 · 0 comments

Comments

@ExplodingImplosion
Copy link

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()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant